% Allocation Formula for Assigned To column

Zain
Zain ✭✭
edited 04/15/22 in Formulas and Functions

Hi @Genevieve P.

Can you please help me come up with an IF formula to use in the % Allocation column for my sheet?

This is what I am trying to formulate:

If Bob (from the ‘Assigned To’ column) reaches greater than 100% allocation (from the sum of multiple rows), make the ‘Assigned To’ cell Fill in Red for wherever Bob’s name is. Example below shows over allocation at 101%. If you would recommend a different flag other then highlighting All of bobs name in red, please let me know. No budget for 10000 ft/resource management yet.

Also, is there another formula you can propose if there are multiple people in a single cell? How would % allocation work then?


Thank you for your help!

Zain

Best Answer

  • Leibel S
    Leibel S Community Champion
    Answer ✓

    @Zain

    You can technically hard code for each possible added assigned to. Example below will check up to 2 contacts per cell.

    =IF(COUNTM([Assigned To]@row) = 1, IF(SUMIFS([% Allocation]:[% Allocation], [Assigned To]:[Assigned To], HAS(@cell, [Assigned To]@row)) > 1, 1, ""), IF(COUNTM([Assigned To]@row) = 2, IF(OR(SUMIFS([% Allocation]:[% Allocation], [Assigned To]:[Assigned To], HAS(@cell, LEFT([Assigned To]@row, FIND(", ", [Assigned To]@row) - 1))) > 1, SUMIFS([% Allocation]:[% Allocation], [Assigned To]:[Assigned To], HAS(@cell, MID([Assigned To]@row, FIND(", ", [Assigned To]@row) + 2, LEN([Assigned To]@row) - FIND(", ", [Assigned To]@row)))) > 1), 1, ""), ""))


    However it makes a lot more sense to have another sheet with a separated list of each possible assigned to (single person per row) with a column that looks up the % Allocation for this specific employee, then in this sheet you can look up this person to see if they are marked as over allocated and change accordingly.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!