I have a spreadsheet which records the number of hours worked each day by a team of guys. Their names are listed in alphabetical order down the first column, and hours horizontally across in date order.
On various other sheets within the same workbook I calculate their entitlements. I've created some pretty long winded formulas to do this - incorporating symbols that are used for unpaid leave (U), sick leave (S) etc - and want to add to them to ensure they are always linked to the one person, regardless of which row his name is on on the original sheet.
Ideally I want the spreadsheet to be transferable to other projects, and more of a template so people can add names and delete them without potentially ruining all the formulas.
For example, one of the formulas is (I'm new to this so it was the only way I could think of!):
This corresponds with Gheorghe, but could potentially get disrupted if rows are added or his name is moved about. Is there something like the VLOOKUP function which will make sure the countif's are only ever counted along the same row that George is on?![]()
Please Login or Register to view this content.
Example attached
Bookmarks