#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Counting

I'm a beginner with Excel so this may be a simple problem. I'm trying to
count various items to give me a total of how many I have of each type that
I have purchased over the years,

Example:

Type: Value
Dime $10.
Penny $25.
Dime $20.
Half $10.
Penny $15.
Penny $15.
Dime $10.
Half $50.
Nickel $5.00

Number of Dimes 3 Total Value $40.
Number of Pennies 3 Total Value $55.
Numer of Halfs 2 Total Value $60.
Number of Niclels 1 Total Value $5.

I want to count each item, Dime, Penny, Half and Nickels to show me home
many of each I have and the total value of each catagory.

Thank you in advance for your help!
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Counting

I forgot to ask that I need to know what percentage of each I havealso.

Thanks again.

Penny 33%
Nickel 5%
Dime 25%
Half 1%
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Counting

Say your original datalist is in A1 to B10, with labels in Row1.

Enter a unique list of your coins, starting in say, C1 to C4, matching your
example.

In D1 enter:

=COUNTIF(A$2:A$10,C1)

And, in E1 enter:

=SUMIF(A$2:A$10,C1,B$2:B$10)

NOW, select *both* D1 and E1, and drag down to copy to Row 4.

This should give you what you're looking for.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

wrote in message
...
I'm a beginner with Excel so this may be a simple problem. I'm trying to
count various items to give me a total of how many I have of each type

that
I have purchased over the years,

Example:

Type: Value
Dime $10.
Penny $25.
Dime $20.
Half $10.
Penny $15.
Penny $15.
Dime $10.
Half $50.
Nickel $5.00

Number of Dimes 3 Total Value $40.
Number of Pennies 3 Total Value $55.
Numer of Halfs 2 Total Value $60.
Number of Niclels 1 Total Value $5.

I want to count each item, Dime, Penny, Half and Nickels to show me home
many of each I have and the total value of each catagory.

Thank you in advance for your help!


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Counting

Say the countif function that has already been suggested is in D1 and your
data is in A1:B10 (first row is a header), you could use:

=D1/COUNTA(A$2:A$10)


" wrote:

I forgot to ask that I need to know what percentage of each I havealso.

Thanks again.

Penny 33%
Nickel 5%
Dime 25%
Half 1%



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Counting

If you used my suggested formulas, enter this in F1:

=D1/SUM(D$1:D$4)

And copy down to F4.

Format F1 to F4 as a Percent.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
wrote in message
...
I forgot to ask that I need to know what percentage of each I havealso.

Thanks again.

Penny 33%
Nickel 5%
Dime 25%
Half 1%


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 Jason30 Excel Discussion (Misc queries) 1 September 8th 06 08:56 AM
counting chiapas77 Excel Discussion (Misc queries) 1 March 3rd 06 10:19 PM
Counting bjenkins Excel Discussion (Misc queries) 4 December 2nd 05 04:21 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting names in a column but counting duplicate names once TBoe Excel Discussion (Misc queries) 9 May 11th 05 11:24 PM


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