Counting weekends that are coloured/different with formatting

msportstars

New Member
Joined
Mar 22, 2015
Messages
7
I have a very difficult situation that I am hoping people can help with!

I have attached the spreadsheet. I have a monthly diary, that people are assigned to working weekends. If the colour merged boxes go into Saturday then I need to count it as a 1 or a weekend worked, I am having trouble getting excel to recognise the coloured weekends/or blocked out weekends only? Wondered if anyone had any ideas or help please?

You can see there the yellow and Pink line has 2 weekends worked, the pale blue 1 weekend, the bottom line half way down has 1 weekend also. But if I could the text I get the number of merged boxes and if I try and target just the weekend cells it doesnt give me a return? Any help?

1616446309058.png
 

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.

Watch MrExcel Video

Forum statistics

Threads
1,129,931
Messages
5,639,064
Members
417,067
Latest member
rohitbabshet

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
Top