Excel formula to check whether there are weekends

EinarOSies

Board Regular
Joined
Feb 15, 2021
Messages
61
Office Version
  1. 2019
Platform
  1. Windows
Please I have this record
Screenshot (39).png

Please I would want an excel formula to check whether the last inputted date in Column A(I used the formula "=LOOKUP(2,1(A:A<>"",A:A" to get the last last date in Column A) and today("=TODAY()" contains weekends, if it does then it should remove the number of weekend days from the days between. I initially used this formula "=TODAY()-LOOKUP(2,1/(A:A<>""),A:A)" to calculate the days between the last date and the current date but I have a downside of excluding weekends.



Please any suggestion on how to remove the number of weekend days?



Einar
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi there,

I'm guessing you would like the formulla in F30?
The formula u want is: (Days between dates - weekends)*Running hours?

If yes then:
Excel Formula:
=NETWORKDAYS.INTL(A30;TODAY();1)*E30

Hope it helps, GL
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,448
Members
448,966
Latest member
DannyC96

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