Google Answers Logo
View Question
 
Q: Excel count competing customers ( No Answer,   5 Comments )
Question  
Subject: Excel count competing customers
Category: Computers > Programming
Asked by: jplumley-ga
List Price: $5.00
Posted: 15 Jan 2006 04:49 PST
Expires: 14 Feb 2006 04:49 PST
Question ID: 433615
I have bid list arranged as follows:

Job    Customer
A      Z
A      X
A      Y
B      Z
B      Y
B      F
B      C

Jobs may have more than one Customer.  I'd like to count how many
times customer Z bids the same jobs as customer Y.  Ideally, I'd like
to create a report from this data that automatically identifies the
customers that compete against each other.  This list is exported from
Access, so it may be able to do this easier in it's database form, but
I haven't found a way there either.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Excel count competing customers
From: ratty_-ga on 15 Jan 2006 05:57 PST
 
It is easier in Access.

Assume it's table: JOBS
What you need to do is to link the table to itself.
If you use the visual query editor:

1. Start the query editor

2. Load the table twice (it will appear as Jobs_1 as the second one)

3. Link on Job

4. Click on the Totals icon just under the menus (looks like a letter E)

5. Choose Customer from Jobs as 1st output

6 Click on Customer from Jobs_2 as 2nd output

7. Click on Jobs

8. In the totals line, under Jobs, choose COUNT

9. Under Customer in the Jobs_2 table, on the Criteria row, put in:
    >Jobs.Customer
    (or whatever your Jobs table is called).

10. Run it

Ratty
Subject: Re: Excel count competing customers
From: shivshankar2020-ga on 15 Jan 2006 06:21 PST
 
You can use the PivotTable feature in Excel. Here is the step by step
instructions. Please open the Excel spreadsheet when you try the
steps.

1. Select the whole list including the headers using your mouse
2. Click on Data > PivotTable and PivotChart Report
3. When the dialog box opens with Step 1 of 3, check the following options:
        Microsoft Excel list or database
        PivotTable
4. Click on Next
5. Click on Next for Step 2 of 3
6. Click on the Layout button in Step 3 of 3
7. Drag the Job button to the ROW area
8. Drag the Customer button to the COLUMN area
9. Drag the Job button to the DATA area
10. Click on OK
11. Click on Finish

You should have a new worksheet with the data arranged meeting your requirements.
Subject: Re: Excel count competing customers
From: wisemoses-ga on 15 Jan 2006 23:17 PST
 
I would create a new spread sheet containing the list of
bidders(customers).  I would then use the function countif in excel to
check for bidding the same project and relay the info to the new
spread sheet.
Subject: Re: Excel count competing customers
From: venu24-ga on 24 Jan 2006 04:53 PST
 
I will give easy solution MS Access itself. you need not import to Excel
Subject: Re: Excel count competing customers
From: venu24-ga on 30 Jan 2006 07:25 PST
 
In MS Access we can resolve this.A table called "Bidding" in that
columns are Job and customer.create Query Insert>Query>design view >
select the table> right click>select "SQL view". there u need paste
sql statment.

SELECT Count(*) AS ["NoOfTimes"]
FROM Bidding AS t1, Bidding AS t2
WHERE t1.job=t2.job And t1.customer=[&Customer1] And t2.customer=[&Customer2];

Run the Query(double click on ur Query)
while running it will ask customer1 and Customer2.just enter your
customer names.you will get required answer

thanks
Venu

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy