Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CC CC is offline
external usenet poster
 
Posts: 91
Default count how many different numbers in the column and return to the n

I have a sheet
Amount Item
$12 1
$2 1
$8 3
$98 2
$23 2
the thing I would like to do is
item amount
1 total(amount part is easy, I can use sumif())
2 ***
3 ***

the item part is hard, I tried if(countif()0,item #), but I have 7 items in
total, if I have only 3 items in the colume, I will have 4 empty rows.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default count how many different numbers in the column and return to the n

A PivotTable would work very nicely here because it would automatically
condense/expand to include the number of different items you need, as well as
summing all the value.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CC" wrote:

I have a sheet
Amount Item
$12 1
$2 1
$8 3
$98 2
$23 2
the thing I would like to do is
item amount
1 total(amount part is easy, I can use sumif())
2 ***
3 ***

the item part is hard, I tried if(countif()0,item #), but I have 7 items in
total, if I have only 3 items in the colume, I will have 4 empty rows.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default count how many different numbers in the column and return to the n

To make a pivot table select the data with one row of titles and choose Data,
PivotTable and PivotChart Report, Next, Next, pick the location and choose
Finish. Then put the Item field in the Row area and the Amount field into
the Data area twice. There will be a Data button in the pivot table, drag
this to the blank cell above the word Total. Right-click either of the Sum
of Amount fields and choose Field Setting. Change the calculation from Sum
to Coount.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"CC" wrote:

I have a sheet
Amount Item
$12 1
$2 1
$8 3
$98 2
$23 2
the thing I would like to do is
item amount
1 total(amount part is easy, I can use sumif())
2 ***
3 ***

the item part is hard, I tried if(countif()0,item #), but I have 7 items in
total, if I have only 3 items in the colume, I will have 4 empty rows.

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
how to return a set of numbers in column A Welby Excel Worksheet Functions 0 August 17th 07 02:14 AM
how to return a set of numbers in column A Toppers Excel Worksheet Functions 0 August 17th 07 02:12 AM
count and return pair numbers Sly Excel Worksheet Functions 14 July 28th 07 04:51 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 11:06 AM.

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"