chariot101
New Member
- Joined
- May 30, 2024
- Messages
- 2
- Office Version
- Prefer Not To Say
- Platform
- MacOS
I've got a formula that needs to do a calculation that when column B has a certain value, then the value in column F needs to minus the previous value in column F. The problem is the previous value in column F isn't always on the previous row as if column B has a certain value then it's blank. I'm not sure on the best way to do this. At the moment I have:
=IF(NOT(B5="Get on"),F5-F4,"")
I think the easiest thing to do would be to add another IF statement to say IF B5 = Get on then F5 should equal F4 so it puts the previous value in F4 so the above calculation should be correct, but I can't get my head around how to do this. Or maybe there's a better solution?
=IF(NOT(B5="Get on"),F5-F4,"")
I think the easiest thing to do would be to add another IF statement to say IF B5 = Get on then F5 should equal F4 so it puts the previous value in F4 so the above calculation should be correct, but I can't get my head around how to do this. Or maybe there's a better solution?