Solved

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

Posted on 2013-11-03
2
273 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
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

813 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

10 Experts available now in Live!

Get 1:1 Help Now