MATCH #N/A Error

jgedwardsv

New Member
Joined
Oct 27, 2016
Messages
31
Hi all,

I've been trying to do a two dimensional lookup in excel and am having trouble with the match formula.

I have two columns in the main table, one which will be the row lookup in another table and the other that is the headers of the same table. The first one is a percentage rounded to two decimal points. The second (where the match function is supposed to be looking up) is a whole number. There are exact matches for the whole number in the headers of the table, yet match still returns #N/A error (I've looked in the calculation steps and it does return #N/A).

The numbers I am looking up are 2000, 2005, 2010, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050, 2055, 2060, 2065. Those are the only numbers that would be returned in the column and they are the only numbers in the header as well. I can attached the workbook sample if it helps.

I have checked the data types as well - the data types are all formatted as numbers and all have 0 decimal places shown. I have tried the -1, 0, and 1 arguments for match and the result is still the same. Am I missing something here?

John

edit: The full formula I am using is =VLOOKUP([@ReplaceBlended],TDFEq,MATCH([@TDFSeries],TDFEq[#Headers],0),TRUE) where [@ReplaceBlended] is one column for the percentage, TDFEq is the table I am referencing, [@TDFSeries] is the second column, TDFEq[#Headers] are the headers for the other table.

In that table, the first column is formatted as a number as well, however, the contents are text. Would that make a difference?
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
From what I can see the error appears to be because the years in TDFconstants in A6 to O6 are numbers shown as text rather than actual numbers
 
Upvote 0
There seems to be some sort of format protection. If you edit one of the cells and multiply by 1 it says 0. Even formatting as number in the usual way doesn't work
 
Upvote 0
I tried a couple of methods to get the numbers to be numbers and despite these attempts it still doesn't work. Would I be better off remaking the table and starting from scratch?
 
Upvote 0
Maybe wait for other answers first as someone will probably have a solution and I may even be on wrong track
 
Upvote 0
Sounds good to me.

I'll wait patiently. The rest of the analysis I want to create is dependant upon being able to get something into that column. The next step would be to average out all the results based on the group they fall into and then compare to the equity allocation for the target date fund series in another table.
 
Upvote 0
Agreed that it's a numbers/text mismatch. However, you might be able to use this instead:

Code:
=VLOOKUP([@ReplaceBlended],TDFEq,MATCH(TEXT([@TDFSeries],"@"),TDFEq[#Headers],0),TRUE)

WBD
 
Upvote 0

Forum statistics

Threads
1,214,661
Messages
6,120,796
Members
448,994
Latest member
rohitsomani

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