Name Manager and Cell Range

bullcreel

Board Regular
Joined
Aug 25, 2016
Messages
148
I have this formula...=vlookup(datevalue($A$4),ATL,2,0) which works great
The name manager "ATL" is in its own tab. I want to have numerous tabs that are named: CHC, BOS, etc.
What I am trying to do is build a MLB schedule. I want the Name Manager to be added to the formula from one cell.
Lets say cell A5 formula is =A2, which in this example brings up Atl.
However when add the cell reference to the formula, it does not work. Here is the formula...=vlookup(datevalue($A$4,),A2,2,0)
I would have thought that having a cell reference the name manager, it would come up.

What am i missing.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
That formula cannever work with a single celled lookup range as you are asking it for the 2nd column of that range where the lookup value is found. It doesnt have one. ATL must refer to a range that has at least two columns.
 
Upvote 0
Atl refers to a range that has 10 columns. I thought i could just add the cell Reference "A2" which has Atl in it. That way if cell A2 changes, it will refer to another tab like CHC for example
 
Upvote 0
Tried =vlookup(datevalue($A$4),indicrect(a2),2,0)
Didnt work
Also I jut want to thank you for answering so quickly
 
Upvote 0
You need to help me a bit here as i cant see the workbook. What does it do?
 
Upvote 0
I got it working. Somehow the cell references for my ATL name manager got changed. When I fixed it and then put in indirect, it started working...Thank You vrey much
 
Upvote 0

Forum statistics

Threads
1,214,552
Messages
6,120,172
Members
448,948
Latest member
spamiki

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