Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default big counting problem

Hello,

Im using a pivot table that queries a pretty big database table (around
150000 records).
Each record represents invoice line item. There are several occurrences of
each invoice number. Heres an example of the source data:
Invoice # Accounting Period Other field
1 200401
1 200401
1 200401
2 200401

I need to know the number of invoices per period. What I ended up doing was
putting invoice number field into row area of a pivot table so I would have
only unique numbers and just selecting the whole column and using the count
function on a status bar. I have to manually record the number of invoices,
change accounting period in the pivot table and repeat the process. Thats a
lot of manual operations.

Maybe there is a programmatic way to solve this.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default big counting problem

I may have misread that, but why can't you just drag the Invoice number into
the DATA field and have it COUNT the items. Should list a count of them per
period if you have Period in the Row fields.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Roman" wrote in message
...
Hello,

I'm using a pivot table that queries a pretty big database table (around
150000 records).
Each record represents invoice line item. There are several occurrences of
each invoice number. Here's an example of the source data:
Invoice # Accounting Period Other field
1 200401
1 200401
1 200401
2 200401

I need to know the number of invoices per period. What I ended up doing

was
putting invoice number field into row area of a pivot table so I would

have
only unique numbers and just selecting the whole column and using the

count
function on a status bar. I have to manually record the number of

invoices,
change accounting period in the pivot table and repeat the process. That's

a
lot of manual operations.

Maybe there is a programmatic way to solve this.



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 Problem Andrew Mackenzie Excel Discussion (Misc queries) 5 April 1st 09 06:25 PM
Counting Problem Becks Excel Discussion (Misc queries) 4 May 11th 06 09:38 AM
Counting problem daydreamin7 Excel Discussion (Misc queries) 7 March 1st 06 06:30 PM
counting problem LucasBuck Excel Discussion (Misc queries) 4 September 13th 05 05:18 PM
counting problem philip Excel Worksheet Functions 2 August 5th 05 12:47 AM


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