Improve company productivity with a Business Account.Sign Up

x
?
Solved

I need a conditional formatting formula

Posted on 2014-03-26
4
Medium Priority
?
252 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes a serious pitfall that can happen when deleting shapes using VBA.
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…

580 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