Modify_inc
Board Regular
- Joined
- Feb 26, 2009
- Messages
- 77
- Office Version
- 2016
- Platform
- Windows
I have the worst luck when trying to remember how to type formulas for Conditional Formatting. They have subtle differences from the same functions used elsewhere in Excel.
I'm trying to do a simple conditional formatting for a cell that has a number in it. The number is manually typed in, it is not a calculation. But I would like to verify that the correct value was entered. To do that, I just need to subtract the two left adjacent cells from each other. If the value equals the cell with the typed number, then apply the formatted condition. Seems simple enough with an If Statement, but I can't figure out the correct syntax it needs.
Obviously, this doesn't work, but I'm sure you can get the gist of what I'm trying to do
=If(K11 - J11 = L11, Format, Don't Format)
I'm trying to do a simple conditional formatting for a cell that has a number in it. The number is manually typed in, it is not a calculation. But I would like to verify that the correct value was entered. To do that, I just need to subtract the two left adjacent cells from each other. If the value equals the cell with the typed number, then apply the formatted condition. Seems simple enough with an If Statement, but I can't figure out the correct syntax it needs.
Obviously, this doesn't work, but I'm sure you can get the gist of what I'm trying to do
=If(K11 - J11 = L11, Format, Don't Format)