Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
steev_jd
 
Posts: n/a
Default Totalling Sum of Parts in a 2 column array.


Hi,

I have a long list laid out in the following manner
Product A~~~~¦ 20
Product A Pt B~¦ 5
Product A Pt C~¦ 3
Product B~~~~¦ 15
Product B Pt B~¦ 10
Product C~~~~¦ 20
Product C Pt B~¦ 5
Product C Pt C~¦ 3
Product C Pt D~¦ 2

I need to total parts for each product as below

Product A~~~~¦ 28
Product B~~~~¦ 25
Product C~~~~¦ 30

However it will take to long to go through totaling each product with
the 'autosum' key as each product can vary in number of parts.

Any suggestions would be greatly appreciated, thanks in advance!

Steve


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile: http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=536333

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Totalling Sum of Parts in a 2 column array.

=SUMPRODUCT(--(ISNUMBER(SEARCH("Product A",$A$1:$A$1000))),$B$1:$B$1000)

etc

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"steev_jd" wrote in
message ...

Hi,

I have a long list laid out in the following manner
Product A~~~~¦ 20
Product A Pt B~¦ 5
Product A Pt C~¦ 3
Product B~~~~¦ 15
Product B Pt B~¦ 10
Product C~~~~¦ 20
Product C Pt B~¦ 5
Product C Pt C~¦ 3
Product C Pt D~¦ 2

I need to total parts for each product as below

Product A~~~~¦ 28
Product B~~~~¦ 25
Product C~~~~¦ 30

However it will take to long to go through totaling each product with
the 'autosum' key as each product can vary in number of parts.

Any suggestions would be greatly appreciated, thanks in advance!

Steve


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile:

http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=536333



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default Totalling Sum of Parts in a 2 column array.

=SUMIF(A1:A9,"Product A*",B1:B9)

HTH
--
AP

"steev_jd" a écrit
dans le message de
...

Hi,

I have a long list laid out in the following manner
Product A~~~~¦ 20
Product A Pt B~¦ 5
Product A Pt C~¦ 3
Product B~~~~¦ 15
Product B Pt B~¦ 10
Product C~~~~¦ 20
Product C Pt B~¦ 5
Product C Pt C~¦ 3
Product C Pt D~¦ 2

I need to total parts for each product as below

Product A~~~~¦ 28
Product B~~~~¦ 25
Product C~~~~¦ 30

However it will take to long to go through totaling each product with
the 'autosum' key as each product can vary in number of parts.

Any suggestions would be greatly appreciated, thanks in advance!

Steve


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile:

http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=536333



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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Creating a single vertical array from multiple column arrays Bryan Excel Worksheet Functions 2 December 10th 05 07:12 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Array Brad Excel Worksheet Functions 9 October 17th 05 09:00 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 01:18 PM.

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

About Us

"It's about Microsoft Excel"