Summing Up only the Weekend Days from the Total

mowas

New Member
Joined
Oct 24, 2024
Messages
2
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Dear Excel Experts,

I have a scenarios and am stuck finding out ways to select only the weekend days from a range of dates and sum-up the values corresponding to those weekend days in a separate column.

As you can see in the image, I have column "N" which is adding up the total values of row no. 2 from P2:AS2. I want to exclude the workhours (29 in total) worked on fridays throughout the month from the total hours.

I tried my level but couldn't reach a conclusion, I would greatful if anyone can provide me a solution for this scenario.

Thank you in advance.
 

Attachments

  • Image.png
    Image.png
    68.9 KB · Views: 25

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try:
Excel Formula:
=SUMPRODUCT( ($P2:$AS2) * (WEEKDAY($P$1:$AS$1)<>6) )
Where 1 = Sunday and 6 = Friday
 
Upvote 0
Try:
Excel Formula:
=SUMPRODUCT( ($P2:$AS2) * (WEEKDAY($P$1:$AS$1)<>6) )
Where 1 = Sunday and 6 = Friday
Thank you Alex.. It worked and I successfully implemented it at my end... Really appreciate this quick and simple solution which was making me crazy...
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,174
Members
452,615
Latest member
bogeys2birdies

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