Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions | |||
sumproduct | Excel Discussion (Misc queries) | |||
SUMPRODUCT | Excel Worksheet Functions | |||
Help! With SUMPRODUCT | Excel Worksheet Functions | |||
sumproduct help | Excel Worksheet Functions |