Need help with a formula or a macro

dimka

New Member
Joined
May 24, 2004
Messages
45
I need a formula or a macro the would give me the fallowing results

i have a column with dates, what i need is , if at any month the date is greater then the 15th highlighte the entire row.


Thank you for your help
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Why not use conditional formatting?

Select the entire range.

Goto Format>Conditional formatting, select Formula is and enter something like this

=DAY($A1)>15

Then format as required.

Change A to reflect the column with the date and you might have to change the 1 to deal with headers or if the data starts on a different row.
 
Upvote 0
create a conditional format
highlight a rows you need and select format - conditional format
change to formula is and put in this formula
=DAY($F1)>14

adjust F1 to cell where you have the date. Then put in a format for true condition.
 
Upvote 0
thats good, but i need entire row to be highlighted and its a column of dates not just one date
 
Upvote 0
Yes, just follow Norrie's instructions and it will work just like you want.

-farnuckl
 
Upvote 0
Well like I said select the entire range/row.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,257
Members
448,952
Latest member
kjurney

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