CountIf from another sheet

jbusch30
jbusch30 ✭✭✭
edited 12/09/19 in Smartsheet Basics

Hi All, 

I am trying to do a COUNTIF and refrence another sheet but I keep on getting an error.

=COUNTIF({Go New Products Range 1},Category:Category,"Footcare")

 

Comments

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    Hi jbusch30, 

    Here are the specifications for composing a countif formula. 

     https://help.smartsheet.com/function/countif

    You'll want to make sure your Go New Products range is only selecting the "category" column from your sheet... If that is the case this should work for you.

    =Countif({Go New Products Range 1}, "Footcare")

    The formula will search through your range and return the count of each cell that has "Footcare" in it. 

  • Hi,

    can you tell me what is the problem with the syntax in this formula fror countif in another sheet.

    =COUNTIF({project gantt - Superdry HPR area Range 1}, {project gantt - Superdry HPR area Range 2,"11"})

    regards

    Alan

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    Hi Alan, there are a couple of issues with the countif. It looks like you have two ranges when there should only be one... I'm not sure which range has the actual data you are trying to count, but try recreating it from scratch. If you are wanting to check if the data meets two different requirements you can use a =Countifs( ) formula and follow the requirements stated here: https://help.smartsheet.com/function/countifs