kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 951
- Office Version
- 365
Hi,
I have the following:
In Sheet 1 to Sheet3, I have the customer ID,, their policy no, state ,city and zip code. In Sheet4, i am trying to count the unique number of customers based on customer ID in each state and city. Example, for Montgomery, Alabama, based on unique customer ID, there is a total of 6 customers. I am unable to combine the list in Sheet 1 to 3 due to each sheet has a long list of customer details.
Is there a way to build a formula to look into sheet 1 to 3 and populate the result in Sheet4? Example of the correct result is in Sheet4. Appreciate all the help.
I have the following:
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | |||
2 | Sheet1 | Sheet 4 | ||||||||||
3 | Customer ID | Policy No | State | City | Zip Code | State | City | Zip Code | No of Customer | |||
4 | 1000 | 77889745 | Montgomery | Alabama | 36104 | Montgomery | Alabama | 36104 | 6 | |||
5 | 1001 | 77889746 | Montgomery | Alabama | 36104 | Texas | Dallas | 35478 | 3 | |||
6 | 1002 | 77889747 | Texas | Dallas | 35478 | Florida | Tallahassee | 87895 | 6 | |||
7 | 1000 | 77889748 | Montgomery | Alabama | 36104 | Missouri | Jefferson City | 33658 | 6 | |||
8 | 1004 | 77889749 | Florida | Tallahassee | 87895 | |||||||
9 | 1005 | 77889750 | Florida | Tallahassee | 87895 | |||||||
10 | 1006 | 77889751 | Missouri | Jefferson City | 33658 | |||||||
11 | 1000 | 77889752 | Montgomery | Alabama | 36104 | |||||||
12 | 1008 | 77889753 | Missouri | Jefferson City | 33658 | |||||||
13 | ||||||||||||
14 | ||||||||||||
15 | Sheet2 | |||||||||||
16 | Customer ID | Policy No | State | City | Zip Code | |||||||
17 | 1000 | 88784487 | Montgomery | Alabama | 36104 | |||||||
18 | 1001 | 88784488 | Montgomery | Alabama | 36104 | |||||||
19 | 1002 | 88784489 | Texas | Dallas | 35478 | |||||||
20 | 1000 | 88784490 | Montgomery | Alabama | 36104 | |||||||
21 | 1004 | 88784491 | Florida | Tallahassee | 87895 | |||||||
22 | 1005 | 88784492 | Florida | Tallahassee | 87895 | |||||||
23 | 1006 | 88784493 | Missouri | Jefferson City | 33658 | |||||||
24 | 1000 | 88784494 | Montgomery | Alabama | 36104 | |||||||
25 | 1008 | 88784495 | Missouri | Jefferson City | 33658 | |||||||
26 | ||||||||||||
27 | ||||||||||||
28 | Sheet3 | |||||||||||
29 | Customer ID | Policy No | State | City | Zip Code | |||||||
30 | 1000 | 99874587 | Montgomery | Alabama | 36104 | |||||||
31 | 1001 | 99874588 | Montgomery | Alabama | 36104 | |||||||
32 | 1002 | 99874589 | Texas | Dallas | 35478 | |||||||
33 | 1000 | 99874590 | Montgomery | Alabama | 36104 | |||||||
34 | 1004 | 99874591 | Florida | Tallahassee | 87895 | |||||||
35 | 1005 | 99874592 | Florida | Tallahassee | 87895 | |||||||
36 | 1006 | 99874593 | Missouri | Jefferson City | 33658 | |||||||
37 | 1000 | 99874594 | Montgomery | Alabama | 36104 | |||||||
38 | 1008 | 99874595 | Missouri | Jefferson City | 33658 | |||||||
Sheet1 |
In Sheet 1 to Sheet3, I have the customer ID,, their policy no, state ,city and zip code. In Sheet4, i am trying to count the unique number of customers based on customer ID in each state and city. Example, for Montgomery, Alabama, based on unique customer ID, there is a total of 6 customers. I am unable to combine the list in Sheet 1 to 3 due to each sheet has a long list of customer details.
Is there a way to build a formula to look into sheet 1 to 3 and populate the result in Sheet4? Example of the correct result is in Sheet4. Appreciate all the help.