Index Match - Random Blank in Calculated Column

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Afternoon all,

I have an Index Match Formula which works perfect, except for one radnom result in the middle of a calculated colum in the table.

The formula is as follows:

=IFERROR(INDEX(Sheet2!$A$1:$AX$50,MATCH([@[Age(at anticipated end date)]],Sheet2!$A$1:$A$50,0),MATCH([@[Full years of service]],Sheet2!$A$1:$AX$1,0)),"")

For one cell, this returns blank instead of the excepted result of "27" Evaluating the formula shows its not able to find teh second match in the data, but I have checked formatting etc and cant make it work. It may be that this is the farthest column along. But I just cannot figure out this simple error.

Any suggestions?
 
That suggests that some of your numbers are not whole numbers.
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
They are though ?

This is the formula to rounddown:
=ROUNDDOWN(SUM([@[End Date (Anticipated)]]-[@[Start Date]])/365,0) and iot gives (in this instance the answer of a whole number of "21". On the tab where the Index Match looks at, the number was typed, not copied in - as 21. Its just refusing to understand unless its "approx"
 
Upvote 0
What happens if you use
Excel Formula:
=INT(([@[End Date (Anticipated)]]-[@[Start Date]])/365)
 
Upvote 0
Exactly the same Fluff. Calculates "21" as the value. Then the Index/Match gives #Value error in the cell
 
Upvote 0
If you are getting a #value error it's not a problem with the match function as that would give #N/A if the value couldn't be found.
Check that your lookup table doesn't have any errors in it.
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,372
Members
448,888
Latest member
Arle8907

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