Count number of resources assigned and display the resource allocation%

Options

Is there a way to:

(1) count the number of resources in the [Assigned To]

(2) duplicate the allocation % based on the number of resources counted from the [Assigned To]

Please see example below.

Thanks.

Best Answer

  • Jean Kim
    Jean Kim
    edited 05/20/20 Answer ✓
    Options

    It's working with the following.


    =IF(Type80 = 1, JOIN([Planned Hrs]80 + "| " ), IF(Type80 = 2, JOIN([Planned Hrs]80 + "| " + [Planned Hrs]80), IF(Type80 = 3, JOIN([Planned Hrs]80 + "| " + [Planned Hrs]80+ "| " + [Planned Hrs]80))))


    Case closed.

Answers

  • Jean Kim
    Options

    Something like this in excel.


  • Jean Kim
    Options

    Explored some formula with IF and Join, It works when it's one scenario, but it doesnt seem to work when its for multiple scenarios. =(


    =IF(([# of resources]82) = 1, JOIN(([Hrs allocated]82 + "| "))). -> works

    =IF(([# of resources]81) = 2, JOIN(([Hrs allocated]81 + "| " + [Hrs allocated]81))) -> works

    =IF(([# of resources]83) = 3, JOIN(([Hrs allocated]83 + "| " + [Hrs allocated]83 + "| " + [Hrs allocated]83))) -> works


    =IF((Type80) = 1, JOIN(([Planned Hrs]80 + "| " ))), IF((Type80) = 2, JOIN(([Planned Hrs]80 + "| " + [Planned Hrs]80))), IF((Type80) = 3, JOIN(([Planned Hrs]80 + "| " + [Planned Hrs]80+ "| " + [Planned Hrs]80))). -> doesnt work.

  • Jean Kim
    Jean Kim
    edited 05/20/20 Answer ✓
    Options

    It's working with the following.


    =IF(Type80 = 1, JOIN([Planned Hrs]80 + "| " ), IF(Type80 = 2, JOIN([Planned Hrs]80 + "| " + [Planned Hrs]80), IF(Type80 = 3, JOIN([Planned Hrs]80 + "| " + [Planned Hrs]80+ "| " + [Planned Hrs]80))))


    Case closed.

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Options

    Hi @Jean Kim

    Glad you got it working!

    Be safe and have a fantastic week!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    Please help the Community by marking your post with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!