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
by Svetlana Cheusheva, updated on
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 56. Total comments: 2053
Hi! Here's the data I want to process. I want to count the number of entries a specific person submitted that matches anything except Not Qualified.
DECLINED Peñalosa, Joyce Ann
NOT QUALIFIED Calvo, Vivian
CALLBACK Roda, Scepter John
NOT QUALIFIED Henardino Jr., Edwin
NOT QUALIFIED Asentado, Darell
CALLBACK Peñalosa, Joyce Ann
DECLINED Roda, Scepter John
CALLBACK Alipio, Marisel
DECLINED Emeterio, Absalon
NOT QUALIFIED Solomon, Cinderella
NOT QUALIFIED Solomon, Cinderella
CALLBACK Toring, Jared
CALLBACK Henardino Jr., Edwin
NOT QUALIFIED Viscayno, Mabel
NOT QUALIFIED Viscayno, Mabel
DECLINED Solomon, Cinderella
SCHEDULED Roda, Scepter John
CALLBACK Emeterio, Absalon
NOT QUALIFIED Henardino Jr., Edwin
NOT QUALIFIED Trocio, Princess Joy
CALLBACK Baruel, Coleen Grace
CALLBACK Baruel, Coleen Grace
CALLBACK Baruel, Coleen Grace
NOT QUALIFIED Toring, Jared
SCHEDULED Solomon, Cinderella
SCHEDULED Gamboa, Estrella
DECLINED Peñalosa, Joyce Ann
DECLINED Calvo, Vivian
NOT QUALIFIED Alipio, Marisel
CALLBACK Baruel, Coleen Grace
CALLBACK Arizobal, Argin
DECLINED Calvo, Vivian
NOT QUALIFIED Arizobal, Argin
CALLBACK Toring, Jared
DECLINED Emeterio, Absalon
SCHEDULED Peñalosa, Joyce Ann
NOT QUALIFIED Henardino Jr., Edwin
Hello Shwan,
Here you go:
=COUNTIF($B$1:$B$100, "Person Name") - COUNTIFS($B$1:$B$100, "Person Name", $A$1:$A$100, "Not Qualified")
I want to be able to check if data in one cell in column a = x and then if so count the data in adjacent cell in column b.
To explain in more detail, I am creating a statistics chart where commissioners need to be able to be able to compare data for region 1 to region 2 and region 3.
So column A will contain region keys such as 1, 1, 1, 2, 3, 3 then in column B will be ages. So if column A contains a 1 collect data in cell adjacent to the cell it is counting.
Hi,
I want to create a formula that counts how many of the letter 'y' occurs in particular columns but not in a range. The columns I want to search are D2, F2, H2, J2, L2, N2, P2, R2, T2, V2. The problem I'm encountering is that I don't want to search E2, G2, I2, ... I then want to have this formula for all rows in the spreadsheet. I don't see the answer above ... Thanks!
Hi,
Below is my issue. I have a few statuses which can be used to a closed ticket. I want to count all the closed tickets in the worksheet using the status. I used below formula but it did not work. Please help..
COUNTIFS(A2:A1000,"A",B2:B1000,"Night",C2:C1000, OR("Solved","Cancelled",....))
Department Shift Status
A Night Solved
A Night Cancelled
Thanks in Advance!
Chalinda
Sorry it hasn't posted correctly - just looks a mess
Hi Wayne,
Regrettably, our blog engine is not perfect... If you can send us your sample workbook at support@ablebits.com, it will be easier for us to figure out the task.
Hi, hope you can help. I'm trying to get a cell give me a figure of the following(Cell A is First Aid Course and Cell I says they attended or not attended) - I don't want it to count if the cell is blank (so basically a upcoming course)
Example
Course Title Start Date End Date Tutor Customer Name Attended?
First Aid 01/11/14 14/11/14 John Paul Jones Attended
First Aid 01/11/14 14/11/14 John Sarah Smith Attended
First Aid 01/11/14 14/11/14 John Mo Ali FTA
Food Safety 11/11/14 15/11/14 Lee Paul Jones Attended
Food Safety 11/11/14 15/11/14 Lee Sharon Jones FTA
First Aid 24/11/14 31/11/14 John Steve Bi
First Aid 24/11/14 31/11/14 John Simon Gee
Result to go into this type of box
Course Name Total Referred Attended FTA
First Aid ? ? ?
Food Safety ? ? ?
I can send on the sheet if its easier.
Thanking you in advance
regards
wayne
i need a formula to automatically check mark i.e(ü) mark a cell(eg:A1) if another cell (eg:H1)contains number:1
Condition is H1 may contain any numbers like 1,2,5,6,8 to 20
A1 should check mark only if there is 1
( if i drag formul A2 should check mark only if there is 2...and process upto A20 i.e number 20)
Formula should come like this:
(A1:A20) should Check H1 if perticular number contains in that cell i.e
check H1 if it contains 1,3 then tickmark A1 A3
check H1 if it contains 2, 20 then tickmark A2 A20
check H1 if it contains 3 then tickmark A3
upto 20numbers
Formula should come like this:
(B1:B20) should Check H2 if perticular number contains in that cell i.e
check H2 if it contains 1,3 then tickmark B1 B3
check H2 if it contains 15 then tickmark B15
check H2 if it contains 18 then tickmark B18
Upto 20 numbers
IF IT IS NOT POSSIBLE TO USE NUMBERS IN SINGLE CELL
I CAN TAKE H1 I1 J1...
Hello Wilfy,
If you can send your workbook with the source data and the result you want to get to support@ablebits.com, our support team will try to help you.
If a worksheet arranged as mentioned below, HOW CAN COUNT HOW MANY CT BECOME BETWEEN AGE OF 21 TO 25. I HAD TRIED TO CALCULATE THIS IN ANOTHER SHEET BY USING FORMULA =COUNTIFS('NOMINAL ROLL '!A:A,"=CT",'NOMINAL ROLL '!C:C,">=21",'NOMINAL ROLL '!C:C,">=25"). BUT NOT SHOWING ACTUAL RESULT. REQUEST INTIMATE A SUITABLE FORMULA TO SOLVE THE THIS PROBLEM, PLEASE.
NOMINAL ROLL (SHEET-1)
A B C
RANK NAME AGE
CT Vinod Singh 22
CT Rajesh Kumar Purohit 24
CT VIJAY KUMAR 25
SI CHANDAN KR PASWAN 25
CT MANTU KUMAR RAM 23
CT MITHILESH KUMAR JH 24
CT PURUSHOTAM KUMAR 23
CT AJAY MANDAL 27
SI KAILASH SOREN 29
CT DEBASHIS SHIL 27
SI CHHOTU UJMODAK 30
CT DIPAK TIGGA 27
CT SUMANTA KR DAS 30
CT SAGAR DHAMALA 28
HC SANDEEP KUMAR 25
CT RAYAZ AHMAD 23
CT MONIRATH MONDAL 23
CT BABLU NAIK 23
HC PRADIP MONDAL 23
CT TAPASA ROY 25
Hi Satheesh,
Your formula looks correct, just replace >=25 with <=25 :)
Hi,
How can I solved to multiple word in a criteria from single word in a excel file. pls help me
Hello Rasel,
I am sorry, your task is not clear. If you can describe it in more detail and give some example, we'll try to help.
Thanks for your replay......
Actually I would like to say,
which formula should I use from multiple condition but value will be text.
For example: sumifs functions.
If I use to sumifs formula then it result any data but it not be text.....
Please help me if you cooperated me..
Hi,
Column A: dates
Column B: numbers
I would like to calculate the number of times values in column B within a specified range occur within a specified date range. I've emailed an example file to support.
Any help would be much appreciated.
Many thanks,
Dan
Hi Dan,
I believe the following formula will work for you:
=COUNTIFS($B$2:$B$75, ">=6", $B$2:$B$75, "<=7", $A$2:$A$75, ">="&F2, $A$2:$A$75, "<="&G2)
I emailed you the worksheet with the formulas a moment ago. Hopefully, this is what you are looking for.
Hi, i have some formula populated column.
I was trying to do a COUNTIFS(,"") to find the data which condition false.
But i understood that COUNTIFS takes the formula as a value and gives a erratic value.
Can you guide?
Hi there - hoping you can help please!
I have two columns
Total Sessions Location
1 S
10 B
5 S
6 B
what is a countifs formula to reference the location and return and count the sessions please?
many thanks
hi i am stuck in a prob.
i want to count the two digits numbers in a given data.
i applied =ccountif(RANGE,LEN(RANGE)>2)NOT WORKING
Hi KC,
If my understanding of your task is correct, you need a SUMIF formula rather than COUNTIF. For example, the following formula will pick all "b" locations in column B and return the total of corresponding sessions (column A):
=SUMIF(B:B,"b",A:A)
In your example, the result will be 16. If you are looking for something different, please clarify.
I am trying to use countif to return a value of less than or equal to 15 for a range of cells in column A. It keeps returning a zero result. My formula looks like this : =countif(A3010:A3190,"<=15"). Does it matter that my A column is actually a formula that is resulting in the numbers being displayed?
I have a set of customers and their ages in the Rows. In the Column section, I have a set of ranges from: <12months, <36months, <3years, 3 and <7years, 7 and <17 years, 17 and <40years. I want to add a "1" down the columns for each customer that is <12months, or less than 3 years, etc...Then I want to count how many of them are in that age group and get the total for each age range. May you help me please?
Hi There,
I have tried multiple functions and nothing works!! I have tried COUNTIF, COUNTIFS, SUMIF, SUMPRODUCT and I cannot get the result I need!
can you help.
I am trying to count the number of cells which contain a certain Text before a date.
I used this formula to calculate all cells within a month that belong to date
=SUMPRODUCT(--(MONTH(J6:K1000)=11)*(YEAR(J6:K1000)=2014))
but now I need the first criteria to be a text specifically "DT*", and the second to be before november (<11)
can you help?
I have a workbook with multiple worksheets of inventory from various departments. I'm trying to create a summary page that sums the different categories of inventory from each worksheet tab. For example, how many desks do we have in total.
My worksheets are set up like this:
Desks. 26
Chairs. 57
Cabinets. 1
But the info isn't in the same cells on each worksheet.
Is this possible? Im p.yaong with countif but can't get it to work.
Hi Dean,
An immediate solution that comes to mind is using a combination of SUMIF functions like this:
=SUMIF(Sheet2!A2:A7, "desks", Sheet2!B2:B7) + SUMIF(Sheet3!A6:A17, "desks", Sheet3!B6:B17)
Where column A contains the categories of inventory and column B - the corresponding numbers. You can specify different ranges and different columns for each sheet.
For more information about the SUMIF function with multiple criteria, please see this tutorial:
https://www.ablebits.com/office-addins-blog/excel-sumifs-multiple-criteria/
Nevermind! I found the solution elsewhere.
I have a situation where the text that I want to count instances of is in various locations within the cells, e.g. A1 cell may contain 'Dog'; A2 cell may contain 'Cat, Dog', cell A3 may contain 'Bird, Cat, Dog'. I want to count all of the instances within the column that contains the word 'Dog'. It seems that no matter how I try to finesse this using COUNTIF and COUNTIFS with FIND and SEARCH etc. I can't seem to get this to work.
Please help.
I'm trying to create a spreadsheet to keep up with employee's absences, tardies, etc. for a year. Each incident is not counted after a year. So I have a cell on top that says today's date and used =today() so that when I open the file the date will fill in. I have the dates in the first column, the second is tardies, leave early and vacation. On top under today's date, I want it to show the total Tardies, for a year (from today minus one year).
Today's Date '=today()
Tardies ??? <---- This should be a total for the year using
Leave Early ??? <---- same as above
vacation ??? <---- same as above
Date Tardies Leave Early Vacation
11/01/13 1
11/02/13 1
11/03/13 1
11/04/13 1
11/05/13 1
11/06/13 1
For Example: the ???'s above should add from today (11/2/14) to 11/2/13 and give me a total of 2 so that when I open the spreadsheet on a certain day, that information will automatically update and show me how many tardies, leave earlies and vacation days they have for that given year.
how would I write it sothat I could count a number if a condition is met EG
A2=Knife
B2=2
A3=Spoon
B3=4
A4=Fork
B4=3
A5=Knife
B6=7
and I want b1 to count where A2:A5 = Knife but use the totals in B2:B6
So it would count = 9
Hello Zak,
You need to use the SUMIF function for your task, here is the formula:
=SUMIF(A2:A5, "Knife", B2:B5)
For more information about SUMIF, please see this article:
https://www.ablebits.com/office-addins-blog/excel-sumif-function-formula-examples/
Hi all,
I Believe someone can help me here. what i want is from few different cell, i want to select certain letters or numbers. and want to to be able to link to one cell where it
collect the selected letters and numbers from different cell and show as eg. cell 4 = (12345GB).
eg. cell 1 = 0012
eg. cell 2 = 4434
eg. cell 3 = Good Buy
i hope this is clear. its just so as i am inputting data on other cells and it generates like a ref if you like on the cell 4 as i instructed.
please help?
Hi,
I want to count 1 column of data (contains £££) if another column contains a specific word.
Could you help?
Thanks
Hi RC,
I am not sure I understand your task correctly. Anyway, if you want to sum cell in column A if a corresponding cell in column B contains a given word, you can use the following SUMIF formula:
=SUMIF(B:B,"word",A:A)
1
2
3
4
5
6
7
8
9
10
25
64
54
654
546
40
so how can find highest number in excel sheet
Hi Zaheer,
You can use the MAX function for this, e.g:
=MAX(A1:A20)
Where A1 is the first and A20 is the last cell in the range.
as example,,in the first sheet as below,,,
A B D E F
CODE FILLING STATION K.M AMOUNT ALAWNS
5347 FALAJ AL-QABAIL F/S 15 16.74 1
5294 FALAJ AL-QABAIL T 16 23.02 1
5365 FALAJ AL-QABAIL N 17 23.02 1
5727 SHINAS F/S 12 24.7 1.5
5124 SOHAR BEACH F/S 25 24.7 1.5
5530 SOHAR TREEF F/S 25 24.7 1.5
5336 AL-WUQAIBA F/S 28 29.3 1.5
5054 SOHAR SINAIYA F/S 29 29.3 2
5299 SOHAR F/S 29 29.3 1.5
5442 HUMAIRA F/S 30 29.3 1.5
5211 AQAR F/S 45 38.51 2.5
5438 AQAR TWIN FjS 47 41.86 2
in the second sheet will be like as below,,,
J k L M N
CODE FILLING STATION K.M AMOUNT Allowances
5727 ? ? ? ?
5442 ? ? ? ?
5294 ? ? ? ?
My question is ,,if i type the number which is i column "A" in the secound sheet in the column "J" how can i make a formula to get the information from
column "B" ,"C" , "D" , "E" in the secound sheet in the column "K" , "L"
"M" ,"N" , ???or whatever columns in any sheet even at the same one,,
i hope my question clear to you
Thanks in Advance
Hi
I am currently struggling with this - I need a formula that works out the oldest date in A that does not have a processed date in Q.
I have a formula that works out A =MIN(Audits!A7:A3026)but cannot figure out the COUNTIF for the second criteria, does anyone know if I am on the right track with a COUNTIF or am I just doing this wrong?
Regards
Thank you for the details shared.
I have 4 digit numbers like 1234,2345,2334, etc. i want to know when 4 comes as 4th digit which number comes mostly in 3rd digit as well as in the 1st and 2nd.
there are thousands of numbers looking forward for your reply. it would help me a lot
hello
-----A----------B------------C------------D-----------E
--CODE------LOCATION-------KM-----------COST--------EXTRA
--100-------SOHAR---------50------------25-----------2--
hi,
can you help please,,,
i have five columns with differents informations and want to get all in another sheet by using only code, example:
A B C D E
CODE LOCATION KM COST EXTRA
100 SOHAR 50 25 2
the information in the cells never change,,,can i make a formula ,when typing a code then get the other information in another 4 cells
thanks
Greetings,
Maybe I missed the answer but need help in applying a formula to only count dates that are within the last year. My data is pulled from SharePoint Lists then using another tab I am able to count how many items are done based on each section (currently have 5 different sections)
The formula I am using is:
COUNTIFS(Table1[Section],”Section”,Table1[Safety],””)
I would like it to only count the dates in Safety that are within the last year when the sheet is refreshed.
Any help will be greatly appreciated.
After safety I have between the quotes in the formula.
I need to calculate following Commissions on Sales how can i put in Formula
<=20,000 = 1000 (Fixed)
20,000 to 50,000 = 4%
50000 to 100,000 = 3%
100,000 to 200,000 = 2.5%
And
200,000 and Above =2%
Please help me ...
Hi,
I came across to this forum and it looks nice.
I need your help in excel that would assign the same number in multiple rows example below.
I need to do this in 58,000 plus records and really want to somehow automate the process.
Col1 Col2 Results
Kit 1 Kit 1
Kit 2 Kit 1
Kit 3 Kit 1
Len 4 Len 2
Len 5 Len 2
Len 6 Len 2
Len 7 Len 2
Daddy 8 Daddy 3
Daddy 9 Daddy 3
Daddy 10 Daddy 3
Amy 11 Amy 4
Amy 12 Amy 4
Amy 13 Amy 4
Stephanie 14 Stephanie 5
Stephanie 15 Stephanie 5
Stephanie 16 Stephanie 5
Mommy 17 Mommy 6
Mommy 18 Mommy 6
Mommy 19 Mommy 6
Mommy 20 Mommy 6
Col1 Col2 Results
Kit 1 Kit 1
Kit 2 Kit 1
Kit 3 Kit 1
Len 4 Len 2
Len 5 Len 2
Len 6 Len 2
Len 7 Len 2
Daddy 8 Daddy 3
Daddy 9 Daddy 3
Daddy 10 Daddy 3
Amy 11 Amy 4
Amy 12 Amy 4
Amy 13 Amy 4
Stephanie 14 Stephanie 5
Stephanie 15 Stephanie 5
Stephanie 16 Stephanie 5
Mommy 17 Mommy 6
Mommy 18 Mommy 6
Mommy 19 Mommy 6
Mommy 20 Mommy 6
hi,
i have multiple mobile numbers where i want to check that how many time 1 Numbers coming but i am not able found however i have check with countifs but it not happening so please help me then how can check such type values in 10 digit mobile numbers
Regards
Bhajan lal Sharma
Ok. Because question 4 passed in mass i need to track earned sick time. I want to set up the sheet that if a cell is 30 the next cell =1 if 60 =2 and so on. What formula should I use.
Is there way count cells when the date change? Say for instance I have a list people and their birthdays. Column A includes the names and Column B includes the birthdays. Is it possible to count how many people have the same birthdays? I believe I can do it birthday individually but is there is there a function that will automatically count them. I am do something similar to that however I have over 75,000 records to check. Is there that well automatically give me total after each birthday is changed. Like, if the previous birthday is not equal to the next date, display total of the previous birthday and reset total. Please advise. Thanks in advance!
Svetlana,
Having some dificulties trying to figure out, how to count certain transactions that met 2 criterias City=Dallas and Type=SH.
The table has multiple values and the following columns
City
Date
Type
Transaction
I have been trying using Countifs, with no success.
Thanks a lot for your support.
Juan Pablo...
Hello Svetlana,
can you help please?
I have a workbook referencing different tabs, on one sheet I have:
Crew Manpower
A 4
A 4
B 5
C 3
And on the other sheet I have:
Crew Crew Member
A John
Steve
Beto
Frank
B Ted
Mike
Chris
Nate
Terry
In the cell that states "Manpower" I wan to count the number of crew members according to the "crew" letter. I've tried nested COUNTA, IF, AND COUNTIFS and i keep getting errors.
what am i doing wrong?
Thank you!
Hi,
Im trying to do a sum of a range whilst looking at the date completed, for example....
Qty Date
5 02-Oct-14
100 02-Nov-14
5 02-Oct-14
5 02-Nov-14
4 02-Nov-14
54 02-Dec-14
5 02-Dec-14
6 02-Dec-14
Is there a formula give me the sum of left column against the factor Oct for instance and should bring back the result 10.
Thanks for your help
Gavin
Is there any way I can use a formula that will add up different amount of rows but in the same column? Example. In cell AG12, I need it to have the sum of AF8:AF12, however, then I need AG15 to have the sum of AF13:AF15
The only solution I can suggest in this case is writing different formulas for those cells.
Hi Svetlana,
I have data in Col that A.
I want to know no of lines between each pipe (|)
Expected Result in B col for
first pipe is 0
Second Pipe is 6
Third Pipe is 7
Data
|
1
ZGF1213420
S ILIYAAZ
S AZEES MIAH
34-53-22
29
|
2
ZGF0316174
U SUMALATA
NARASHIMHA
MURTHI
53/1
21
|
Kindly do the neeful.
I have emailed the sheet to you emailid.
Hi Khalid,
You need a special macro for your task, sorry I cannot help with this.
I skimmed the comments and didn't see my situation listed:
I want to determine the number of unique entries in a column (D:D) that fall between a pair of dates (say a1 and a2) where the dates of the events are in a different column (J:J).
I know I can count all of the entries in the date range using
=COUNTIFS(!J:J, ""&A2)
and I know I can count all of the unique entries in D:D using
=SUMPRODUCT((D:D"")/COUNTIF(D:D,D:D&""))
How do I put them together?
That didn't post right:
COUNTIFS(J:J, ""&A2)
It's not posting correctly, but hopefully you can interpret what I mean.
COUNTIFS(J:J, ""&A2)
Thank you for any help.
Hello!
Regrettably, we don't know the way to fulfill your task using just one formula. You can either add a helper column or use a VBA macro.
For example, you can enter one of the following formulas in cell K2 (if unique entries are checked by column D and date range):
1 =IF(AND(J2>=$A$1,J2<=$A$2,COUNTIFS(D:D,D2,J:J,">="&$A$1,J:J,"<="&$A$2)=1),1,0)
If you check for unique data only by column D:
2 =IF(AND(J2>=$A$1,J2<=$A$2,COUNTIF(D:D,D2)=1),1,0)
Just copy the formula to the other cells of the helper column and then sum the data in the column.
Thank you for the quick and informative reply.
Hi
I want to use coutifs to select some criteria and count the number of unique numbers (or text) in a column.
Is this possible?
eg I have a list of product codes and each code as a different column for the colour, I want to count the number of product codes (ie some are in more than once)
Cheers, Kate
Is it possible to change the value of a cell so that is counted as two as opposed to one? I'm using COUNTIF to calculate the number of hours each employee is working in a schedule, but some cells equate to 2 hours and others equate to 3.
Hi Abby,
And how do you determine that a particular cell equates 2, or 3 or 1?
In cells A1 to A30 I have 2 alphabets A&E and in the BCells have values .I need a formula to count the no. Of values of A& E in the Bcell. Pl help
Hello Gespion,
Try the following formulas:
Sum values in column B corresponding to "A" in column A:
=SUMIF(A1:A20,"a",B1:B30)
Sum values in column B corresponding to "E" in column A:
=SUMIF(A1:A20,"e",B1:B30)
Hi,
Your example 4: The formula show B and C cells but you highlighted B and D cells in the printscreen.
Regards.
Hi - how can I find the LATEST TIME for different products. Product can be repeated multiple times. example:
Prod1 - 12:30
Prod1 - 13:45
Prod2 - 07:00
Prod2 - 16:00
Prod1 - 09:00
Now it should report Prod1 as 13:45 and Prod2 as 16:00.
Thanks for your help in advance.
Hey Svetlana Cheusheva, I am trying to count values in a column, but I would like to leave out all the blanks and 0 values. Any help would be appreciated.
Hi,
I have a doubt in excel. I have row from a1 to d1 with numbers or string and c1 have no numbers or string.
what i am looking is when any cell is blank then the formula would return the text otherwise sum of all number from a1 to d1.
reply or solutions much appreciated
thanks
hi
Can you explain with an example?
If you come with an example that would be great
I don't have too much experience but I think a simple if min=0 then text else sum shoulf=d be easy to make.
Hi there,
Here is the formula I am working with that almost produced the desired result:
=COUNTIF('Entity SPORTS'!$A6:$A20,"'Entity SUMMARY'!A6")+COUNTIF('Entity SPORTS'!$C6:$C20,"m")
I want to count ONLY IF the first part is true AND the second part is true. Should I be using a different type of formula?
To provide some context: On one worksheet I have a list of clubs (column a - club name is repeated as many times as there are people in the club), the names of the people in the clubs (column b), and their gender (column c, listed as M or F). I want to summarize the number of males and females for each club on a separate worksheet so that column A states the club name, column b will have the number of M, and column C will have the number of F.
Any help would be greatly appreciated!
Hi Svetlana, I just sent you an email asking for your help with a formula. Thank you so much for all you do!
Hi, Svetlana,
Do you know if you can use countifs accross multiple worksheets? I'm tyring to count an occurance of a entry from a pick list, it occurs in the same column on each sheet but I can't find out how to reference multiple sheets?
Any help would be greatly apprciated!
Hi Brandy,
Just add a sheet's name with the exclamation mark before the range, for example like this:
=COUNTIFS(Sheet1!A:A,1, Sheet2!A:A,1)
This formula counts how many 1's there are in column A in Sheet1 and Sheet2 in the same rows.
Hello Svetlana,
Iam impressed with your suggestions given above.
below is the table for date & related days. I want count of total Saturdays. Means it should not consider repeated entries of same dates.
My result should be 2.
Can you help me
3-Jan-15 Sat
3-Jan-15 Sat
10-Jan-15 Sat
10-Jan-15 Sat
Thanks in advance.
Hello Tushar,
If you want to count only unique Saturdays, then you need to add a helper column to your table.
Please enter the following formula into the 2nd cell of the helper column:
=IF(AND(COUNTIF($A$2:A2,A2)=1,WEEKDAY(A2,2)=6),1,0)
Where A is the column with dates.
Then just copy the formula down to the end. After that you need to sum this column, e.g. =sum(C:C)
Where C is the helper column.