LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Counting numbers in a table

You are really close but I think you need to tweek your raw data a tad. You
have two sheet. Replacement data, and part numbers...

Replacemetn data should be organized mroe like this:
Column A: Buss_Number
Column B: Location
Column C: Buss_Type
Column D: No_WS (no windshield to be replaced)
Column E: WS1 (Windshield 1 to be replaced)
Column F: Part Number

Your data will look something like this...
Bus # Location Bus Type Replace WS # Part Number
1234 Here Yellow TRUE L3 BW01234GTN
1234 Here Yellow TRUE L4 BW01234GTN
9876 There Green FALSE

Now based on the Bus type and WS# you should be able to look up the Part
number. This data will pivot very well. One more benefit is that you will not
be limited to 5. The more rows for any one bus the more windshields it
needs...

HTH

Bus
"Arwes" wrote:

Hi,

Situation:
I'm using Excel 2002 and work in a public traffic company with 572 busses,
devided over 14 different locations.
A lot of windshields have to be replaced on those busses and before we can
start the job, we have to count how many windshields we have to order.
There are 25 different types of busses and not all the busses have the same
number of windshields.

In the worksheet [Busses] I collect the info about the windshields to be
replaced:
Column A: Buss_Number
Column B: Location
Column C: Buss_Type
Column D: No_WS (no windshield to be replaced)
Column E: WS1 (Windshield 1 to be replaced)
Column F: WS2
Column G: WS3
Column H: WS4
Column I: WS5

In the columns D we put a '0', meaning that we've seen the buss and there is
no windshield to replace.
In the columns E:I we put a code to point to the windshield that we have to
replace. For example: L1 (first window on the left), R4 (fourth window on
the right).....
In this table we assume that we don't have to replace more then 5
windshields on one buss.

In another worksheet [WS] I a have a table with all the part numbers of all
the windshields from all different types of busses.
A2:A26 different buss types (f.e. Type1, Type2,....)
B1:U1 the code to point to the windows (L1:L10 and R1:R10)
At the intersection there is the part number.

Problem:
I'm trying to gererate a report that gives me the number of each different
part number that I have to order.

So far I tryed with a pivot table, but there are 2 different tables
involved.
I used the VLookup and the intersection operator.

Can someone put me on the right track here?

Thnx

Arwes



 
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 numbers yimkhoc Excel Discussion (Misc queries) 3 March 8th 10 09:56 AM
Counting two numbers vijaydsk1970 Excel Worksheet Functions 3 April 3rd 07 06:27 PM
counting numbers dmack Excel Discussion (Misc queries) 6 January 24th 07 07:50 PM
counting numbers cj21 Excel Discussion (Misc queries) 6 February 16th 06 11:28 PM
Counting numbers cj21 Excel Discussion (Misc queries) 10 February 16th 06 06:55 PM


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