SUMIF using 2 sheets with multiple reference columns to sum a total column

SHEET 1 has the following columns:
Name, Type, Total

SHEET 2 has the following columns:
Name, Total Used

When the SHEET 2 "Name" column matches the SHEET 1 "Name" column and SHEET 1 "Type" = "PTO" then sum SHEET 1 "Total" column and place value in SHEET 2 "Total Used" column

Best Answers

  • VBAGuru
    VBAGuru ✭✭✭✭✭
    Answer ✓

    On Sheet 2 in the Total Used column use a formula similar to below. You will need to link the ranges to be the full columns on Sheet 1.

    =Sumifs({Sheet 1 Total},{Sheet 1 Type},"PTO",{Sheet 1 Name},[Sheet 2 Name]@Row)

  • VBAGuru
    VBAGuru ✭✭✭✭✭
    Answer ✓

    The brackets are for when a column name contains a space, so it would be like [Employee Name]@row. In this case since you just have it labeled Name, you can skip the brackets and just use Name@row.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!