Using the COUNTIF function across sheets in a workbook

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 73

  • @lizzylee2106
    @lizzylee2106 5 років тому +5

    THANK YOU!!!!!! You saved me at work today. You are a great teacher.

  • @dmack5205
    @dmack5205 7 років тому

    Thanks for posting this video. Very helpful.

    • @StephenRansom
      @StephenRansom  7 років тому

      dmack5205 Thank you. Glad to hear it.

  • @anthonyyung3387
    @anthonyyung3387 4 роки тому +1

    Thank you so much for sharing such invaluable excel course on youtube.

  • @NaviSharmaNav
    @NaviSharmaNav 5 років тому +1

    Thanks a lot. It was clear and very helpful.

    • @StephenRansom
      @StephenRansom  5 років тому

      Great! Glad to hear it was useful to you.

  • @ed4253
    @ed4253 5 років тому +1

    Very helpful, thank you.

  • @Gilazel
    @Gilazel 4 роки тому

    Hi, can i get some help ? Im getting a #VALUE error, that error should occour when the worktable is closed but i have it open for sure. Created a new workbook for testing and still geting the same error. Created the sheets just like yours to make sure i wasnt doing anything wrong.
    Edit: For a quick fix im doing a local countif function on every sheet then im using a sum function to sum all the countif sheets, that worked but still would like to know why the video method isnt working.

    • @StephenRansom
      @StephenRansom  4 роки тому

      Sorry, that's a very general error... could be many things. In general, there is something wrong in the formula you typed or in the cells/sheets being referenced. There's no way I can be more specific that that without actually seeing your file.

  • @khsakir4550
    @khsakir4550 5 років тому +1

    Many many thanks, this is exactly what i am looking for.

  • @clnatrbc
    @clnatrbc 6 років тому +1

    Thank you so much!. This is exactly what I was searching for.

  • @racheltedford424
    @racheltedford424 4 роки тому

    I'm going crazy, how do I count how many people were either rejected or accepted for either a manager position or junior position on a specific day i.e. how many people were rejected for the junior position on 01 January? I've tried sooo many different formulas and none are working.

    • @StephenRansom
      @StephenRansom  4 роки тому

      Nia, have you tried the COUNTIFS function? It allows you to use multiple criteria and ranges in a single argument. Or, you can also use =COUNTIF(...)+COUNTIF(...), etc... It's hard to give specific advice without knowing the exact scenario and data setup.

  • @guillemramos6352
    @guillemramos6352 4 роки тому

    What version of Excel are you using here?

  • @heliodoroarzate9628
    @heliodoroarzate9628 5 років тому

    Ok, so I am doing CountIF function for report I need, I need it to search multiple sheets but only certain columns, I manage to make it work for just 1 sheet, but when I add multiple sheets I get an #Value message

    • @StephenRansom
      @StephenRansom  5 років тому

      Check your syntax to make sure the formula is referring both the the column(s) and the sheet(s) in question.

  • @providenceconsultingdesign7837
    @providenceconsultingdesign7837 5 років тому

    Is there a way to use COUNTIF to count across an entire book? So if I want to count how many times the response "Good Condition" was input across a 45-page excel book and populate the count on one page, how would I go about doing that?

    • @StephenRansom
      @StephenRansom  5 років тому

      Hunter Abrams www.mrexcel.com/forum/excel-questions/214542-countif-whole-workbook.html

  • @sharaijaz
    @sharaijaz 4 роки тому

    how can I count similar from two or more sheets?
    like September from sheet 1 and sheet 2

    • @StephenRansom
      @StephenRansom  4 роки тому +1

      Did you watch the video? That's what it shows how to do.

  • @alaminsarker4558
    @alaminsarker4558 3 роки тому

    Hi. I need a formula. Can you help me?

    • @StephenRansom
      @StephenRansom  3 роки тому

      support.microsoft.com/en-us/office/excel-functions-by-category-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb

    • @alaminsarker4558
      @alaminsarker4558 3 роки тому

      @@StephenRansom i need to counting formual

  • @mahchannel1866
    @mahchannel1866 9 років тому +1

    Thank you very much. This video is very clear, concise, and very helpful.

  • @lg781
    @lg781 3 роки тому

    WHat if I wanted to use data from multiple sheets?

    • @StephenRansom
      @StephenRansom  3 роки тому

      That's what this video is showing. It doesn't matter what sheet... or even what workbook, for that matter, the data resides on.

  • @machbauer132
    @machbauer132 5 років тому

    If we would expand this task with sheets, let's say from 2010 till 2015, how should the function be modified?

    • @StephenRansom
      @StephenRansom  5 років тому

      I'm not sure I understand your question. This video shows how to use this function across sheets.

  • @villafontananorte
    @villafontananorte 6 років тому

    Okay, but, how would you tell Google sheet to count how many times the wordn"september" appears in the last 2 weeks?

    • @StephenRansom
      @StephenRansom  6 років тому

      You count only in the range of the last 2 weeks.

  • @kongvina7205
    @kongvina7205 4 роки тому

    can we use the COUNTIF function across two sheets ?

    • @StephenRansom
      @StephenRansom  4 роки тому

      Kong Vina Yes, and even across workbooks.

  • @venitacason9753
    @venitacason9753 7 років тому

    How do I use the same formula to count across multiple worksheets though, i.e. Formula Response + Months for "September?"

    • @StephenRansom
      @StephenRansom  7 років тому +1

      You do it the same way as shown in this video, selecting the multiple ranges from the multiple worksheets that you want counted. Or if more appropriate, use the COUNTIFS function support.office.com/en-us/article/COUNTIFS-function-dda3dc6e-f74e-4aee-88bc-aa8c2a866842

  • @emilywaelder5253
    @emilywaelder5253 9 років тому +1

    So helpful! Thanks!

  • @guillemramos6352
    @guillemramos6352 4 роки тому

    Hey, thanks a lot for the video!
    Unfortunatetly, this doesn't work in my Excel (I followed your video step by step, and it just isnt' working).
    Do you think it might be because of me having an outdated Excel version?
    Thanks and see you soon!

    • @StephenRansom
      @StephenRansom  4 роки тому

      Guillem, it shouldn't have anything to do with an outdated Excel version. It is amazing how you can have the smallest problem with your syntax which will stop a function from working. I would suspect this is the issue. It's very hard sometimes to see your own flawed syntax, especially when it can be as small as a comma, space or period.

    • @guillemramos6352
      @guillemramos6352 4 роки тому

      ​@@StephenRansom Thanks a lot for your answer! I think it's actually due to the fact that Excel is not capable of applying the "COUNTIF" nor "COUNTIFS" functions to 3D ranges. At least, that's what I've been able to find out in the internet (both informal forums and the official Microsoft support page).
      Thanks anyways for your quick answer! :)

    • @StephenRansom
      @StephenRansom  4 роки тому

      @@guillemramos6352 No problem. I'm not sure what your data set looks like, but perhaps you need to use a LOOKUP function? (VLOOKUP/HLOOKUP) or INDEX function?

  • @filmbc
    @filmbc 7 років тому +1

    This is a great tutorial. I am creating something very similar to this only it is a report that other people will need to fill in. So, in the second tab where the data is being collected, I have drop down option in each row. How do I create a COUNTIF formula where the data has not been filled in yet. Or is this at all possible? Thank you!

    • @StephenRansom
      @StephenRansom  7 років тому +1

      Sure it's possible. Just make sure that your formula syntax includes the entire range of possible data, even if it isn't there yet. The countif function will count whatever is in that range, whenever it gets submitted/entered.

    • @filmbc
      @filmbc 7 років тому

      Thank you for such a quick response. Do you put "double quotes" around every single data entry? Commas as well? Like this: =COUNTIF('Patient Details'!D2:D200,"Moved""Financial/Cost""Not Ready""Emailed Patient") Also, on the first sheet I have a list of outcomes on each row. If the formula includes the entire range of possible data, then how will I be able to determine the number of times a certain piece of data was selected for that particular row? Hard to explain. Basically I have 21 outcomes the end user can chose from on the second sheet for each patient file that they audit. They are supposed to track this data on the second sheet and select and outcome for each file. I want that information to be tallied up on the first sheet for each outcome; i.e. moved, financial/cost, not ready, emailed patient, etc. Thoughts?

    • @StephenRansom
      @StephenRansom  7 років тому +2

      Something to note, you do not need the item to be counted in " ". Instead, you can just click on the cell reference that contains the item to be counted (as shown in this video). Now, typically, COUNTIF is used to count a single variable. You can combine different variables with with + , i.e. =COUNTIF( )+COUNTIF( )+... But, it sounds like you are actually wanting to use COUNTIFS to count multiple criteria in the same expression. Search UA-cam for "countifs with multiple criteria" and see if that is more what you are looking for. I can't tell exactly by our description what you are wanting to do and if this function is the best way to do it.

    • @filmbc
      @filmbc 7 років тому +1

      Ok great! I certainly appreciate your help and fast response. I love Excel, but the learning curve is steep and trying to explain things is proving to be difficult. Thanks again.

    • @StephenRansom
      @StephenRansom  7 років тому +1

      Yes... much easier to show than explain. Good luck! The answer to "can Excel do this" is always yes. It's an incredibly sophisticated software application. UA-cam and Google are your friends here :-)

  • @mofojackson
    @mofojackson 7 років тому

    Awesome vid thanks buddy! Going to check out more of your videos :)

  • @mevartzon1374
    @mevartzon1374 4 роки тому

    Ideal tutorial for any person who wants to learn excel formula. It's very helpful and informative. Can i use COUNTIFS with data validation suppose September here has one more column like status of September and status September is good or bad and i want to reflect or count only good September how many times not all September to be counted. How can i dp that?

    • @StephenRansom
      @StephenRansom  4 роки тому

      Definitely possible. Not something I can really explain in a comment. You can combine countif functions... ie. =COUNTIF( )+COUNTIF( ), ETC.... But, if I am understanding you correctly, this is a basic countif problem. You just identify the column range of good/bad and count the criteria that you need (good or bad).

  • @riteshrana2516
    @riteshrana2516 5 років тому

    Sir I need Datewise countif function

  • @Gio626100
    @Gio626100 4 роки тому +1

    THANK YOU SO MUCH!!!!!

  • @roux6998
    @roux6998 4 роки тому

    Really clear thanks, however I wish to add a second range of criteria from a second sheet, I've duplicated the formula but it returns an error.

    • @StephenRansom
      @StephenRansom  4 роки тому +1

      Don't be afraid to google your question. www.extendoffice.com/documents/excel/2540-excel-countif-multiple-criteria.html You might also want to look at =COUNTIFS exceljet.net/excel-functions/excel-countifs-function

  • @vanessajones3825
    @vanessajones3825 4 роки тому

    What if you are doing something where you have two options for instance, L(number) and D(number) the l and d signify a different class.
    And I have a total column for l and then d
    Anyone using the spreadsheet can put in hours in the numbers place, and in the end I want the excel total to add the numbers and just put in the respective columns but can’t figure it out 😥.
    Say l1 then l4 so I would want the l’s to go in the l total part and display the number simply as 5 (1+4)

  • @auroraautumn8764
    @auroraautumn8764 6 років тому +1

    Thank you

  • @gishaniadhikari7694
    @gishaniadhikari7694 6 років тому

    Oh! Thank you so much....

  • @irishraychellemanlunas4461
    @irishraychellemanlunas4461 4 роки тому

    =COUNTIF('FEBRUARY'!K14:K21, 'FEBRUARY'!K19)
    what's wrong with the formula? please help

    • @StephenRansom
      @StephenRansom  4 роки тому

      I don't see anything wrong with it, but without the workbook, it's hard to troubleshoot.

  • @janelchay6591
    @janelchay6591 8 років тому

    Thank you!

  • @zionguru4883
    @zionguru4883 7 років тому

    I found that if I sorted the reference sheet the "function across sheets" would be out of order. I did this to remedy that: =countif('FB - Trips - Kane County BLM'!J$2:L$64,"Birch Hollow")

  • @readerbranch4431
    @readerbranch4431 4 роки тому

    COUNTIFS WITH TWO NESTED VALUES\

  • @herarana7673
    @herarana7673 5 років тому

    thank you

  • @jpapauran95
    @jpapauran95 4 роки тому +1

    Thank you