using SumIF with Children, a multiplier and 2nd Sumif

AmberLayne
edited 12/09/19 in Smartsheet Basics

I am trying to multiply a number based on two levels of hierarchy.  Currently it looks like this: 

=SUMIF(CHILDREN([Rep Level]1), "1", CHILDREN([Sales Commission]1) * 0.07, SUMIF(CHILDREN([Rep Level]1), "2", CHILDREN([Sales Commission]1) * 0.03))

My error is an incorrect argument set.  Any sugestions would be great. 

 

Comments

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    Hello! I am trying to get some clarification on your request.

    It looks like you are trying to calculate the total sales commission for a rep level 1 and a rep level 2 (multiplying them by the values you suggested) and then add them together in the parent row. Is that correct? 

    Can you specify the goal of the formula you are trying to create? That will help us assist you better.

     

  • The rep levels represent different percentages of a total so it would look like this visually: 

      Parent Level (where calc is for "children")

           Child Level 1 (7% goes to parent)

                  Sub-Child Level 2 (3% goes to parent)

     

    The idea is to figure out the total commission with the two splits, by hierarchy formula.  I need help getting this first one to work to manipulate it throughout the rest of the spreadsheet.  Any help would be appreciated.