#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sum Unique

Hi,
I want to identify unique customer names from column A, AND, sum the
respective amounts from Column B, to produce a result similar to that below.
Any suggestions please ?

A B
John 50.00
Peter 11.00
Paul 20.00
Ian 10.00
John 15.00
Ian 20.00
Paul 13.50

RESULT= Ian 30.00
John 65.00
Peter 11.00
Paul 33.50

Regards Steve


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Sum Unique

On Sun, 3 Dec 2006 00:44:24 +1100, "Stephen Rainey"
wrote:

Hi,
I want to identify unique customer names from column A, AND, sum the
respective amounts from Column B, to produce a result similar to that below.
Any suggestions please ?

A B
John 50.00
Peter 11.00
Paul 20.00
Ian 10.00
John 15.00
Ian 20.00
Paul 13.50

RESULT= Ian 30.00
John 65.00
Peter 11.00
Paul 33.50

Regards Steve



You could use a Pivot Table.

Or you could use the SUMIF function.


E1: Ian F1: =SUMIF(A1:A10,E1,B1:B10)
E2: John F2: ...

etc
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Sum Unique

1- Sort column A
2- highlight range a1:a10..etc.. conditional format with formula is ...
=A2=A1 (this is to hide the repeated names) format it with the same color
(white)
3- place in c1 this formula =IF(A2<A3,SUMIF(A$2:A$22,A2,B$2:B$22),"")
4- copy it down and then voila

I hope this helps!
================================================== ==========================


"Ron Rosenfeld" wrote in message
...
On Sun, 3 Dec 2006 00:44:24 +1100, "Stephen Rainey"

wrote:

Hi,
I want to identify unique customer names from column A, AND, sum the
respective amounts from Column B, to produce a result similar to that
below.
Any suggestions please ?

A B
John 50.00
Peter 11.00
Paul 20.00
Ian 10.00
John 15.00
Ian 20.00
Paul 13.50

RESULT= Ian 30.00
John 65.00
Peter 11.00
Paul
33.50

Regards Steve



You could use a Pivot Table.

Or you could use the SUMIF function.


E1: Ian F1: =SUMIF(A1:A10,E1,B1:B10)
E2: John F2: ...

etc
--ron



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
Setting up a validation of data listbox to provide the unique items within a range [email protected] Excel Worksheet Functions 8 July 30th 06 09:00 AM
existing unique value formula help (index(match(countif))) [email protected] Excel Worksheet Functions 6 May 12th 06 09:35 PM
how do i find unique avg buy prices in multiple group of buys/sell John Robbins Excel Worksheet Functions 1 May 4th 06 06:44 PM
code not unique find latest date Barbara Wiseman Excel Discussion (Misc queries) 3 December 11th 05 08:50 AM
count unique with conditions \ditzman via OfficeKB.com\ Excel Worksheet Functions 8 July 8th 05 12:41 PM


All times are GMT +1. The time now is 07:30 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"