dynamic chart

billhealth

New Member
Joined
Nov 10, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have an excel spreadsheet listing the values of crypto coins by date.
1/25 1/26 1/28 2/1
BTC 1600 1726 1659 1640
ETH 804 809 1240 936
CRO .21 .24 .22 .24

(NOT REAL DATA)

There are 65 coins i have been tracking for over a year. I have inserted charts to show the ranges.
However, 65 charts are quite messy! I would like to select the cell marked BTC or other coin and have one chart which will change based on the label in the cell.

I tried to use VBA but have been completely unsuccessful. If you have any suggestions, it would be very helpful. Thanks, BH
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi Bill,

Maybe you could use this, I recommend converting your data to a table so we can make the index match formulas expand with your data dynamically.

When inserting your chart make sure to highlight the chart output range more columns than needed, and drag out the index match formula the same.

The dates will automatically spill as you add more dates to the data table.

Book2
ABCDE
125/01/202126/01/202128/01/20211/02/2021
2BTC1,6001,7261,6591,640
3ETH8048091,240936
4CRO0.210.240.220.24
5
6
725/01/202126/01/202128/01/20211/02/2021
8BTC1,6001,7261,6591,640
9
Sheet1
Cell Formulas
RangeFormula
B7:E7B7=OFFSET($B$1,,,1,COUNT(1:1))
B8:E8B8=IFNA(INDEX($B$2:$E$4,MATCH($A8,$A$2:$A$4,0),MATCH(B$7,$B$1:$E$1,0)),"")
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A8List=$A$2:$A$4
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,857
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top