Modifying an existing IF Formula

UFGATORS

Board Regular
Joined
Nov 28, 2008
Messages
136
Office Version
  1. 365
Hello, I have an existing formula that copies the entries in one column to the next column. These columns represent days of the month. What I need is for the formula to skip weekends and holidays. Here is the current formula: =IF(OR(L802="",M802="",COUNTA(L3:L799)=0),"","→")

Formula is entered on line 801 for each day of the month, below is the first day
L802 is the first day of the month
M802 is the next day of the month
L3:L799 is the range for the data

The way the formula works is if data is entered in column L3:L799 then in cell L801 an arrow → is placed in the cell. When the user wants to copy the entries from day one to the next they would click on the →. This process continues through the end of the month. I now have a situation where I need the coping from one day to the next to skip over weekends and holidays. Below is another formula I use that I think is part of the solution but I don't know how to make it work. =IF(WORKDAY(EOMONTH($L$802,0)+1,-1,holidays)<o:p></o:p>

Thanks for any help you guys can provide
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,217,384
Messages
6,136,274
Members
450,001
Latest member
KWeekley08

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