Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Count if or SumProduct

I have two columns : column A defines the make/model; column B numerically
defines how many were sold . Note: There are multiple entries for the same
makes/models due to different territories.

I have a separate worksheet for which I need to summarize this info.
What would be the best formula for this task? I guess I am lost on what to
enter to count.

Any help is greatly appreciated!

Thank you,




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count if or SumProduct

Hi,

Try this. The lookup value is in A1 of the currebt sheet

=SUMPRODUCT((Sheet1!A1:A20=A1)*(Sheet1!B1:B20))

Mike

"Brandy" wrote:

I have two columns : column A defines the make/model; column B numerically
defines how many were sold . Note: There are multiple entries for the same
makes/models due to different territories.

I have a separate worksheet for which I need to summarize this info.
What would be the best formula for this task? I guess I am lost on what to
enter to count.

Any help is greatly appreciated!

Thank you,




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count if or SumProduct

Is this what you had in mind:

Sheet1
...........A...........B
1....Model.....AMT
2.......x.............3
3.......z.............1
4.......x.............5
5.......y.............4

Sheet2
...........A...........B
1....Model.....Total
2.......x.............8

Enter this formula in Sheet2 B2:

=SUMIF(Sheet1!A$2:A$5,A2,Sheet1!B$2:B$5)

--
Biff
Microsoft Excel MVP


"Brandy" wrote in message
...
I have two columns : column A defines the make/model; column B numerically
defines how many were sold . Note: There are multiple entries for the
same
makes/models due to different territories.

I have a separate worksheet for which I need to summarize this info.
What would be the best formula for this task? I guess I am lost on what
to
enter to count.

Any help is greatly appreciated!

Thank you,






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
SUMPRODUCT, count & sum Tasha Excel Worksheet Functions 2 August 24th 07 05:32 PM
count if or sumproduct? Suddes Excel Discussion (Misc queries) 5 March 15th 07 12:20 PM
Count without SUMPRODUCT Mossi Excel Worksheet Functions 2 December 11th 06 09:22 PM
SUM, COUNT and SUMPRODUCT Epinn Excel Worksheet Functions 7 October 16th 06 04:00 AM
Count if and Sumproduct Brento Excel Discussion (Misc queries) 2 June 20th 06 09:05 PM


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