Hi All,
Sorry for the confusing header name but it's tricky to explain what I'm trying to do with just one line
Here goes the detailed way of explaining it...
Let's say I have a list of staff, the days that they work, and the area they work in. I want an extract of that into tables for each area. eg: one for all the Admin people, another for the Backoffice people, etc. Easy so far.
Each of those tables has a column for each day of the week and a list of all the names that are working that day. So in the Admin table there is a column for Monday with the names of the people that work that day. Ok, little trickier now.
On top of that, I want to be able to order those names to put people with priority to the top of the list. So in the Admin table there is a column for Monday with the names of the people that work that day, and the person tagged as Priority 1 is at the top of the list. Now we're getting complicated!
It took me a while but I managed to get the output I want however the formulas are very messy and inelegant. In one cell I have 14 IF statements, 14 CONCATENATEs, and 10 COUNTIFs. Ugh!
I've attached a sample spreadsheet to this post, with two tabs
- The first tab is a summary of what I'm trying to achieve, some sample data, and a sample output
- The second tab is my inelegant (but working) solution
Appreciate any tips, tricks or suggestions for making this a little more streamlined. Perhaps there are some formulas out there I'm not familiar with, or some way to cut this up for some Pivot tables? I'm open to idea!
Bookmarks