Hi,
I work for a company supplying staff to railway engineering sites and have been trying to work out how to have our planning spreadsheet provide management info such as number of each competency used per client, profit per client, etc.
I have a tab for management info, then 15 tabs named Sheet01-15 (one per client, the idea being that our consultants rename the tab to the client's names) which have our planning sheets on.
Cell A2 of every client tab has the name of the client. On the management info tab i have the following:
Column A (Names of the clients)
='Sheet01'!$A$2
='Sheet02'!$A$2
='Sheet03'!$A$2
='Sheet04'!$A$2
='Sheet05'!$A$2
Column B (# of each competency, in this case a Trackman aka PTS)
=COUNTIF('Sheet01'!B:B,"TM*")+COUNTIF('Sheet01'!B:B,"pts*")
=COUNTIF('Sheet02'!B:B,"TM*")+COUNTIF('Sheet02'!B:B,"pts*")
=COUNTIF('Sheet03'!B:B,"TM*")+COUNTIF('Sheet03'!B:B,"pts*")
=COUNTIF('Sheet04'!B:B,"TM*")+COUNTIF('Sheet04'!B:B,"pts*")
=COUNTIF('Sheet05'!B:B,"TM*")+COUNTIF('Sheet05'!B:B,"pts*")
And so on for the various competencies that I need to total up. The idea is that I have a table on the management info page with each row having columns A-O showing 'Client Name, # of competency 1, # of competency 2' and so on.
My problem is that while 'Sheet01', 'Sheet02' in the formulas change when the tabs are renamed to match the client name, if after renaming 'Sheet01' to 'A Client', 'Sheet02' to 'B Client' and 'Sheet03' to 'D Client', they then need to make 'C Client' they have no choice but use 'Sheet04'. This means that Column A on the management info tab will no longer have the clients in alphabetical order.
I have an example spreadsheet with some fake data in to show what I mean but I can't seem to upload it. If someone could tell me why not I'll try and fix it and show you the spreadsheet.
If anyone knows a way of keeping the clients on the management info page alphabetical I'd appreciate knowing.
The reason I use premade Sheet01-Sheet15 tabs is because I couldn't find a way to have rows on the management info tab be automatically created and filled with the formulas whenever a new client tab was created. If there is a way then that might make this problem irrelevant.
Thanks in advance for your help.
Bookmarks