Modify this Match formula so that it no longer is searching down the column for a match.

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,342
Office Version
  1. 365
Platform
  1. Windows
This formula is calculating a compounded escalation factor.

EscalationIDEscalationBaseDateEscalationEndDate2023202420252026202720282029
PPI334418
20232026
100.00000%​
105.36688%​
102.06721%​
100.86174%​
100.39575%​
100.21249%​
100.26121%​
PPI25987
20242027
100.00000%​
105.36688%​
101.02425%​
100.86174%​
100.39575%​
100.21249%​
100.26121%​
PPI53477
20232025
100.00000%​
105.36688%​
102.06721%​
100.86174%​
100.39575%​
100.21249%​
100.26121%​
PPI334418
20232025
100.00000%​
108.23754%​
102.06721%​
100.86174%​
100.39575%​
100.26121%​
100.26121%​

=IF([@EscalationBaseDate]=[@EscalationEndDate],1,(IFNA((PRODUCT(INDEX(Create_Esc_Mod_Table[#Data],MATCH([@EscalationID],[EscalationID],0),MATCH(IF([@EscalationBaseDate]<2016,2016,([@EscalationBaseDate]+1))&"",Create_Esc_Mod_Table[#Headers],0)):INDEX(Create_Esc_Mod_Table[#Data],MATCH([@EscalationID],[EscalationID],0),MATCH([@EscalationEndDate]&"",Create_Esc_Mod_Table[#Headers],0)))),"")))

I dont want it to look for a match down the [EscalationID] column because in this new table, that I am trying to adopt this formula for, the [EscalationID] may have different yearly rates.

Is there a way to change this so that its just calculating based on the dates and the matching header data?

Thanks for the help!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,930
Messages
6,127,752
Members
449,402
Latest member
jvivo3

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