EXCEL MATCH() function referencing ACCESS table

abeandip

New Member
Joined
Sep 15, 2011
Messages
7
I have having a problem with a two dimensional lookup function. The first part works fine but when I use the match function to find the column number I get a #N/A error. Below is the funtion that I used:

=VLOOKUP(($C$28),Table_HRMS_glossary_price_list.accdb,MATCH(W18,Table_HRMS_glossary_price_list.accdb[#Headers],0))

NOTE: Both C28 and W18 are in the "Number" format

Thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
The header cells look like this:

cc# | flute | gloss1 | gloss2 | gloss4 | gloss5 | 1500 | 3000 | 10000 | 25000 | 50000 | 75000



[cc#, flute, gloss{1-5}] = "Text" format
[1500 through 75000] = "Number" format with no decimal places or commas
 
Upvote 0
Formatting only affects the appearance not the underlying value. What does the ISNUMBER function return when applied to the cell that contains 1500?
 
Upvote 0
Try:

=VLOOKUP(($C$28),Table_HRMS_glossary_price_list.accdb,MATCH(W18&"",Table_HRMS_glossary_price_list.accdb[#Headers],0))
 
Upvote 0

Forum statistics

Threads
1,224,579
Messages
6,179,656
Members
452,934
Latest member
mm1t1

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