I have this formula to compare a portion of a cell's contents to the cell above it. If it is true then I want the formatting to turn a color. I checked this formula in the worksheet and it does produce the correct answer. But when I put it in conditional formatting I get two things happening:
1. It does not use the cell reference correctly as I paste the formatting down
2. It does not color the cell if the formula is TRUE
Can anyone explain this to me?
=IF(TRIM(LEFT(D9,LEN(D9)-4))=TRIM(LEFT(D10,LEN(D10)-4)),D9,D9)
1. It does not use the cell reference correctly as I paste the formatting down
2. It does not color the cell if the formula is TRUE
Can anyone explain this to me?
=IF(TRIM(LEFT(D9,LEN(D9)-4))=TRIM(LEFT(D10,LEN(D10)-4)),D9,D9)