Work Day

Jennifer Van

New Member
Joined
Apr 22, 2022
Messages
41
Office Version
  1. 2016
Platform
  1. Windows
I have this formula in my spreadsheet
=(IF(U3="","",IF((U3-T3)<4,"Yes","No")))
and it works really well but I can't work out how to add only workdays - no Sat Sun can everybody help me please?
Jennifer
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
The formula tells us nothing at all about what you are trying to do. No idea what you mean by "add only workdays" in this context. Are U3 and T3 dates, and you are trying to figure out if there are fewer than 4 work days between them?

Here is my best guess, but you really need a more complete description of your question.
Rich (BB code):
=(IF(U3="","",IF(NETWORKDAYS(T3,U3)<4,"Yes","No")))
 
Upvote 0
Solution
=(IF(U3="","",IF(NETWORKDAYS(T3,U3)<4,"Yes","No")))
Sorry will do better next time, but yes you are correct I have two dates; in cell T is the due date and cell U is the date a call should take place. Cell W is where I have the formula which asks if the call took place with 4 working days of when it was scheduled.

I copied your formula but it just stays in the cell W3 and in the formula bar - and show an error see below
I hope this is clearer
Thanks
Jen

1668045997056.png
1668046095831.png
 
Upvote 0
Is this a table? If so you should be using structured references.

There is nothing wrong with the formula. That is not really an error, it's a warning suggesting maybe you didn't intend to do what you are doing. It means this formula is different than other formulas in the same column.
It would help if you showed the whole table including row and column headers.
 
Upvote 0
Is this a table? If so you should be using structured references.

There is nothing wrong with the formula. That is not really an error, it's a warning suggesting maybe you didn't intend to do what you are doing. It means this formula is different than other formulas in the same column.
It would help if you showed the whole table including row and column headers.
Is this a table? If so you should be using structured references.

There is nothing wrong with the formula. That is not really an error, it's a warning suggesting maybe you didn't intend to do what you are doing. It means this formula is different than other formulas in the same column.
It would help if you showed the whole table including row and column headers.
Thanks - I cleared the whole column and reinserted your formula and it worked so thank you
Jen
 
Upvote 0
Thanks - I cleared the whole column and reinserted your formula and it worked so thank you
The marked solution post has been changed accordingly.

@Jennifer Van: In your future questions, please mark the post as the solution that answered your question as it will help future readers. No further action is required in this thread.
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,938
Members
449,197
Latest member
k_bs

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