Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hope this will be my last time to have to ask a question of you experts.
I have an individual name that I am trying to see if it is in a particular column, if it is then just put a one, or what ever number of times it appears. Sometimes there are two columns that I need to check if the name appears, and then just add up all of the occurrences. Example: A B C D E 1. T. Bodie J. Lang None 2. T. O'Connell T. Bodie T. Spurgeon 3. M. Lalonde N. Martz 4. T. Spurgeon B. Geisler J. Lang 5. S. Slonina T. O'Connell B. Hodge So what I want to do is see how many times say a J. Lang appears. And put this number in a different spot on my spreadsheet. Any help, Thanks Steve |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Try using countif(A:A,"J. Lang") -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "caldog" wrote: Hope this will be my last time to have to ask a question of you experts. I have an individual name that I am trying to see if it is in a particular column, if it is then just put a one, or what ever number of times it appears. Sometimes there are two columns that I need to check if the name appears, and then just add up all of the occurrences. Example: A B C D E 1. T. Bodie J. Lang None 2. T. O'Connell T. Bodie T. Spurgeon 3. M. Lalonde N. Martz 4. T. Spurgeon B. Geisler J. Lang 5. S. Slonina T. O'Connell B. Hodge So what I want to do is see how many times say a J. Lang appears. And put this number in a different spot on my spreadsheet. Any help, Thanks Steve |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another thought ..
Assuming the source range is A1:E5 Try in say, F1: =SUMPRODUCT(--ISNUMBER(MATCH(A1:E5,{"J. Lang"},0))) Or, pointing to an input cell for the name, say in G1: J. Lang =SUMPRODUCT(--ISNUMBER(MATCH(A1:E5,G1,0))) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "caldog" wrote: Hope this will be my last time to have to ask a question of you experts. I have an individual name that I am trying to see if it is in a particular column, if it is then just put a one, or what ever number of times it appears. Sometimes there are two columns that I need to check if the name appears, and then just add up all of the occurrences. Example: A B C D E 1. T. Bodie J. Lang None 2. T. O'Connell T. Bodie T. Spurgeon 3. M. Lalonde N. Martz 4. T. Spurgeon B. Geisler J. Lang 5. S. Slonina T. O'Connell B. Hodge So what I want to do is see how many times say a J. Lang appears. And put this number in a different spot on my spreadsheet. Any help, Thanks Steve |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Again as usual you guys come through.
thanks works just great. "Max" wrote: Another thought .. Assuming the source range is A1:E5 Try in say, F1: =SUMPRODUCT(--ISNUMBER(MATCH(A1:E5,{"J. Lang"},0))) Or, pointing to an input cell for the name, say in G1: J. Lang =SUMPRODUCT(--ISNUMBER(MATCH(A1:E5,G1,0))) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "caldog" wrote: Hope this will be my last time to have to ask a question of you experts. I have an individual name that I am trying to see if it is in a particular column, if it is then just put a one, or what ever number of times it appears. Sometimes there are two columns that I need to check if the name appears, and then just add up all of the occurrences. Example: A B C D E 1. T. Bodie J. Lang None 2. T. O'Connell T. Bodie T. Spurgeon 3. M. Lalonde N. Martz 4. T. Spurgeon B. Geisler J. Lang 5. S. Slonina T. O'Connell B. Hodge So what I want to do is see how many times say a J. Lang appears. And put this number in a different spot on my spreadsheet. Any help, Thanks Steve |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"caldog" wrote:
Again as usual you guys come through. thanks works just great. Good to hear that, Steve .. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text entries behaving like numbers | Excel Discussion (Misc queries) | |||
truncating text strings of different lengths | Excel Discussion (Misc queries) | |||
How change dimensions of data label text box in pie chart? | Charts and Charting in Excel | |||
Fast way to search many cells by column for text strings | Excel Discussion (Misc queries) | |||
space between text strings with concatenate | Excel Discussion (Misc queries) |