I have a need to write a formula the if a cell equals a specific range of values and another cell, via vlookup on another sheet equals a specific value, then make the active cell a ZERO, other wise complete a calculation.
For instance I need a composite of this
=IF((K248=####) "Where the #### is equal to a range of 9001-9005"
and
=VLOOKUP(M248,ACQ_COST,3,FALSE) is equal to ACCESSORY
then
,"0",((P248-Q248)*O248))
I can seem to get the individual pieces of the thing together, exception of the 9001-9005 range but not all as one statement.
For instance I need a composite of this
=IF((K248=####) "Where the #### is equal to a range of 9001-9005"
and
=VLOOKUP(M248,ACQ_COST,3,FALSE) is equal to ACCESSORY
then
,"0",((P248-Q248)*O248))
I can seem to get the individual pieces of the thing together, exception of the 9001-9005 range but not all as one statement.