Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Excel spreadsheet formula to count numbers in PivotTable column

I have a PivotTable with many rows. The last row of the PT is, of course, the sum of each column. I want to put a row of formulas a few rows below the PT that counts the number of items in each column. The number of rows fluctuates from day to day but stays roughly in the forties. Also, there will not be a data point in every row that shows each day.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,182
Default Excel spreadsheet formula to count numbers in PivotTable column

I have a PivotTable with many rows. The last row of the PT is, of
course, the sum of each column. I want to put a row of formulas a few
rows below the PT that counts the number of items in each column. The
number of rows fluctuates from day to day but stays roughly in the
forties. Also, there will not be a data point in every row that shows
each day.


Have a look at the COUNTA() function...

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Excel spreadsheet formula to count numbers in PivotTable column

I'm using Counta(). The issue is the range inside the parens. The range can change and I would like not to have to re-select it and drag it across dozens of columns. The range to be counted in each column starts on Row 3 but might extend to a different depth each day. I made an Offset function called "RowCount" that counts the number of words in Column A of the PivotTable and essentially identifies the number of the last row. I just don't know how to incorporate this variable into the Counta(B3:B RowCount). I know there are some ampersands and double-quotes involved.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,182
Default Excel spreadsheet formula to count numbers in PivotTable column

I'm using Counta(). The issue is the range inside the parens. The
range can change and I would like not to have to re-select it and
drag it across dozens of columns. The range to be counted in each
column starts on Row 3 but might extend to a different depth each
day. I made an Offset function called "RowCount" that counts the
number of words in Column A of the PivotTable and essentially
identifies the number of the last row. I just don't know how to
incorporate this variable into the Counta(B3:B RowCount). I know
there are some ampersands and double-quotes involved.


Have a look here for PivotTable tips...

http://www.contextures.com/tiptech.html

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
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
add 1 count to a column of numbers JeriSys Excel Worksheet Functions 5 September 19th 08 01:31 AM
Excel 2007 - Pivottable formula with COUNT peter Excel Worksheet Functions 2 October 19th 07 10:00 PM
Can I create PivotTable formula using count of field not sum? Clip Excel Discussion (Misc queries) 0 November 7th 06 02:31 AM
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM
Why does my Excel pivottable uses count instead of sum Marcus Ahlbäck Excel Discussion (Misc queries) 3 November 8th 05 04:15 PM


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