Hello all,
I have a worksheet that compares volume of product sold year to year by day. It calculates a a delta between the two amounts. I have two formulas to be used depending on whethere or not there is a leading zero in the comparison set.
#1 ) =IF(OR(B183=0,C183=0),1,(C183-B183)/B183) -- used if there is a zero (0) in column B
#2 ) =IF(AND(B182=0,(C182=0)),1,(C182-B182)/B182) -- used if there is a positive integer in column B
My question: is there a way to combine both formulas into one cohesive formula so that I don't have to physically change the formula based on column B?
Thank you
Joseph Carney, CM
Operations Specialist
I have a worksheet that compares volume of product sold year to year by day. It calculates a a delta between the two amounts. I have two formulas to be used depending on whethere or not there is a leading zero in the comparison set.
#1 ) =IF(OR(B183=0,C183=0),1,(C183-B183)/B183) -- used if there is a zero (0) in column B
#2 ) =IF(AND(B182=0,(C182=0)),1,(C182-B182)/B182) -- used if there is a positive integer in column B
My question: is there a way to combine both formulas into one cohesive formula so that I don't have to physically change the formula based on column B?
Thank you
Joseph Carney, CM
Operations Specialist