INDEX, MATCH Formula for Latest Value Problem

applefritter

New Member
Joined
Sep 2, 2016
Messages
6
Hi,
I have a formula I've used before in another workbook thats not working now in a new workbook I've created.

I need to populate a cell (B4) on sheet (Cleanings) based on lastest value in column Y from sheet (RawData):
=INDEX(RawData!$Y:$Y,MATCH(9.99999999999999+307,RawData!$Y:$Y))

Column Y cells are calculated cells based on data from cells in columns B, T and X on the (RawData) sheet. These calculations run all the way down to row 500. I also have conditional formatting that will grey out the cell in column Y if cells in columns B, T or X are empty. Currently I have data down thru row 66 so rows 67-500 are greyed out. My issue is the following:

Cell B4 (Cleanings) is populated with data from cell Y48 instead of Y66. If I delete row 48 (RawData), then B4 displays data from Y37 (RawData). If I delete row 37 then it displays Y36 (RawData). I can't make any sense of what it is doing since all cells are popululated with data thru row 66. Any idea?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi
Welcome to the board

Did you check that all the data are number values?

For ex., for Y49, write in another cell

=ISNUMBER(Y49)

Does it result in TRUE?
 
Upvote 0
What happens if you change your formula to:
Code:
=INDEX(RawData!$Y:$Y,MATCH([COLOR=#FF0000]9.99999999999999E[/COLOR]+307,RawData!$Y:$Y))
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,844
Members
449,471
Latest member
lachbee

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