Hi All,
i was thinking if i can use "if+sign" to return positive and negative value at column N?
thanks for the advice
i was thinking if i can use "if+sign" to return positive and negative value at column N?
thanks for the advice
hotel stroller demo 1.1.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | |||
53 | opening quantity | rental quantity | net balance | return quantity | closing quantity | variance | |||
54 | 10 | 1 | 9 | 1 | 10 | 0 | |||
55 | 10 | 2 | 8 | 1 | 9 | -1 | |||
56 | 9 | 3 | 6 | 5 | 11 | -1 | |||
DLH |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H55:H56 | H55 | =IF(P54="","",IF(P54="no",L54,IF(OR(O54="/"),10,IF(AND(P54="yes",O54="park to hotel"),(L54-N54),IF(AND(P54="yes",O54="return to park"),(L54+N54)))))) |
J54 | J54 | =H54-I54 |
J55:J56 | J55 | =IFERROR(H55-I55,"") |
L54 | L54 | =H54-I54+K54 |
L55:L56 | L55 | =IFERROR(H55-I55+K55,"") |
N54:N56 | N54 | =IF(L54=10,0,IF(L54>10,(10-(L54)),((L54)-10))) |