Solved

I need a conditional formatting formula

Posted on 2014-03-26
4
232 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now