Posting on behalf of a coworker who is trying to automate some price/margin checks. It's in a Google Sheet but as far as I know this should also work in Excel.
The current formula we have in place that is working checks whether there is a "-" in column O which means there's a specific set of calculations to do, and if there's no "-" it will execute the latter part of the formula.
It needs to be expanded to this:
It's basically the same formula with bith more extensive price calculation tiers. For some reason this new expanded formula doesn't work, it give either 'error' or 'false' depending on the mood of the sheet. Can anyone see what is going wrong here?
The current formula we have in place that is working checks whether there is a "-" in column O which means there's a specific set of calculations to do, and if there's no "-" it will execute the latter part of the formula.
Excel Formula:
=ARRAYFORMULA(if(A2:A="","",if(O2:O<>"-",if(E2:E>300,F2:F*1.13,F2:F*1.115+2),if(E2:E>300,F2:F*1.082,F2:F*1.115+2))))
It needs to be expanded to this:
Excel Formula:
=ARRAYFORMULA(if(A2:A="","",if(O2:O<>"-",if(E2:E>300,F2:F*1.12,if(E2:E<300,F2:F*1.13,if(E2:E<140,F2:F*1.12+2.5,if(E2:E<110,F2:F*1.125+3,if(E2:E<70,F2:F*1.13+2.5,if(E2:E<40,F2:F*1.13+2.5,if(F2:F*1.13+2),if(E2:E>300,F2:F*1.082,F2:F*1.115+2))))))))
It's basically the same formula with bith more extensive price calculation tiers. For some reason this new expanded formula doesn't work, it give either 'error' or 'false' depending on the mood of the sheet. Can anyone see what is going wrong here?