Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Search For Multiple Entries - Combine and Sum

Hi Folks, Hoping I could get some guidance with this:

I have 3 columns of data on sheet1.

Column A is numerical "APN"
Column B is text "Product Description"
Column C is numerical "Total"

Is there a way to search column A for multiple matching entries and if
so to sum the total while reducing back to one entry?

EG: SHEET CURRENTLY LOOKS LIKE THIS

APN Product Description Total
25454 AAA 2
32121 BBB 1
32654 CCC 2
25454 AAA 5

WOULD LIKE IT TO DO THIS

APN Product Description Total
25454 AAA 7
32121 BBB 1
32654 CCC 2

This one is beyond my skills and would appreciate any assistance.

Thanks for your time.

Dean

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Search For Multiple Entries - Combine and Sum

Dean,

=SUMPRODUCT(--(A2:A5=25454),--(C2:C5))

Or

=SUMPRODUCT(--(A2:A5=G2),--(C2:C5))

where G2=25454

So if you have a list of all APN and Descriptions in a TOTAL sheet and your
other multiple entry data on a DATA sheet then you could use this for each
APN in your TOTAL sheet and copy down.

=SUMPRODUCT(--(Data!A2:A100=Total!A2),--(Data!C2:100))

Change ranges to suit

HTH

"Ledge" wrote:

Hi Folks, Hoping I could get some guidance with this:

I have 3 columns of data on sheet1.

Column A is numerical "APN"
Column B is text "Product Description"
Column C is numerical "Total"

Is there a way to search column A for multiple matching entries and if
so to sum the total while reducing back to one entry?

EG: SHEET CURRENTLY LOOKS LIKE THIS

APN Product Description Total
25454 AAA 2
32121 BBB 1
32654 CCC 2
25454 AAA 5

WOULD LIKE IT TO DO THIS

APN Product Description Total
25454 AAA 7
32121 BBB 1
32654 CCC 2

This one is beyond my skills and would appreciate any assistance.

Thanks for your time.

Dean


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
Combine: ISNUMBER(SEARCH( and EXACT( ? nastech Excel Discussion (Misc queries) 5 May 9th 23 03:42 AM
Combine Multiple Entries with differing amounts of entries Katie Excel Worksheet Functions 2 November 28th 07 09:53 PM
Can I compare 2 lists to combine duplicate entries in new list? Tinytall Excel Worksheet Functions 0 May 13th 05 04:00 PM
vlookup and search combine in vba. tango Excel Programming 1 October 28th 04 03:32 AM
vlookup and search combine in vba. tango Excel Programming 1 October 28th 04 12:45 AM


All times are GMT +1. The time now is 02:21 AM.

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"