Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Using CountIfs with an and condition summarizing data from sheet 1 to sheet 2


I have a sheet that list PC that has been deployed to a user at a given location The detail sheet has the suer location and a checkbox for when the PC has been deployed. On a summary sheet, I am tracking for each location, how many deployments were planned and how many have been completed. I am trying to use CountIfs abut not finding the right combination for it. I keep getting Invalid Ref returned.


=COUNTIFS({Deployment Tracking Sheet Location}, =Site@row, {Deployment Tracking Sheet Deployed} = 1)

Summary Sheet

Detail Sheet


Tags:

Best Answer

  • Community Champion
    Answer ✓

    Hi

    It looks like you have a tiny syntax issue. Try adding comma after {Deployment Tracking Sheet Deployed}

    =COUNTIFS({Deployment Tracking Sheet Location}, =Site@row,{Deployment Tracking Sheet Deployed}, =1)

Answers

  • Community Champion
    Answer ✓

    Hi

    It looks like you have a tiny syntax issue. Try adding comma after {Deployment Tracking Sheet Deployed}

    =COUNTIFS({Deployment Tracking Sheet Location}, =Site@row,{Deployment Tracking Sheet Deployed}, =1)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2