Problem with Product Formula

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,341
Office Version
  1. 365
Platform
  1. Windows
Here is my data
IndexEscBaseYearEscToYear20172018201920202021
1201820211.05573741.06782851.001.001.0361346
2201920211.0193071.02360191.030661.01685991.1077434

This formula keeps returning the value 1.00

=PRODUCT(IF((UD_Overrides[#Headers]>=[EscBaseYear])*(UD_Overrides[#Headers]<=[EscToYear]),INDEX(UD_Overrides[#Data],MATCH([Index],UD_Overrides[#Data],0),),1))

Thanks.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
=IF([@EscBaseYear]=[@EscToYear],1,(IFNA((PRODUCT(INDEX(UD_Overrides[#Data],MATCH([@Index],[Index],0),MATCH(IF([@EscBaseYear]<2016,2016,([@EscBaseYear]+1))&"",UD_Overrides[#Headers],0)):INDEX(UD_Overrides[#Data],MATCH([@Index],[Index],0),MATCH([@EscToYear]&"",UD_Overrides[#Headers],0)))),"")))

Solved. Thanks.
 
Upvote 0
Solution
Ok...
I was working on a formula. And it seems I get different results than your solution. But if the results are OK for you then I can delete my work.
 
Upvote 0
Ok...
I was working on a formula. And it seems I get different results than your solution. But if the results are OK for you then I can delete my work.
Appreciate your time and effort, my results appear to be working for me. Thank you!
 
Upvote 0

Forum statistics

Threads
1,215,357
Messages
6,124,483
Members
449,165
Latest member
ChipDude83

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