?
Solved

I need a conditional formatting formula

Posted on 2014-03-26
4
Medium Priority
?
251 Views
Last Modified: 2014-03-26
I am trying to compare dates between two diff workbooks, workbooks New & Old.

I want a conditional formatting formula to look at the Old Sheet in A1 and compare it in the new sheet A1. If its the same date, nothing. If its a different date, then it turns red.

I am not limiting myself to the conditional formatting formula. If anyone else has ideas, feel free to post them.

I thought about linking to the old sheet on the new sheet, like AA1 and buld a formula there to return True / False comparing the two cell values. Then base my conditional formatting on that.
0
Comment
Question by:wrt1mea
  • 2
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
rfportilla earned 2000 total points
ID: 39957121
Conditional formatting won't work.  Could do it with a macro, but unless this is something you are going to do often, it's not worth the time in writing and debugging.

The easiest solution would probably be to employ another sheet.  I'm assuming that you copied over the old sheet into the new sheet so that they are both available in the same workbook.  Create another sheet.  Create a formula in a1 of the new sheet that looks something like "=if(sheet1!a1=sheet2!a1,"","False").  Then drag/copy the formula to all relevant cells (cells that would be used in the other sheets).
0
 
LVL 1

Author Comment

by:wrt1mea
ID: 39957138
Yeah, as I started going through it, I realized CF was out the way i as trying to do it. I am using the new one and referencing the old one...

I need a couple of checks in the IF statement...trying to think out loud...
0
 
LVL 1

Author Closing Comment

by:wrt1mea
ID: 39957247
Thanks for the help.
0
 
LVL 9

Expert Comment

by:rfportilla
ID: 39957676
Anytime.  :-)
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question