Hi all,
I’m having difficulty writing a formula to solve the following dilemma:
I have “Sheet1” with staff details and each staff member may be listed more than once. I need to use columns C (StaffID) and L (Load). Load values may only be 1.0 or 0.5.
Then I have “Sheet2” which is being used to compile data from a range of sources – this is where I need to put my formula to get my answer. “Sheet2” has column A (StaffID) and each ID will only appear once on Sheet2.
The formula required needs to solve “if the StaffID from Sheet2 appears in Sheet1 (keeping in mind it may appear multiple times), sum the Load values for that StaffID provided the Load value on each line only equals 0.5".
If the StaffID doesn't match, the cell return is to be 0.
I will then need to do this again in another cell where the Load value only equals 1.0 (obviously just amending the condition value in the formula).
I hope that's enough information, and not too convoluted.
TIA.
Bookmarks