Dear Friends,
Please correct the formula in column ‘t’. I want to use ‘or’ function but unable to do so. This is a leave register. In column ‘d’ there is a opening balance of casual leave and in column ‘j’ compensatory leave. My condition is:
if column ‘b’ contains ‘crcl’ then column ‘t’ should contain ‘crcl’
if column ‘b’ contains ‘crcp’ then column ‘t’ should contain ‘crcp’
for casual leaves refer column ‘d’ opening balance
for compensatory leave refer column ‘j’ opening compensatory leave
Please don’t change the remark in column ‘t’ referring to column ‘d’ and ‘j’ respectively. only I want to join these two conditions together using ‘or’ function. If there is a entry of ‘cl’ then it should refer column ‘d’ and for compensatory leave it should refer column ‘j’.
My formula is:
=IF(B8="crcp","CRCP",IF(B8="crcl","CRCL",IF(R8<=0," ",(IF(D8-R8<0,"Sn - "&ROUND(D8,1)&" day(s) & "&ROUND(R8-D8,1)&" day(s) wp","Sn - "&ROUND(R8,1)&" day(s)"),(IF(J8-R8<0,"Sn - "&ROUND(J8,1)&" day(s) & "&ROUND(R8-J8,1)&" day(s) wp","Sn - "&ROUND(R8,1)&" day(s)"))))))
Thank you.
Mukesh
Bookmarks