Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default IF? OR SUMPRODUCT? or ????

Hi All,

Col A5:A? conatins names of clients that repeat over time, Col B contains
codes " BW, COL, HC" AND OTHER CODES.

In Col D5:D? is a list of the names in Col A but listed only once, Column
hedding are in: Col E4 is BW, F4 is COL, G4 is HC.
Below each of these heddings next to the name in Col D i want to have a
count of how many times the code appers next to the corresponding name in
Col A.

The codes are intered in Col B like this: BW, HC or COL, BW, HC or HC, BW
or COL and so on, in other words they are entered in any order with a comma
between each code or only a single code only.

Hope this makes some sense.

Thanks,
JK


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default IF? OR SUMPRODUCT? or ????

Hi jerry,
Just check out if =countif(range,criteria) function matches your desire.

Jerry Kinder wrote:
Hi All,

Col A5:A? conatins names of clients that repeat over time, Col B contains
codes " BW, COL, HC" AND OTHER CODES.

In Col D5:D? is a list of the names in Col A but listed only once, Column
hedding are in: Col E4 is BW, F4 is COL, G4 is HC.
Below each of these heddings next to the name in Col D i want to have a
count of how many times the code appers next to the corresponding name in
Col A.

The codes are intered in Col B like this: BW, HC or COL, BW, HC or HC, BW
or COL and so on, in other words they are entered in any order with a comma
between each code or only a single code only.

Hope this makes some sense.

Thanks,
JK


--
"This isn't good or bad. It's just the way of things. Nothing stays the same.
" Real live preacher.

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200801/1

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default IF? OR SUMPRODUCT? or ????

Assuming that the codes in any cell col B are all unique. Meaning, you won't
have anything like this and expect a result of 3:

B5 = BW, BW, BW

=SUMPRODUCT(--($A$5:$A$20=$D5),--(ISNUMBER(SEARCH(E$4,$B$5:$B$20))))

Copy across then down.

If you do have entries like that above and do expect a result of 3 we'll
need a different formula.


--
Biff
Microsoft Excel MVP


"Jerry Kinder" wrote in message
...
Hi All,

Col A5:A? conatins names of clients that repeat over time, Col B contains
codes " BW, COL, HC" AND OTHER CODES.

In Col D5:D? is a list of the names in Col A but listed only once, Column
hedding are in: Col E4 is BW, F4 is COL, G4 is HC.
Below each of these heddings next to the name in Col D i want to have a
count of how many times the code appers next to the corresponding name in
Col A.

The codes are intered in Col B like this: BW, HC or COL, BW, HC or HC,
BW
or COL and so on, in other words they are entered in any order with a
comma
between each code or only a single code only.

Hope this makes some sense.

Thanks,
JK




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default IF? OR SUMPRODUCT? or ????

Hi,
Does this help make it clearer. It is hard to put in words a sheet layout.

This is a attempt to lay out the work sheet:
Col A Col B Col F
ColE ColF ColG etc.
Down Down List of names down
one Code one Code OneCode
List of re-occuring Codes Only once each
In each of these columns will be the count
names.
from ColB of how many times each code appears

by the corrosponsing name in ColF and Col A
Thank you so for your efforts
Jerry Kinder



"T. Valko" wrote in message
...
Assuming that the codes in any cell col B are all unique. Meaning, you

won't
have anything like this and expect a result of 3:

B5 = BW, BW, BW

=SUMPRODUCT(--($A$5:$A$20=$D5),--(ISNUMBER(SEARCH(E$4,$B$5:$B$20))))

Copy across then down.

If you do have entries like that above and do expect a result of 3 we'll
need a different formula.


--
Biff
Microsoft Excel MVP


"Jerry Kinder" wrote in message
...
Hi All,

Col A5:A? conatins names of clients that repeat over time, Col B

contains
codes " BW, COL, HC" AND OTHER CODES.

In Col D5:D? is a list of the names in Col A but listed only once,

Column
hedding are in: Col E4 is BW, F4 is COL, G4 is HC.
Below each of these heddings next to the name in Col D i want to have a
count of how many times the code appers next to the corresponding name

in
Col A.

The codes are intered in Col B like this: BW, HC or COL, BW, HC or HC,
BW
or COL and so on, in other words they are entered in any order with a
comma
between each code or only a single code only.

Hope this makes some sense.

Thanks,
JK






  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default IF? OR SUMPRODUCT? or ????

See this screencap:

http://img177.imageshack.us/img177/7071/jerryke3.jpg

--
Biff
Microsoft Excel MVP


"Jerry Kinder" wrote in message
...
Hi,
Does this help make it clearer. It is hard to put in words a sheet layout.

This is a attempt to lay out the work sheet:
Col A Col B Col F
ColE ColF ColG etc.
Down Down List of names
down
one Code one Code OneCode
List of re-occuring Codes Only once each
In each of these columns will be the count
names.
from ColB of how many times each code appears

by the corrosponsing name in ColF and Col A
Thank you so for your efforts
Jerry Kinder



"T. Valko" wrote in message
...
Assuming that the codes in any cell col B are all unique. Meaning, you

won't
have anything like this and expect a result of 3:

B5 = BW, BW, BW

=SUMPRODUCT(--($A$5:$A$20=$D5),--(ISNUMBER(SEARCH(E$4,$B$5:$B$20))))

Copy across then down.

If you do have entries like that above and do expect a result of 3 we'll
need a different formula.


--
Biff
Microsoft Excel MVP


"Jerry Kinder" wrote in message
...
Hi All,

Col A5:A? conatins names of clients that repeat over time, Col B

contains
codes " BW, COL, HC" AND OTHER CODES.

In Col D5:D? is a list of the names in Col A but listed only once,

Column
hedding are in: Col E4 is BW, F4 is COL, G4 is HC.
Below each of these heddings next to the name in Col D i want to have a
count of how many times the code appers next to the corresponding name

in
Col A.

The codes are intered in Col B like this: BW, HC or COL, BW, HC or
HC,
BW
or COL and so on, in other words they are entered in any order with a
comma
between each code or only a single code only.

Hope this makes some sense.

Thanks,
JK










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
sumproduct Nad Excel Discussion (Misc queries) 5 April 26th 06 01:57 PM
SUMPRODUCT Patricia Excel Worksheet Functions 5 April 18th 06 07:57 PM
Help! With SUMPRODUCT Glynn Furr Excel Worksheet Functions 4 April 17th 06 03:41 AM
sumproduct help JR Excel Worksheet Functions 0 February 27th 06 02:57 PM


All times are GMT +1. The time now is 04:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"