#1
|
|||
|
|||
CountiF or CountiFs two columns conditions
Have Column B which has those numbers that are repeated
B7 993925968 B8 993925968 B9 993925968 B10 993925968 B11 992308642 I have column C which has a specific text message = Blast Email Now i need to get the Distinct Count of Column C Since the numbers are repeated in column B, then the count for column C message should be 2. But my formula =COUNTIF($C$9:$C$90,"Blast Email") does not work for me. Attached an excel sheet with the example |
#2
|
|||
|
|||
Maybe you can attempt something like this:
=SUMPRODUCT((C9:C90="Blast Email")*(1/COUNTIF(B9:B90,B9:B90))) |
#3
|
|||
|
|||
I found a discrepancy / glitch. the excel sheet i have sent was a sample with a small size data. The actual excel sheet has 1624 rows, so now the formula yields wrong count.
|
#4
|
|||
|
|||
Have a look at the second sheet, numbers are off.
Bulk Update should not be 141.666 |
#5
|
|||
|
|||
You're just trying to count the number of rows that have "Blast Email" in C? The equation in your first sheet was fine, it just did not include two rows, 7 and 8.
Oh wait...I guess I get it. You want the number of rows with Blast Email and distinct column B numbers. Let me ponder that. |
#6
|
|||
|
|||
I had to use a helper column
See uploaded sheet https://www.dropbox.com/s/idwkcxs8pp...oaded_2003.xls |
#7
|
|||
|
|||
I can't access DropBox from work.
Can you attach to your reply please. Quote:
|
#8
|
|||
|
|||
See attached file
|
#9
|
|||
|
|||
|
#10
|
|||
|
|||
One More thing please, I have added the formula to Sheet3 to compare initial result to the actual count on Sheet1
and wanted to use the Find & select, Go to Special, Row Differences, so it can highlight the different rows, but since it is comparing a number in a cell to a formula in the other cell, all are highlighted as different. is there another trick to highlight the different cells ?, i have attached the file again. |
#11
|
|||
|
|||
I used conditional formatting. See attached worksheet
|
#12
|
|||
|
|||
Yes, that is how it should be Thanks. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
COUNTIFS Help Needed | OTPM | Excel | 2 | 04-09-2014 08:32 AM |
multiple conditions, and blank cells with the countifs function | jaden0605 | Excel | 1 | 03-30-2014 01:50 AM |
Compound Countifs Query not working | Lonercom | Excel | 5 | 06-28-2013 10:27 AM |
Countifs and Sumproduct | Algo | Excel | 6 | 11-13-2012 07:44 AM |
countifs? | sonyaturpin | Excel | 1 | 05-23-2012 08:29 AM |