![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have a column of names with patients who has blood transfusions . For
example Paul Smith with appear 3 times ie he had 3 units of blood transfusion. What I need is total number of patients who has blood transfusion. The list is about 1400 cells long. Can anyone help please? |
| Ads |
|
#2
|
|||
|
|||
|
Check out the XL help file article:
"Count unique values among duplicates " You can do this via filters or functions, your choice. For your example, it looks like you will need something like: =SUM(IF(FREQUENCY(IF(LEN(A2:A10)>0,MATCH(A2:A10,A2 :A10,0),""), IF(LEN(A2:A10)>0,MATCH(A2:A10,A2:A10,0),""))>0,1)) Note that this is an array formula, and must be confirmed using Ctrl+Shift+Enter, not just Enter. -- Best Regards, Luke M "HP" > wrote in message ... >I have a column of names with patients who has blood transfusions . For > example Paul Smith with appear 3 times ie he had 3 units of blood > transfusion. > What I need is total number of patients who has blood transfusion. The > list > is about 1400 cells long. > Can anyone help please? |
|
#3
|
|||
|
|||
|
Use the following array formula:
=sum(1/Countif(RangeOfCells,RangeOfCells)) confirm the formula with Ctrl +Shift+Enter instead of just the Enter key "HP" wrote: > I have a column of names with patients who has blood transfusions . For > example Paul Smith with appear 3 times ie he had 3 units of blood transfusion. > What I need is total number of patients who has blood transfusion. The list > is about 1400 cells long. > Can anyone help please? |
|
#4
|
|||
|
|||
|
Use the following Array formula (confirm formula with Ctrl+Shift+Enter)
=sum(1/countif(RangeOfCells,Range,OfCells)) "HP" wrote: > I have a column of names with patients who has blood transfusions . For > example Paul Smith with appear 3 times ie he had 3 units of blood transfusion. > What I need is total number of patients who has blood transfusion. The list > is about 1400 cells long. > Can anyone help please? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Count the times a value appears in a column based on another value | TrainingGuru | Excel Worksheet Functions | 6 | January 6th 09 05:43 AM |
| Formula to enter names in a column specific # of times | Steve | Excel Worksheet Functions | 10 | August 25th 08 04:21 AM |
| How can I count how many times different texts repeat in a column? | pjr | New Users to Excel | 13 | May 30th 08 04:58 AM |
| Count how many times the same word appears in column | Alexa | Excel Discussion (Misc queries) | 5 | April 16th 05 03:59 PM |
| How do I count how many times x appears in a column? | Ian Roberts | Excel Worksheet Functions | 2 | November 7th 04 03:13 PM |