I'm trying to create a dynamic formula, where if the value of a cell is within a range, it will multiply by a certain value from another cell, and then check the next cell and if matching a value multiply is by the value of another cell.
I have a base value on cell R2 which should be multiplied by a certain number based on the value of cells on column I and then multiplied by a certain number based on the values of column J.
I came up with the following:
=R2*ifs($I$2:I386,"<=0.85",$I$2:I386,">0.5")*R4,ifs($I$2:I386,"<=0.9",$I$2:I386,">0.85")*R5,ifs($I$2:I386,"<=0.95",$I$2:I386,">0.9")*R6,ifs($I$2:I386,"<=1",$I$2:I386,">0.95")*R7,ifs($I$2:I386,"<=1.05",$I$2:I386,">1")*R8,ifs($I$2:I386,"<=1.1",$I$2:I386,">1.05")*R9,ifs($I$2:I386,"<=1.15",$I$2:I386,">1.1")*R10,ifs($I$2:I386,"<=1.20",$I$2:I386,">1.15")*R11,ifs($I$2:I386,"<=1.25",$I$2:I386,">1.20")*R12*ifs($J$2:J386,"1")*R14,ifs($J$2:J386,"2")*R15,ifs($J$2:J386,"3")*R16,ifs($J$2:J386,"4")*R17,ifs($J$2:J386,"5")*R18,ifs($J$2:J386,"N/A")*R19
However, I still get an error, and got stuck. Not sure how to change it.
IFS($I$2:I386,"<=0.85",$I$2:I386,">0.5")in your formula ? - p._phidot_