Format entire row ??

cjw1211

New Member
Joined
Apr 1, 2015
Messages
19
I need to conditionally format all font in an entire row across the whole spreedsheet. This is based off a single cell for each row that will contain several different possible entries.

the font should stay red when any data other than a date is entered and change to black when a date is entered. This is to indicate visually a complete (when date is entered) and pending when any other value is entered.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
format one cell correctly then use format painter along the lines of

=if(isdate(A1)=true format as black

second condition =if(isdate(A1)=false format as red
 
Upvote 0
If you want to format the entire row based on the contents in a single, static cell, you will probably need to use absolute cell referencing and lock the column in your Conditional Formatting formula down, i.e. use $A1 instead of A1 (if A was the column you were using).
 
Upvote 0
format one cell correctly then use format painter along the lines of

=if(isdate(A1)=true format as black

second condition =if(isdate(A1)=false format as red


sorry bit of a noob,

I was researching this a month or so back, and was able to find a way of conditionally formatting with only one condition. I cant remember where, but I was able to select my entire spreadsheet as what I wanted to apply the condition to and then with the parameters set, was able to have the single condition with one formula.

what is the reference for excel to check a cell for "date" instead of say a "word" or "number".
 
Upvote 0
If you highlight the whole range you want to apply the Conditional Formatting to, and then write the Conditional Formatting formula as it applies to just the first row in your range, Excel is smart enough to adjust the formula for all the other rows, as long as you have made proper use of the Absolute Range References, like I mentioned in my previous post (where you want to lock down the column, but not the row).

Note, there is no ISDATE function in Excel. In Excel, dates are actually stored as numbers, specifically the number of days since 1/1/1900. Dates are just numbers with date formats. So you can use the ISNUMBER function. If you want/need to differentiate dates and numbers, that gets a little trickier, as Excel formula just look at the underlying values in the cells and not their formats. You might need to use VBA if you need to differentiate the two.

Or, you may be able to enhance your Conditional Formatting formula to only look for dates in some specified date range.
 
Upvote 0
you are entering dates close to today's date so how about checking if the date is within +/- 3 months of today and if so turning the font black - all other cells can have a default font of red which will be forced black when the condition is met ?
 
Upvote 0
you are entering dates close to today's date so how about checking if the date is within +/- 3 months of today and if so turning the font black - all other cells can have a default font of red which will be forced black when the condition is met ?

yes default is red, date will range widely could be months before said task is completed, once completed a date is entered, then entire row needs to change to black font
 
Upvote 0
So is there still a question/issue?

oldbrewer and I have given you lots of information on how to do this. If you still need help, please explain exactly which part you are having trouble with. It may also be helpful if you could present an actual example with cell addresses and values, so we can craft a formula that meets your layout exactly.
 
Upvote 0
yeah so Im not sure how to apply the info you guys presented.....

however, I found that using this formula

highlight whole spread sheet

set format conditions for font to turn black

then apply this formula

=$G1="?"

and It yields the desired result of the entire row changing to black as long as there is a "?" in the cell column G. my issue is getting excel to look for a date or as you said a number with out it being specific. I just want excel to look in column G and if there is a date present change that row to black font.

as I stated, the above formula works perfect, so how do I reference the "date"
 
Upvote 0
As I said, in Excel dates really are numbers, so you are going to have to put some thought in to this.

Will you have some numeric non-date numbers in these columns you will be looking at (i.e. column G)?
If so, what do they look like?
What is the absolute smallest and largest numbers that they may be?

Likewise, for your dates in this column, can you tell us what the absolute smallest/largest values of these dates may be?

If there is not overlap between the possible number and date values, we should be able to do this. But if you want us to help you with that, you are going to have to provide those details I am asking for.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,742
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top