Conditional Formatting

UFGATORS

Board Regular
Joined
Nov 28, 2008
Messages
136
Office Version
  1. 365
Need a little help, I have a spreadsheet where on line 2 are the dates of the month L2:AP2, I have the following formula for highlighting the weekend dates "=weekday(L2:AP2,2)>5" this works fine. However, I also want the cells below the weekend dates to be highlighted. I highlighted row 3 and entered the same formula as on line 2, it also worked but, when I tried to drag the formula down for the other rows all the cells highlighted. If I enter the formula for each line it works but I have 799 lines so this is not practical. Thanks in advance.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Duh, why did I not catch this? Thanks Peter, I should have been able to figure this out.
 
Upvote 0
Peter, if permissible, piggy backing on the original question a friend created the following formula for copying entrees from on day to the next "=IF(OR(L802="",M802="",COUNTA(L3:L799)=0),"","→")" is it possible to alter the formula where it skips over the weekends to the next weekday? If I need to submit as a new thread I will,. Thanks again.
 
Upvote 0
Thanks Peter, I should have been able to figure this out.
You're welcome.


Peter, if permissible, piggy backing on the original question a friend created the following formula for copying entrees from on day to the next "=IF(OR(L802="",M802="",COUNTA(L3:L799)=0),"","→")" is it possible to alter the formula where it skips over the weekends to the next weekday? If I need to submit as a new thread I will,. Thanks again.
I would need to see what the data is like (could be dummy data), how it is laid out, and the same for the expected results. Can you post a small screen shot (see my signature block below) and explain again in relation to that screen shot?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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