index match nested if

GordonLS

Board Regular
Joined
May 28, 2021
Messages
89
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Good morning, I am asking someone to try and explain the following index-match formula:

=IFNA(IF(DV$3="Varies by Store",(INDEX($Z51:$CD51,MATCH(DV$4,$Z$5:$CD$5,0)))*(INDEX($A51:$R51,MATCH(DV$2,$A$5:$R$5,0))),(IF(DV$3="50% Coverage",ROUNDUP(((INDEX($Z51:$CD51,MATCH(DV$4,$Z$5:$CD$5,0)))*(INDEX($A51:$R51,MATCH(DV$2,$A$5:$R$5,0)))*0.5),0),(DV$3*((INDEX($A51:$R51,MATCH(DV$2,$A$5:$R$5,0)))))))),"").


I cant upload the file but if you can elaborate as to the nested if "=IFNA(IF" and the * between )*( and the 2nd and 3rd IF.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
IFNA returns (blank) if the nested if fails. The index match is a two dimension match. Looks like DV$3 can be three options (hence two IF statements) 'varies by store', '50% coverage', or a number that multiplies the result of the two dimension match.
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

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