Named ranges and dashboard

pholt33

Board Regular
Joined
Jan 4, 2005
Messages
202
Office Version
  1. 365
Platform
  1. Windows
I am trying to create a dashboard and have set up a bunch of named ranges for the sources, eventually to add some dropdowns with each person's name (Bob, Dave, Maria....). Each person's data has its own column.

I know that I can reference the named range directly, such as =BobsData , but how can I have a dynamic formula that references the dropdown cell and some text. I tried =A1&"Data" which resulted in BobsData in the cell and =INDIRECT(A1&"Data") but that gave #REF. I also tried adding including the sheet name but that also errored.

The data itself is relatively small, month-end values for the past year, so only 12 data points for each named range.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Please try this

Book2
BCDEFGH
1BobNancySharonBradBrad
211025100100
321126102102
431227104104
541328106106
Sheet3
Cell Formulas
RangeFormula
H2:H5H2=INDEX(B2:E5,,MATCH(G1,B1:E1,0))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
G1List=$B$1:$E$1
 
Upvote 0
Now that you have the column of numbers you can Sum or Filter or Count any part of it.
 
Upvote 0
Please try this

Book2
BCDEFGH
1BobNancySharonBradBrad
211025100100
321126102102
431227104104
541328106106
Sheet3
Cell Formulas
RangeFormula
H2:H5H2=INDEX(B2:E5,,MATCH(G1,B1:E1,0))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
G1List=$B$1:$E$1
That works to the extent that every header is unique, which is not always the case. That's why I was hoping to use the named ranges. Is that possible?
 
Upvote 0
You can still use named ranges

Book45a 20240313.xlsm
BCDEFGHIJKL
1BobNancySharonBradSharonOutputNRTable
21102510025BobBobData
32112610226NancyNancyData
43122710427SharonSharonData
54132810628BradBradData
Sheet3
Cell Formulas
RangeFormula
H2:H5H2=INDIRECT(VLOOKUP(G1,NRTable,2,FALSE))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
NRTable=Sheet3!$K$2:$L$5H2
Cells with Data Validation
CellAllowCriteria
G1List=$B$1:$E$1
 
Upvote 0
My last post doesn't show that I created named ranges for each of the people in columns B through E
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

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