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.

Formula help wanted

I'm trying to return a count of the number of cells that a) have a specific issue type and b) have an issue date within the last 7 days (I also want to duplicate the formula for 14, 30 and 90 days).

I'm fairly new to smartsheets and formulas and I can't figure this out. I've managed the total count (i.e. the total count of "damages" issue but I want to find the count of "damages" issues for the last 7 days.

This is where I want the formula and the value output.

The data is from a separate sheet as below

Please can someone help?

Best Answer

  • ✭✭✭✭
    edited 10/18/24 Answer ✓

    There's probably a few ways to do this but I would create a helper column. I made one called 'Days Passed' in the sheet where the dates are and inputted the formula =TODAY() - [Days Passed]@row that will give you how many days have passed from issue.

    If you then input a Countifs formula it can count based on the issue type and days passed. Please see the example below (note I did it all in the same sheet):

Answers

  • ✭✭✭✭
    edited 10/18/24 Answer ✓

    There's probably a few ways to do this but I would create a helper column. I made one called 'Days Passed' in the sheet where the dates are and inputted the formula =TODAY() - [Days Passed]@row that will give you how many days have passed from issue.

    If you then input a Countifs formula it can count based on the issue type and days passed. Please see the example below (note I did it all in the same sheet):

  • Thank you Jeremy_D, that helped me solve the problem.

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