Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting occurances and multiplying by a quantity

I would like to create a summary page for a fundraising database I have. I
would like to count the number of times a product number occurs in the
product # but have it add the quantity column for the corresponding row.
Then I want to display the value (the total number of that particular product
ordered) in a separate summary page.

Data Sheet:
Name Phone Product #
Quantity
Example Person 555-555-5555 11111 2
44444 1
55555
3
Example Person 2 222-222-2222 44444 3
55555
2

Summary Sheet:
Product # Quantity
11111 2
44444 4
55555 5

What formula can I use in the quantity column of my summary sheet? If I
listed each product order separately, I could use COUNTIF. Is there a way
for me to count the quantities if a value is true over a range of cells?

Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default Counting occurances and multiplying by a quantity

Use SUMIF

=SUMIF(rng1,"11111",rng2)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"vahagberg" wrote in message
...
I would like to create a summary page for a fundraising database I have.

I
would like to count the number of times a product number occurs in the
product # but have it add the quantity column for the corresponding row.
Then I want to display the value (the total number of that particular

product
ordered) in a separate summary page.

Data Sheet:
Name Phone Product #
Quantity
Example Person 555-555-5555 11111 2
44444 1

55555
3
Example Person 2 222-222-2222 44444 3

55555
2

Summary Sheet:
Product # Quantity
11111 2
44444 4
55555 5

What formula can I use in the quantity column of my summary sheet? If I
listed each product order separately, I could use COUNTIF. Is there a way
for me to count the quantities if a value is true over a range of cells?

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
counting occurances SR89 Excel Worksheet Functions 6 June 28th 06 01:46 AM


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