Adding two or more cells in the same column according to date

Options

Hello,

I have multiple cells in one column, which are numbers, with the same date and I would like to combine the figures into one cell, with the date in an adjacent column.

Combine the two Manpower Daily entries for 19/5/25 into one entry in the Project Manpower column.

I've tried a few formulas and nothing seems to work.

Any ideas/solutions are welcome. Thank you.

image.png

Best Answer

  • Gia Thinh
    Gia Thinh Community Champion
    edited 06/14/25 Answer βœ“

    Hello @Mrsnic

    Try the solution below:

    1- Add an ID helper column, with auto-number property

    2- Project Manpower column : column formula :
    =IF(AND(ID@row = MIN(COLLECT(ID:ID, Date:Date, Date@row )), Date@row <> ""), SUMIFS([Manpower Quantity Daily Total]:[Manpower Quantity Daily Total], Date:Date, Date@row ))

    If you want the total is at the last same-day row, then use this formula:

    =IF(AND(ID@row = MAX(COLLECT(ID:ID, Date:Date, Date@row )), Date@row <> ""), SUMIFS([Manpower Quantity Daily Total]:[Manpower Quantity Daily Total], Date:Date, Date@row ))

    Hope it works for you.

    image.png

    Gia Thinh Technology - Smartsheet Solution Partner.
    Email : thinh.huynh@giathinh.tech

Answers

  • Gia Thinh
    Gia Thinh Community Champion
    edited 06/14/25 Answer βœ“

    Hello @Mrsnic

    Try the solution below:

    1- Add an ID helper column, with auto-number property

    2- Project Manpower column : column formula :
    =IF(AND(ID@row = MIN(COLLECT(ID:ID, Date:Date, Date@row )), Date@row <> ""), SUMIFS([Manpower Quantity Daily Total]:[Manpower Quantity Daily Total], Date:Date, Date@row ))

    If you want the total is at the last same-day row, then use this formula:

    =IF(AND(ID@row = MAX(COLLECT(ID:ID, Date:Date, Date@row )), Date@row <> ""), SUMIFS([Manpower Quantity Daily Total]:[Manpower Quantity Daily Total], Date:Date, Date@row ))

    Hope it works for you.

    image.png

    Gia Thinh Technology - Smartsheet Solution Partner.
    Email : thinh.huynh@giathinh.tech

  • Mrsnic
    Mrsnic ✭

    That worked perfectly. Just what I needed.

    Thank you so much.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!