Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel 2007 - Conditional Formatting of a Row based on a Date and a Text Field

Posted on 2013-11-03
2
Medium Priority
?
279 Views
Last Modified: 2013-11-07
I have a list of invoices with the usual Invoice Number, Invoice Date, Client Name, etc. columns.

I want to change the colour to Red if the value in the Invoice Date column is over 45 days AND if the value in the Paid column is "No".

I was able to figure out how to apply the format change to the Invoice Date column if over 45 days but was unable to add the condition based on the Paid column. And extending it over the whole row? Couldn't figure that out yet...

Anyone able to help me out?

Thanks very much,

John
0
Comment
Question by:243johnm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 39620444
Hello John,

Lets assume your data is in A2:E100 with Invoice date in column B and and "Paid" column is E

Select that whole range A2:E100 and apply the formula that applies for the first row of data in conditional formatting, i.e. using the "use a formula to determine which cells to format" option

=AND(TODAY()-$B2>45,$E2="No")

That will automatically format the whole row and apply to the range you selected

You need to use the $ signs exactly as I did, see example attached

regards, barry
cf-45days.xlsx
0
 
LVL 1

Author Closing Comment

by:243johnm
ID: 39630773
Thanks barryhoudini, worked like a charm ... once I figured out how to apply it properly! Certainly isn't intuitive. And Excel formula language? Don't get me started, much prefer the formula language in Crystal Reports!

Thanks again,

John
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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.

636 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