Help with Match Formula

troy_lee

Board Regular
Joined
Feb 6, 2008
Messages
169
This is the formula in cell B4 on a sheet named Switchboard.

Code:
=Dates!A&(MATCH(B3,Dates!$B$3:$B$60,1)+2)

I am getting a #Name? failure in cell B4. When I isolate the Match formula, it works fine.

I am trying to pull the value of cell A19 on the Dates worksheet. I want this value to appear in cell B4 on the Switchboard worksheet. The match function is to determine what row on the Dates worksheet the value should be returned from. Adding 2 to the match function compensates for the relative offset of the function.

Thanks in advance.

TL
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,203
Looks like...

Either:

=INDEX(Dates!$A$3:$A$60,MATCH(B3,Dates!$B$3:$B$60,1))

Or:

=INDEX(Dates!$A$3:$A$60,MATCH(B3,Dates!$B$3:$B$60,0))

If none above, care to elaborate?
 

troy_lee

Board Regular
Joined
Feb 6, 2008
Messages
169
Yes. Thank you so much. This is huge, a veritable breakthrough. This board rocks!!!
 

Watch MrExcel Video

Forum statistics

Threads
1,129,804
Messages
5,638,450
Members
417,025
Latest member
MusterDuster

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
Top