ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel spreadsheet formula to count numbers in PivotTable column (https://www.excelbanter.com/excel-worksheet-functions/452660-excel-spreadsheet-formula-count-numbers-pivottable-column.html)

[email protected]

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.

GS[_6_]

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

[email protected]

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.


GS[_6_]

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


All times are GMT +1. The time now is 01:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com