C cowgirl New Member Feb 7, 2023 #1 =IF(OR(L14="FR",L14="NR"),SUM(H14:J14)/2,SUM(H14:J14)) can someone help this formula was working great and I went to use it today and it just quit not sure why, I am working in excel 2016 Thank you Darla Attachments Book2.xlsx Book2.xlsx 17.5 KB · Views: 1
=IF(OR(L14="FR",L14="NR"),SUM(H14:J14)/2,SUM(H14:J14)) can someone help this formula was working great and I went to use it today and it just quit not sure why, I am working in excel 2016 Thank you Darla
J joeu2004 Member Feb 7, 2023 #2 The value in L14 is "NR " (with a space), not "NR" (without a space).
C cowgirl New Member Feb 7, 2023 #3 I PUT A SPACE IN IT BUT IT IS STILL NOT DIV IT BY 2 Moderator note: Avoid shouting - You should write without CapsLock. Last edited by a moderator: Feb 7, 2023
I PUT A SPACE IN IT BUT IT IS STILL NOT DIV IT BY 2 Moderator note: Avoid shouting - You should write without CapsLock.
J joeu2004 Member Feb 7, 2023 #4 I don't know where you "put a space in". You need to attach a file each time you make a change that does not work. But the real point is: you should __remove__ the space after "NR" in cell L14. When I do that in your original file, your formula in K14 works as intended. So, IMHO, the long-term problem to solve is: why does L14 have a space after "NR", and how to avoid it.
I don't know where you "put a space in". You need to attach a file each time you make a change that does not work. But the real point is: you should __remove__ the space after "NR" in cell L14. When I do that in your original file, your formula in K14 works as intended. So, IMHO, the long-term problem to solve is: why does L14 have a space after "NR", and how to avoid it.
pecoflyer Well-Known Member Feb 7, 2023 #5 cowgirl said: I PUT A SPACE IN IT BUT IT IS STILL NOT DIV IT BY 2 Click to expand... Why are you shouting at us?
cowgirl said: I PUT A SPACE IN IT BUT IT IS STILL NOT DIV IT BY 2 Click to expand... Why are you shouting at us?