Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default Formula needed to SUM and COUNT in specific way

Hi all, I have data in Sheet1 and Sheet2 as shown below

Sheet1
A B-----col
Data Amount----headings
XX 2
YY 4
SS 5
XX 9
GG 8
HH 3
SS 5

Sheet2
A B C---col
Data Sum Count---headings
XX
SS
HH

I need some kind of SUM formula in column B and COUNT formula in
column C of Sheet2 which should only SUM and COUNT the amounts in
column B of Sheet1 of which same row value in column A of Sheet 1
match with column A of Sheet2. So the result should be like as shown
below.

Sheet2
A B C---col
Data Sum Count---heading
XX 11 2
SS 10 2
HH 3 1

Please can any friend have any formula in mind for this kind of
calculation. Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Formula needed to SUM and COUNT in specific way

Answered in microsoft.public.excel.misc

On 23 Feb, 10:44, K wrote:
Hi all, *I have data in Sheet1 and Sheet2 as shown below

Sheet1
* *A * * * * * *B-----col
Data * *Amount----headings
XX * * * * * *2
YY * * * * * 4
SS * * * * * 5
XX * * * * * *9
GG * * * * *8
HH * * * * * 3
SS * * * * * 5

Sheet2
* A * * * * *B * * * * * C---col
Data * * Sum * * Count---headings
XX
SS
HH

I need some kind of SUM formula in column B and COUNT formula in
column C of Sheet2 which should only SUM and COUNT the amounts in
column B of Sheet1 of which same row value in column A of Sheet 1
match with column A of Sheet2. *So the result should be like as shown
below.

Sheet2
* A * * * * *B * * * * * C---col
Data * * Sum * * Count---heading
XX * * * * *11 * * * * *2
SS * * * * 10 * * * * *2
HH * * * * * 3 * * * * *1

Please can any friend have any formula in mind for this kind of
calculation. *Thanks in advance


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
Count, Sum, Index,Match or other formula needed Nadine Excel Worksheet Functions 1 May 4th 10 09:01 PM
Formula needed to SUM and COUNT in specific way K[_2_] Excel Discussion (Misc queries) 7 February 28th 10 01:27 PM
Count if ? formula needed! katagrga Excel Discussion (Misc queries) 3 June 24th 09 04:26 AM
formula for current stock count needed Kath Excel Worksheet Functions 2 June 9th 07 04:25 PM
More Help Needed with Count formula Greegan Excel Worksheet Functions 4 July 31st 05 06:31 PM


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