Solved

I need a conditional formatting formula

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

11 Experts available now in Live!

Get 1:1 Help Now