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.

AND/OR Function for COUNTIF Referencing another sheet

✭✭✭
edited 02/15/24 in Formulas and Functions

Hello, Smartsheets Gurus!

I am building a formula to reference another sheet {ISIR Pulls 2023-2024, Column EX Major (Range)} with two different EX Majors within the range I'm trying to total up. The two things I am looking to identify are EX Major "BSC" and "BSD".

If I just do:

=COUNTIF({ISIR Pulls 2023-2024 Range 1}, ="BSC") I get 8. (which is correct)

=COUNTIF({ISIR Pulls 2023-2024 Range 1}, ="BSD") I get 1. (which is correct)

However, when I try to factor in both "BSC" or "BSD" into my formula, I'm getting #UNPARSEABLE. I should be getting a total of 9.

I feel like I'm close, yet so far....here is my formula. I'm not going to pretend I understand where the OR goes.

=COUNTIFS({ISIR Pulls 2023-2024 Range 1}, "BSC", OR COUNTIFS({ISIR Pulls 2023-2024 Range 1}, "BSD"))

What am I doing wrong?🤷

Best Answer

Answers

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