Pulling Data from a work Rota

Tyroneb90

New Member
Joined
Aug 4, 2024
Messages
2
Office Version
  1. 365
  2. 2003 or older
Hi All,

I'm hoping someone can help with an issue.

So I have a work rota - Employees names in collumn A, Then Collumn B - AQ is the days of the week / Date (01/08, 02/08, 03/08 etc..).

Each Cell in the row will either be Blank (White) to indicate the staff member is in or Black to indicate its their day off.

My request is can anyone think of or knows a formula that will let me calculate exactly who is in for a certain date?

On the back of that I would use that data and pull it through to another sheet which would show exactly who is in for that day.

(I've attached an image for reference)

Thanks in advance
 

Attachments

  • Screenshot_20240804_180903_Microsoft 365 (Office).jpg
    Screenshot_20240804_180903_Microsoft 365 (Office).jpg
    167.3 KB · Views: 6

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

The first thing you'll need to change is relying on cell styles (font color, fill color, etc.) to store a value. This is a bad idea because it makes it so much more difficult to get the value of the cell and do any kind of calculations based on it. Define a value for each possible state: blank = in, O = off, H = ..., etc. Use letters, numbers, words, or whatever makes sense to you. Then once each cell has a value, you can use a formula like =COUNTIF(C4:C13,"") or =COUNTIF(C4:C13,"H") to get the number of people in a category for a given day.

If you still want each cell to visually appear as if there is no text as in your screenshot, then you could add a conditional formatting rule to change the cell fill and the font to the same color.
 
Upvote 1

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

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