IF Function doubt

Iron Contributor

Dear Experts,

                      I have a data like below(attached sheet as well):-

Column "B" so(Segment Offset) is calculated as the sum of Column "F" and "G" only when Column "A"

is either MID or LAST, I tried to do the below formula in H2, but got #VALUE error, what wrong am I doing here? Could you please share..

anupambit1797_0-1724258015535.png

Thanks in Advance,

Br,

Anupam

 

1 Reply

 

=IF(OR(A2="MID",A2="LAST"),F2+G2,"")

@anupambit1797