Need Help With Formula

noel1

New Member
Joined
Jul 1, 2023
Messages
31
Office Version
  1. 365
01/01/202302/01/202303/01/202304/01/202305/01/202306/01/202307/01/202308/01/202309/01/202310/01/202311/01/202312/01/202313/01/202314/01/202315/01/202316/01/202317/01/202318/01/202319/01/2023
STARTENDDAYSMOTUWETHFRSASUMOTUWETHFRSASUMOTUWETHFR
01/01/202319/01/202314
=-AND(E$1>=$B4,E$1<=$C4)
The formula above fills in the cells which are within the range of the dates but I do not know how to exclude Saturday and Sunday from the formula.
=-AND(E$1>=$B4,E$1<=$C4,TEXT(E$1,"ddd")<>"SA",TEXT(E$1,"ddd")<>"SU")
this is a formula which I got from chat open ai but it doesn't seem to work
Ant help would be great
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVW
101/01/202302/01/202303/01/202304/01/202305/01/202306/01/202307/01/202308/01/202309/01/202310/01/202311/01/202312/01/202313/01/202314/01/202315/01/202316/01/202317/01/202318/01/202319/01/2023
2STARTENDDAYSMOTUWETHFRSASUMOTUWETHFRSASUMOTUWETHFR
308/01/202319/01/202314
401/01/202319/01/202314
Master
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:W4Expression=-AND(E$1>=$B3,E$1<=$C3,WEEKDAY(E$1,2)<6)textNO
 
Upvote 0
Thanks. Fluff. that helped my son out on his planner scheduler..poor lad spent 3 hrs on chat last night..

Also, that Vstack...if you would like to repost that for any estimators on the platform..they would benefit I'm sure.
 
Upvote 0
the formula you hlped me with originally...(vstack with the little v1 ref....
 
Upvote 0
I have not used VSTACK on this thread.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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