INDEX and MATCH is one row off

matthewlouis

Active Member
Joined
Mar 28, 2014
Messages
374
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am doing INDEX and MATCH to find a date in a source table that matches and returns a percentage in the table I'm using.

The table where I am doing the INDEX and MATCH has 48.20%. So I'm indexing the date that matches that 48.20% in the source table (see below) and it says 3/7/2019. I know that is the correct date -- HOWEVER -- the return date is one day off . . . it returns 3/8/2019 which is 43.90 in the table below -- that isn't right.

Here is the formula:
IF(C7="Suspect Sideways",INDEX('Daily MTTFs'!$Q$2:$Q$101,MATCH(F7,'Daily MTTFs'!$P$2:$P$101,1)) where Column Q is the DATE and Column P is the percentage.

Here is the Source Table ('Daily MTTFs'):


<tbody>
[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]1.00[/TD]
[TD="class: xl82, width: 80"]27.80[/TD]
[TD="class: xl84, width: 80, align: right"]27.80%[/TD]
[TD="class: xl83, width: 95"]3/13/2019[/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]2.00[/TD]
[TD="class: xl82, width: 80"]34.00[/TD]
[TD="class: xl84, align: right"]34.00%[/TD]
[TD="class: xl83"]3/12/2019[/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]3.00[/TD]
[TD="class: xl82, width: 80"]39.10[/TD]
[TD="class: xl84, align: right"]39.10%[/TD]
[TD="class: xl83"]3/11/2019[/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]4.00[/TD]
[TD="class: xl82, width: 80"]43.90[/TD]
[TD="class: xl84, align: right"]43.90%[/TD]
[TD="class: xl83"]3/8/2019[/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]5.00[/TD]
[TD="class: xl82, width: 80"]48.20[/TD]
[TD="class: xl84, align: right"]48.20%[/TD]
[TD="class: xl83"]3/7/2019 [/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]6.00[/TD]
[TD="class: xl82, width: 80"]52.30[/TD]
[TD="class: xl84, align: right"]52.30%[/TD]
[TD="class: xl83"]3/6/2019[/TD]

[TD="class: xl85"]Suspect Sideways[/TD]
[TD="class: xl82, width: 62"]7.00[/TD]
[TD="class: xl82, width: 80"]56.40[/TD]
[TD="class: xl84, align: right"]56.40%[/TD]
[TD="class: xl83"]3/5/2019[/TD]

</tbody>

Can anyone help me see why I am off one row?

Thanks in advance!!
 
Last edited:

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I suspect the value in the table is not exactly 48.20%. Maybe something like 48.20000001%

See if this array formula works
=IF(C7="Suspect Sideways",INDEX('Daily MTTFs'!$Q$2:$Q$101,MATCH(ROUND(F7,2),ROUND('Daily MTTFs'!$P$2:$P$101,2),1))
confirmed with Ctrl+Shift+Enter, not just Enter

M.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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