Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet that lists Account Rep names in Column "A", Client Names
in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I will assume the first rep "Bob" is in A10,the last in A100
For Tim, total clients: =COUNTIF(A10:A100,"Tim" Or is A2 hold the value Time then =COUNTIF(A10:A100, A2) Tim/Inactive Again with Tim in A2: =SUMPRODUCT((A10:A100=A2),(C10:C100="Inactive") or if you have Excel2007: COUNTIFS(A10:A100,A2,C10:C100,"Inactive) -- note the S on COUNTIFS When you have this working, have a look at Pivot tables http://www.cpearson.com/excel/pivots.htm http://peltiertech.com/Excel/Pivots/pivotstart.htm http://www.contextures.com/xlPivot02.html http://www.ozgrid.com/Excel/excel-pivot-tables.htm http://www.techonthenet.com/excel/pivottbls/index.htm http://www.dicks-blog.com/archives/2...le-parameters/ best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "PGiessler" wrote in message ... I have a spreadsheet that lists Account Rep names in Column "A", Client Names in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Missing quote
or if you have Excel2007: COUNTIFS(A10:A100,A2,C10:C100,"Inactive") Bernard "Bernard Liengme" wrote in message ... I will assume the first rep "Bob" is in A10,the last in A100 For Tim, total clients: =COUNTIF(A10:A100,"Tim" Or is A2 hold the value Time then =COUNTIF(A10:A100, A2) Tim/Inactive Again with Tim in A2: =SUMPRODUCT((A10:A100=A2),(C10:C100="Inactive") or if you have Excel2007: COUNTIFS(A10:A100,A2,C10:C100,"Inactive) -- note the S on COUNTIFS When you have this working, have a look at Pivot tables http://www.cpearson.com/excel/pivots.htm http://peltiertech.com/Excel/Pivots/pivotstart.htm http://www.contextures.com/xlPivot02.html http://www.ozgrid.com/Excel/excel-pivot-tables.htm http://www.techonthenet.com/excel/pivottbls/index.htm http://www.dicks-blog.com/archives/2...le-parameters/ best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "PGiessler" wrote in message ... I have a spreadsheet that lists Account Rep names in Column "A", Client Names in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would be inclined to use a pivot table for this... Highlight the data that
you want to summarize including the headings. Select data - Pivot Table... | You can just select Finish. Drag the Account Rep field to the left column. Drag the Active / Inactive Field next to the Account Rep in the left column. Now drage Active / Inactive into the data area. That should do it... You can select an auto format to make it look fancy. Alternativley the Active / Inactive could be dragged to the upper row. -- HTH... Jim Thomlinson "PGiessler" wrote: I have a spreadsheet that lists Account Rep names in Column "A", Client Names in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
To count Tim's clients use countif(A:A,"Tim") to count Tim's Active clinets
do countifs(A:A,Tim,C:C,"Active") I think those are the fomulaic solutions to your problems assuming your version of office supports countifs. "PGiessler" wrote: I have a spreadsheet that lists Account Rep names in Column "A", Client Names in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Bernard ... this works. Cheers P
"Bernard Liengme" wrote: I will assume the first rep "Bob" is in A10,the last in A100 For Tim, total clients: =COUNTIF(A10:A100,"Tim" Or is A2 hold the value Time then =COUNTIF(A10:A100, A2) Tim/Inactive Again with Tim in A2: =SUMPRODUCT((A10:A100=A2),(C10:C100="Inactive") or if you have Excel2007: COUNTIFS(A10:A100,A2,C10:C100,"Inactive) -- note the S on COUNTIFS When you have this working, have a look at Pivot tables http://www.cpearson.com/excel/pivots.htm http://peltiertech.com/Excel/Pivots/pivotstart.htm http://www.contextures.com/xlPivot02.html http://www.ozgrid.com/Excel/excel-pivot-tables.htm http://www.techonthenet.com/excel/pivottbls/index.htm http://www.dicks-blog.com/archives/2...le-parameters/ best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "PGiessler" wrote in message ... I have a spreadsheet that lists Account Rep names in Column "A", Client Names in Column "B" and client status in Column "C" (i.e. active or inactive) Bob | Medco | Active Tim | Johnson | Inactive Tim | P-Products| Active Jill | Kaystar | Active Tim | Gemni | Active Bob | Transcorp | Inactive At the top of the Spreadsheet I want to tally the information to indicate that Tim has three clients, 2 Active Client and 1 Inactive client I believe I have done this before, but cannot for the life of me remember what I did - I have tried to do a SUMPRODUCT but keep getting a zero result so something is amiss in my formula. Help would be much appreciated. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Different font characteristics in concatenated cell | Excel Worksheet Functions | |||
How do I make all worksheets inherit certain characteristics | Excel Worksheet Functions | |||
Spreadsheet says CorruptedCompressedFile characteristics | Excel Discussion (Misc queries) | |||
Geometric Characteristics Symbols | Excel Discussion (Misc queries) | |||
Changing Font Characteristics Within a Formula | Excel Discussion (Misc queries) |