Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Need help with grouped counts

I am working on some spreadsheets at work, and need help with "grouped
sums," although that probaby is not the correct name for it.

Example:

In A1:A500 you have city names. Most, but not all, of the cities appear
more than once, some 40-50 times.

In B1:B500 you have dollar amounts received from each city.

What I need is:

In Column C, each city in Column A, just ONE time.

In Column D, the total amount of dollars received from the city in
column C.

I am usually pretty good with formulas and can dabble in VBA, but I
cant hack this one for some reason. Can anybody help?

Thanks,
Ron M.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Need help with grouped counts

try the SUMIF formula

excel help gives a good example of how to use it.

Simon

" wrote:

I am working on some spreadsheets at work, and need help with "grouped
sums," although that probaby is not the correct name for it.

Example:

In A1:A500 you have city names. Most, but not all, of the cities appear
more than once, some 40-50 times.

In B1:B500 you have dollar amounts received from each city.

What I need is:

In Column C, each city in Column A, just ONE time.

In Column D, the total amount of dollars received from the city in
column C.

I am usually pretty good with formulas and can dabble in VBA, but I
cant hack this one for some reason. Can anybody help?

Thanks,
Ron M.


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
Grouped Items won't Stay Grouped When Moving Object Heather02 Excel Discussion (Misc queries) 0 February 12th 09 07:08 PM
average daily counts to weekly counts Dave Excel Discussion (Misc queries) 0 June 17th 08 06:24 PM
Counts Nordic Excel Discussion (Misc queries) 2 September 20th 07 03:33 AM
Counts more than one dTHMTLGOD Excel Programming 2 April 25th 06 01:59 PM
Counts Ange[_3_] Excel Programming 1 August 17th 04 07:08 PM


All times are GMT +1. The time now is 06:55 PM.

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"