#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default seeking help

Suppose I have the following data:
Column A Column B
Hong Kong 200
Hong Kong 300
Hong Kong 400
Australia 200
Australia 300
UK 100
France 400


I would like to make a summary in the bottom of the spreadsheet like
HK xx
Australia xx
UK xx
France xx

Therefore, I would like to set some formula in which i can calculate the
total sum of Hong Kong (eg, 200+300+400), Australia, UK, France separately
and automatically

I've tried the lookup functions but i cant do so since there are duplicate
data. can anyone advise me on this? thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default seeking help

This will sum up only the Hong Kong numbers in your list from Row 1 to Row
7...

=SUMPRODUCT((A1:A7="Hong Kong")*(B1:B7))

Adjust the the two 7's to the last row number containing data. For the other
locations, change the name "Hong Kong" to the location name you want the
totals for.

Rick


"angel" wrote in message
...
Suppose I have the following data:
Column A Column B
Hong Kong 200
Hong Kong 300
Hong Kong 400
Australia 200
Australia 300
UK 100
France 400


I would like to make a summary in the bottom of the spreadsheet like
HK xx
Australia xx
UK xx
France xx

Therefore, I would like to set some formula in which i can calculate the
total sum of Hong Kong (eg, 200+300+400), Australia, UK, France separately
and automatically

I've tried the lookup functions but i cant do so since there are duplicate
data. can anyone advise me on this? thanks.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default seeking help

perfect, thanks.

"Rick Rothstein (MVP - VB)" wrote:

This will sum up only the Hong Kong numbers in your list from Row 1 to Row
7...

=SUMPRODUCT((A1:A7="Hong Kong")*(B1:B7))

Adjust the the two 7's to the last row number containing data. For the other
locations, change the name "Hong Kong" to the location name you want the
totals for.

Rick


"angel" wrote in message
...
Suppose I have the following data:
Column A Column B
Hong Kong 200
Hong Kong 300
Hong Kong 400
Australia 200
Australia 300
UK 100
France 400


I would like to make a summary in the bottom of the spreadsheet like
HK xx
Australia xx
UK xx
France xx

Therefore, I would like to set some formula in which i can calculate the
total sum of Hong Kong (eg, 200+300+400), Australia, UK, France separately
and automatically

I've tried the lookup functions but i cant do so since there are duplicate
data. can anyone advise me on this? thanks.



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
Seeking Countdown Formula Winston Excel Worksheet Functions 2 August 15th 07 05:08 PM
Desperately Seeking Offset Formula!! Jenny B. Excel Discussion (Misc queries) 3 July 27th 07 09:30 PM
Seeking someone to look over my work DoctorMyear Excel Discussion (Misc queries) 0 June 6th 06 11:53 PM
seeking of array Tomek S Excel Worksheet Functions 6 April 14th 06 01:17 PM
Seeking help from a GURU usf97j4x4 Excel Worksheet Functions 5 January 11th 06 05:17 PM


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