View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jacey Jacey is offline
external usenet poster
 
Posts: 1
Default Need help in Excel Programming

Hi,

I have a workbook that consists of Sheet 1 and Sheet 2 as example below.

Sheet 1
Market|Name|Salary
A|Andy|1000
A|Janice|500
B|Fong|800
C|Lisa|890

Sheet 2
Market|State|Revenue Jan|Revenue Feb
A|AB|9000|9780
A|AC|8000|7000
D|DF|9000|8000

First, I would like to identify unique value for Market from both sheets. It
should returns A from Sheet 1 and 2, B and C from Sheet 1 and also D from
Sheet 2.

Then I will make a new workbook for each unique value in which this new
workbook will consist 2 Sheet per format in Sheet and 2 as above.

Hence Workbook A is looks like this:
Sheet 1
Market|Name|Salary
A|Andy|1000
A|Janice|500

Sheet 2
A|AB|9000|9780
A|AC|8000|7000

While workbook B is:
Sheet 1:
Market|Name|Salary
B|Fong|800

and no Sheet 2 as B value is not found is data source.

Please assist. Thanks and cheers