Comments on: How to use Excel COUNTIFS and COUNTIF with multiple criteria

The tutorial explains how to use COUNTIFS and COUNTIF formulas with multiple criteria in Excel. You will find a number of examples for different data types – numbers, dates, text, wildcard characters, non-blank cells and more. Continue reading

Comments page 40. Total comments: 2055

  1. I looking for a formula which could meet multiple criterias. I looking for a specific manufacturer (say dell) on first column, if the condition meets, i'm looking for specific model (say dell lattitude 630) on second column, if the condition meets, i want to count the number of windows 7 machines which is present on the third column. I'm using sumproduct to total across the sheets for one criteria, now i want to use it for multiple criteria. We use filter to filter column by column to get that. Please help me.

    1. Hi Jayakumar Krishnamoorthy,

      Please try the following formula:
      =COUNTIFS(A1:A10, "dell", B1:B10, "dell lattitude 630", C1:C10, "windows 7")
      where
      manufacturer values are in A1:A10
      model values are in B1:B10
      os version values are in C1:C10

  2. How do I count from non-adjacent cells with multiple criterias?
    I am working on our schedule per week, I want to know the headcount present every four hours in a day including the overtime (criterias are advance, extend, training, blank etc.)I used the countif formula but it is so long due to multiple criterias and non adjacent cells.

  3. Hello,
    Can someone please help me with this?
    I'm looking for a way to count the occurrences in a column where two or more consecutive values are grater than 5.
    for example:

    Column A
    Row 1 0.61
    Row 2 0.62
    Row 3 5.12
    Row 4 6.34
    Row 5 3.58
    Row 6 5.8
    Row 7 0.62
    Row 8 13.62
    Row 9 5.09
    Row 10 7.65
    Row 11 0.61

    In this example the result from column A would be two (2). A3 and A4 is one and A8-A10 is another. Row 6 is not counted because the value right before or after is less than 5.

  4. Please all Excel Formula Example Send me

    Thanks

    Regards

    Mangalsingh
    9202267674

  5. Hi,
    I have Date and times for different days, eg
    3/6/2016 10:35
    3/6/2016 10:50
    3/6/2016 10:59
    3/7/2016 11:45
    3/7/2016 11:50
    3/7/2016 11:53
    3/8/2016 9:09
    3/8/2016 9:27
    3/8/2016 9:56
    3/8/2016 9:57.
    All This is Row A. in Cells
    C1 I have 3/6/2016
    C2 I have 3/7/2016 and in cell
    C3 Ihave 3/7/2016.
    in D1, I want to Say " countif,range A:A contents a date like in C1".
    i.e, count the cells in range A:A that contains the dates without time.
    How can I possibly do this??

    1. Hi Gladious Mbah,

      Please try the following formula:
      =COUNTIF(A1:A15, "<>*:*")
      where the date and times are in A1:A15.

  6. I have a range of Data from sap that I need to organise into work areas by centre.

    I have used COUNTIFS to gather one area work orders by work center which looks like:

    =COUNTIF('RAW DATA 1 LAST WEEKS Orders '!M7:M4394,"3001-320-3523*")+COUNTIF('RAW DATA 1 LAST WEEKS Orders '!M7:M4394,"3001-320-3563*")+COUNTIF('RAW DATA 1 LAST WEEKS Orders '!M7:M4394,"3001-320-3516*")

    Now I need to count the work orders that belong in the formula above, but also have *TECO* in the J column of the same page?

    Could you please help with this?

    Thanks in advance.

    1. You should use the array formula to solve this task.
      For example:
      {=SUM(1 * (LEFT('RAW DATA 1 LAST WEEKS Orders '!M7:M4394, LEN("3001-320-3523"))="3001-320-3523") * (IF(ISERROR(FIND("TECO", 'RAW DATA 1 LAST WEEKS Orders '!J7:J4394)), 0, 1)))}
      To enter this formula press CTRL+SHIFT+ENTER.

  7. Please I have range with many numbers i want to count with excluding any cell starting with 6.

    Regards,

  8. Hi ,
    I have one situation where I am stuck. I have two columns, one with car name and 2nd with number of sales in a year.
    Can i use count if to get what car and how many units are sold.
    I tried giving criteria as Camary and range as the no of units sold, but that did not work. I tried selecting both columns as range, but that did not work either.
    Please help

    1. Hi Gurpreet,

      You can use the following array formula:
      {=SUM(B1:B10 * (A1:A10 = "Camary"))}
      where
      "car name" values are in A1:A10
      "number of sales" values are in B1:B10
      To enter this formula press CTRL+SHIFT+ENTER.

  9. Hi

    i use this formula =COUNTIFS('Process Data'!$A:$A,Tally!$A3,'Process Data'!$C:$C,Tally!$B3,'Process Data'!$H:$H,Tally!C$2)

    I need to use in VBA how to use Countifs Function so please tell me code foe this

  10. Hi, Can you help me in generating a countif formula in my table? For example Cell-A states the Company Names, ex. A,B,C,D, then in Cell-B states the specific date they submit their reports, ex. 01/31/2015,02/12/206. The problem is I want to count the numbers of the report they submitted in a month. Many companies, Many reports submitted in 1 month, How can I use countif in this problem? please help me. I dont know how to use date in Countif.

    1. Hi Gab,

      You can use the following formula to count reports, say, submitted in January 2016:

      =SUMPRODUCT(--(MONTH(B2:B100)=1), --(YEAR(B2:B100)=2016))

      Where B1:B100 are cells containing submission dates.

      To count reports for any other month / year, simply replace =1 and =2016 in the formula with the required numbers.

  11. Hi,

    How can i count no.of employees working in different departments year wise.
    For example total no. of employees is 100, how can i know that how many employees were working in different departments in different years.
    Total=100
    In year 2015, 10 were working in accounting, 20 were working in admn. etc etc
    In year 2016, 35 were working in accounting, 10 were in R&D, 20 were working in admn. etc etc

    Thanks.

  12. Hi
    Please help me i have TAT data of the employee were i required Acquired tat for individual employee who is falling in which range like -
    1) 0 to 5
    2) 6 to 10
    3) 11 to 15...
    required employee wise split

    kinldy help

  13. I need a range of cells to tell me a number when criteria from another cell range is met.
    EX: C3:C95 is where I need to know how many if range D3:D95 is "A"

    I have tried countifs in a variety of ways and can only get it to recognize 1 for any number placed in C3:C95

  14. Hi Seth,

    I am sorry that I could not come back to you earlier as I was out of town for a meeting.

    RE your query - you can select any number of codes you want from the "Codes" column drop down filter. Once you have done that select the date from the Dates column drop down filter and your result will be got.
    Remember the sequence of using the dropdown filters - First the Codes and then the Dates.
    Use of Slicers would be more easier for simple conditions.
    Regards
    Ramki

  15. Hello,
    I'm trying to find the formula for; if a given number out if entered number in a designated cell is one of the designated numbers, a give text populates in assigned cell.
    * assigned roster number I.E. 300,400,500,600.. = Team 1
    * assigned roster number I.E. 325,445,515,618.. = Team 2
    * assigned roster number I.E. 312,422,5671,643.. = team 3
    Etc.

    With that: The formula will see the entered number from tab #2 cell A3 roster number.

    Text populates of assigned team in tab #1 cell B2 from that data.

  16. Hello,

    I am trying to create an excel formula based on a tree risk assessment model with three variable factors:

    1) The size of part likely to fail
    2) The frequency of use of the area, and
    3) The probability of failure (PoF).

    Each variable has a range between 1 and 6. For example if the size of part equals 3, the frequency equals 2 and the PoF equals 2 then the overall risk is given as 1/4000.

    I have the table with all of the possible combinations of the 3 variables listed, each correlating to an overall risk ranking. My question is: Is it possible to create a formula based on the table to retrieve the specific risk ranking based on a random combination of the three variables?

    Any light shed on the topic would be greatly appreciated.

    Thanks,
    Andrew

  17. Thanks Svetlana... This post has been of great help to me... :)

  18. My question is I have to work out the number of instances where the figures over a number of cells and rows fall outside of a specified range.
    ie: column D to I from rows 3 to 233 have numerous figures, I have to work out the number of instances these figures fall outside of 4 and 7.

    1. Hello Wendy,

      If we understand your task correctly, you need the following formula:
      =COUNTIFS(D3:I233,">=4",D3:I233,"<=7")

      If it doesn't help, please send a sample Excel file to support@ablebits.com and include a link to this blog post with your comment number.
      We'll do our best to assist you.

  19. Hi Seth,

    The simple solution to your query is this:

    Step 1: Convert the data range to a Table [use Ctrl T] function.
    Step 2: When you have done this place your cursor on any part of the table and right mouse click and select Table and Total rows.
    Step 3: In the Code column select 13 and 18 and only those customers with the specified code will be listed.
    Step 4: In the date column select the date you want, for example 12/11/2015. The only the specified date will be displayed.

    The table can be expanded and more conditions via filter can be selected.
    Further, if you have Excel 2013 you can have Slicers as filters and visually you can select the criteria you want.

    Regards,

    ramki

    1. Hi Ramki, Thanks for the quick reply!
      Sorry, but I mistyped. The customer can has to have code(s) of 13 or 18 and an additional code(s) between 1 and 27. In the example the customer has a code 4. The dates must also match.

      Basically i am trying to count the number of customers who opened multiple accounts on the same day, but one or more of the accounts has to be a 13 or 18.

      Hopefully this helps clarify.

      Thank you!

  20. Hello, i am trying to count the number of customers in a list when each customer has a code of 13 or 18 and the same open dates. The last 2 in the list would "count"

    Code Date Opened Name id
    13 12/11/2015 Customer 4 63679
    18 12/11/2015 Customer 3 63693
    18 12/11/2015 Customer 2 63670
    13 12/11/2015 Customer 1 63715
    18 12/11/2015 Customer 1 63688
    13 12/12/2015 Customer 63770
    4 12/12/2015 Customer 63770

    I can't for the life of me figure out how!
    Any help would be greatly appreciated :)
    Thanks!

  21. Hi,

    I have a spreadsheet that I am working on and cannot figure out if I can do this or if this is even possible.
    So what I have is 3 columns. I have dates in 2 of them. I need the 3rd column to perform an "If" or "COUNTIF" statement that is.. If the date in column 2 is greater or after the date in column 1, calculate the days late or the difference in column 3. Is that possible? Would love to know. Thank you!!

    1. Hi Mariah,

      You can use the following formula in column 3:
      =IF(B22>A22,(B22-A22),"")

      Here column A is column 1 and column B is column 2.

      1. Thank you so much.
        I got it to work but how do I get it for the whole column? I was selected on one cell and did the IF statement but how do I set it for the whole column?
        Thanks again!

  22. hi Svetlana, i have created a any year calander, now i wanted to mention the holidays. here in Sri Lanka the holiday not constant for every year it is differ the other years, i think if we created a holiday chart and can match to the calender? pls help me

  23. I use this formula to Overlap dates with more criteria =COUNTIFS($A$3:$A$16,H3,$C$3:$C$16,">="&I3,$B$3:$B$16,"<="&J3)

    But i want to return value how to use index match formula in this formula

  24. Hi,
    I need to count many numbers within the same cell.
    For example, (10,12,13,15,16,17,18,20) is located at J16.
    The numbers represent calander week numbers for an event.
    At the moment I am physically counting many hundreds of these cells, high risk of human error.
    Can excel count the above example would = 8
    I can't use different cells, as software importing this data cannot deal with many cell references, only one cell.
    Thanks, Ed.

    1. Hi Ed,

      If we assume that there is always one more number than there are commas, you can use the following formula:
      =LEN(A1)+1-LEN(SUBSTITUTE(A1,",",""))

      Here A1 is the cell with numbers you want to count.

  25. hi

    I am doing a rota/roster based on our initials at work we rotate who works mondays. column a is date and column b is initials - how do i work out how many mondays people do by a formula?

    1. Hello Will,

      Please try to use the following array formula:
      =SUM((--(WEEKDAY(A1:A43,2)=1))*(1/COUNTIF($B$1:$B$43,$B1:$B43)))

      A1:A43 is the range with the dates here;
      $B$1:$B$43 is the range with initials.

      Once you enter the formula, you need to press Ctrl+Shift+Enter.

      If you don't get the expected results, please send a sample worksheet with your data to support@ablebits.com. Please include a link to this blog post and your comment number.

  26. Hi how to make formula for this long spreedsheets

    Building Name Received
    building 1 Chain
    building 1 Chain how many chain received by building 1 ???
    building 1 cups how many cups received by building 1 ???
    building 2 Chain
    building 2 Chain
    building 3 Chain
    building 3 cups
    building 3 glass
    building 4 pencil
    building 4 pencil
    building 100 bag

  27. How to make start time and finish time between many times in excel?
    For example, we want to know start time, finish time, and idle time for each hub.
    The raw data :
    Order Number Time Hub
    A-1 1/1/16 6:49 PM BSI
    A-2 1/1/16 6:49 PM BSI
    A-3 1/1/16 6:49 PM BSI
    ...

    Expected result :
    Hub Total Packages Start Time Finish Time Idle Time
    BSI 81 1/1/16 6:49 PM 1/1/16 6:52 PM
    BNO 50 1/1/16 3:32 PM 1/1/16 6:25 PM
    CKU 49 1/1/16 3:35 PM 1/1/16 6:27 PM

    1. Hello,

      You can use the following formula to calculate the start time:
      =MIN($B2:$B181)

      Here is the formula you can use for the "Finish time":
      =MAX($B2:$B181)

  28. how would I countif the criteria is a date and I want to count if the year matches?

    1. Hi Stacy,

      You can use the YEAR function to extract a year from a date.

      It's difficult to suggest an exact formula without knowing anything about your data.

  29. Hi,

    I am very much happy to see your blog for all clarifying excel formulas..
    there are two sheets around 20,000 thousand lines the projects are repeated each lines had X value in one sheet and another sheet had Y value...

    My questions are...
    How to accumulate value project wise between X and Y and comparing the difference...without using pivot and v lookup formula...

    thanks
    shakthi

  30. I am trying to construct a very complicated count if formula that will track if my Cubscouts have completed certain NOVA achievements. http://www.scouting.org/stem/Awards/CubScout.aspx

    For Example To earn the CubScout NOVA Award: Science Everywhere

    Condition #1 Ai and Aii>1
    OR
    Condition #1 Bi and Bii>1
    OR
    Condition #1 Ci and Cii>1
    AND Condition#2 A:E>0 (pick one A thru E)
    AND Condition #3 A:C=3 (do all A, B and C)
    AND Condition #4 A:B=2 (do A and B)
    AND Condition #5 A=1 (do A)

    Each requirement will be listed in a row and then the individual boys will be tracked in the columns. I can send a spreadsheet with these entered if it is easier to visulaize it that way

  31. Hi,

    I need help to complete my first excel document. details below.

    I need to add criteria in Validation like this (MV1601, MV1602, its needs to continue up to MV1654 ). Can anyone please help me to finish my document soon.

    Many Thanks
    Mahesh

  32. Hi Svetlana,

    I am attempting to create a formula which sums one cell based on two other cells meeting a certain criteria (month and a specific word).

    Cells A3:A2000 are where my dates reside.
    Cells B3:B2000 are where my cost resides.
    Cells E3:E2000 are where the word resides.

    If cells A3:A2000 has a date within January and cells E3:E2000 has the word Groceries, I would like to Sum cells B3:B2000.

    Thanks for any time you have in dedicating to this question.

    1. Hello, Daniel,

      You can try the formula below:
      =SUM((B3:B2000) (MONTH(A3:A2000) = 1) (C3:C2000 = "Groceries"))

  33. Hi, I need a total count how often a student has achieved a grade of C or above (A*, A, B or C). The cells containing the grades are not next to each other so I need to have a range of data counted from separate cells and presented as one number.

    1. Hello, Mark,

      Please use this formula:
      =CONCATENATE("A* = ",COUNTIF(A:A,"A*"),", A = ",COUNTIF(A:A,"A"),", B = ",COUNTIF(A:A,"B"),", C = ", COUNTIF(A:A,"C"))

      Here A:A - is the range with the grades.

  34. Hi I have a Excel Sheet, Where i have Numbers achieved by sales team like (In Column A)
    1005,25900,5000,2005,1598,5368 etc..now i want to use a formula where i need to get the answer like..
    if in Column a amount is upto 1000 then in column be it should count 2 points and if amount is in between 1001-2000 then 3, if amount is 2001-4000 then it should show as 5..

    can u help on this

    1. Hello, Charu,

      Please enter the formula below to B1 and copy it across the column:
      =IF(A1 < 1001, 2, IF(A1 < 2001, 3, IF(A1 < 4001, 5)))

  35. How can I calculate the number of leads received during specific time ranges. E.g. how many leads did I received during 0:01:00 to 0:30:00 and so on.

    I've 10,000s of leads received during 0:00:01 to 24:00:00. I am taking a time range of 30 minutes, 0:01 - 0:30, 0:31 - 1:00 an so on..

  36. Hello, I have founded a very important function from this site.
    thank you very much.

  37. Count the number in Unic criteria. To say

  38. I'm trying to use countif or countifs to count how many times a name shows up, the catch is there are many names, and I don't want to find all of them to do =countif(a5:a25,"JANE DOE"). Is there a way for excel to count and prompt the name & qty? I'm trying to calculate how many ECNs are assigned to individuals within a large group. Thank you for your help!

    1. Hello, Jules,

      Please try the following:
      1. Select an empty cell in your table
      2. Go to the Data tab -> Consolidate
      3. Select Count from the Function drop-down list
      4. Highlight the column with names and the one next to it
      5. Tick the left column check-box and click OK.

      Hope this helps.

  39. my problem that conditional formatting in sheet formula that if date enter than red color how cell end count automatically red color
    exp:-
    09/01/2016

    09/01/2016

    how to count two cell red any formula

  40. i have a table of employees by department and then a breakdown per day of holiday days and i need to count the amount of holiday days by department by month. is this possible?

    1. Hello, Natasha,

      For us to be able to help you better, please send us a sample table with your data in Excel. You can email it to support@ablebits.com. Please add the link to this article and your comment number.

  41. Hello, I have been trying to figure out how to come up with a formula that counts cells from two different columns but that both represent one person. For example, I have an admitted column and a discharge column for clients. I'm looking at the first quarter of the fiscal year which counts October, November and December. However, when looking at each month individually, for example, October has clients that were admitted in August so I am trying to come up with something that counts before October but not after October as well as before November but not after November, etc. Does that make any sense? I apologize, I have been working on this for a while.

    1. Hello, Mayra,

      For us to be able to help you better, we need a sample table with your data in Excel. You can email it to support@ablebits.com. Please add the link to this article and your comment number.

  42. A B
    KPC164-FAB-Z13-BW20D-01#0001 19-Dec-15
    KPC164-FAB-Z13-BW20D-01#0002 19-Dec-15
    KPC164-FAB-Z14-BW20D-01#0002 15-Dec-15
    KPC164-FAB-Z14-BW20D-01#0003 15-Dec-15
    KPC164-FAB-Z15-BW20D-01#0023 05-Dec-15
    KPC164-FAB-Z15-BW20D-01#0024 05-Dec-15

  43. Hi!

    I have 2 column in I need to count the date on column "B" with the corresponding text on column "A"
    I want to count this : Z13-BW20D IF I HAVE CORRESPONDING DATE ON COLUMN "B"

    Can some giving me a little help for this one?

    Sample:
    ___________( column A)_____ (Colum B)

    KPC164-FAB-Z13-BW20D-01#0001 19-Dec-15
    KPC164-FAB-Z13-BW20D-01#0002 19-Dec-15
    KPC164-FAB-Z14-BW20D-01#0002 15-Dec-15
    KPC164-FAB-Z14-BW20D-01#0003 15-Dec-15
    KPC164-FAB-Z15-BW20D-01#0023 05-Dec-15
    KPC164-FAB-Z15-BW20D-01#0024 05-Dec-15

  44. Please reply soon in my mail id.

  45. Hi Svetlana Cheusheva Mam, Please solve my problem. There are subject codes and grades scattered in various columns & rows in excel sheet. How can i extract counted grades & codes in one cell of excel sheet jointly. What formula use in it. for example excel sheet given below yellow for your knowledge subject code 41 and next row grade A1 A2 B1 B2 C1 C2 D1 D2 .HOW TO COUNT TOTAL 41 A1 IS ............?
    CANDIDATE NAME SUBJECT CODE MRK GRD SUBJECT CODE MRK GRD SUBJECT CODE MRK GRD SUBJECT CODE MRK GRD
    RAM 30 99 A1 41 95 A1 30 99 A1 41 95 A1
    SHYAM 41 99 A1 48 95 A1 41 99 A1 48 95 A1
    RAJ 30 94 B1 41 88 A1 30 94 B1 41 88 A1
    PHILP 37 92 A2 42 80 B1 37 92 A2 42 80 B1
    PIKASO 41 80 A2 42 91 A1 41 80 A2 42 91 A1
    PHAS 37 93 A1 42 81 B1 37 93 A1 42 81 B1
    PARI 37 90 A2 42 70 B2 37 90 A2 42 70 B2
    RAJ 30 88 A2 41 68 B2 30 88 A2 41 68 B2
    RAMCHARAN 41 93 A1 42 82 A2 41 93 A1 42 82 A2
    ANUPAM 41 77 B1 42 82 A2 41 77 B1 42 82 A2
    VIJAY 41 80 A2 42 78 B1 41 80 A2 42 78 B1
    VISHAL 41 82 A2 42 73 B2 41 82 A2 42 73 B2
    VINAY 37 82 B1 42 65 C1 37 82 B1 42 65 C1
    VIMAL 41 72 B1 42 67 C1 41 72 B1 42 67 C1

    1. please give reply me as soon as possible.

      1. CANDIDATE NAME SUBJECT CODE GRD SUBJECT CODE GRD SUBJECT CODE GRD SUBJECT CODE GRD
        RAM 30 A1 41 A1 30 A1 41 A1
        SHYAM 41 A1 48 A1 41 A1 48 A1
        RAJ 30 B1 41 A1 30 B1 41 A1
        PHILP 37 A2 42 B1 37 A2 42 B1
        PIKASO 41 A2 42 A1 41 A2 42 A1
        PHAS 37 A1 42 B1 37 A1 42 B1
        PARI 37 A2 42 B2 37 A2 42 B2
        RAJ 30 A2 41 B2 30 A2 41 E
        RAMCHARAN 41 A1 42 A2 41 A1 42 A2
        ANUPAM 41 B1 42 A2 41 B1 42 A2
        VIJAY 41 A2 42 B1 41 A2 42 B1
        VISHAL 41 A2 42 B2 41 A2 42 B2
        VINAY 37 B1 42 C1 37 B1 42 C1
        VIMAL 41 B1 42 C1 41 B1 42 C1

        Sub. Code Total code A1 A2 B1 B2 C1 C2 D1 D2 E TOTAL
        30 6 result here
        41 20 8 6 4 1 0 0 0 0 1 20 IT IS MANUALLY COUNT AND WRITE
        37 8
        48 2
        42 20

        TOTAL IS MANUALY COUNT AND WRITE. YOU C A1 A2 B1 B2 C1 C2 D1 D2 & E BLOCK
        I WANT FORMULA IN BLOCK THAT AUTOMATICALLY COUNT AND WRITE . I HELP YOU FOR YOUR UNDERSTANDING . ONE LINE

        There are subject codes and grades scattered in various columns & rows in excel sheet.
        How can I extract counted grades & codes in one cell of excel sheet jointly. for example code 41 get A1, A2 B1 B2 C1 C2 D1 D2 & E. for example given below.

  46. Happy New Year Svetlana!

    I would like to know how to find text in a range on a sheet that will display in a cell based on the criteria inputted in adjacent column:

    So, I have an excel sheet "other sheet" showing a database of reg plates and vehicle type for a fleet of vehicles. On another sheet "current sheet", I need the vehicle type to display automatically in one column (see below where it says formula) when I type the reg plate number in the adjacent column.

    THANKS :)

    CURRENT SHEET OTHER SHEET
    REG TYPE REG TYPE
    A B 123 NISSAN
    1 123 formula 321 LANDROVER
    2 321 456 BUS
    3 456

    1. "CURRENT SHEET"
      REG 123, 456, 345
      TYPE FORMULA REQUIRED

      "OTHER SHEET"
      REG 123, 456, 345
      TYPE NISSAN, LANDROVER, BUS

  47. Hi Svetlana,

    What formula can be used to find the count of cells that contain the text that is present in some other cell?

    For eg. i can hardcord the formula like this: COUNTIF($E$3:$W$17,"Svetlana")

    But instead of "Svetlana", i need to give the cell address.

    1. *hardcode

      1. Hi Mayur,

        Nothing prevents you from supplying the cell address to the formula, e.g.:

        =COUNTIF($E$3:$W$17,$A$1)

  48. Hi Svetlana,

    I'm trying to count the instances a value is less than zero given two dynamic column ranges match. They are named ranges 'universe' and 'markets'. I have the following formula to give me the total number of instances that I have a match but I'm not sure where to add the criteria to return how many of these matches are less than 0.
    {=COUNT(IF(ISNUMBER(MATCH(universe,markets,0)),$A$7:$A$35))}

    Thanks for having a look!

  49. i have a data in excel sheet with cell content like this
    the a 1,2,3
    the p 1,2,3
    how do i count the number of commas in the range with cell content.
    i want the outcome like this
    cell_contain count
    "the a" 3
    "the p" 3
    i'll be very thankful if you provide answer for my query

  50. How do I make a formula that states that column D is 30% of Column D?

    1. Hi Sasha,

      Probably there's some misprint here. Column D cannot be 30% of the same Column D :)

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)