Helo with formula Please :)

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
so i have this formula (not VBA)

=IF(D2="","",IF(MONTH(IF(WEEKDAY(D2,2)=5,D2+3,D2+1))<>MONTH($D$2),"",IF(WEEKDAY(D2,2)=5,D2+3,D2+1)))

which just looks for the next workday in the current month (excludes weekends)

BUT it currently does not ignore my "holiday" named range,

how can i get it to do so?

'Thanks for your help :)
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Try

=IF(MONTH(WORKDAY(D2,1,A1:A20))<>MONTH(D2),"",WORKDAY(D2,1,A1:A20))

A1:A20 holds your holiday dates.

This requires the analysis toolpack from Tools - Addins
 
Upvote 0
AWESOMENESS
is a virtue amongst the people in this forum


THANK YOU!!!!!!!!

Worked Better than perfect!
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,919
Members
452,949
Latest member
beartooth91

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