Hi,
Follow these steps:
1. Type a heading for the range on sheet1, say Numbers
2. Select the range of data (including the heading given in 1 above) on
sheet1 and assign it a name, say dummy1;
3. Select the range again and press Ctrl+L;
4. Type a heading for the range on sheet2, say Numbers (same heading as on
sheet1)
5. Select the range of data (including the heading given in 4 above) on
sheet2 and assign it a name, say dummy2;
6. Select the range (on sheet2) again and press Ctrl+L;
7. Select any blank cell;
8. Save the file on the desktop and name it try.xls
9. Go to Data > Import External Data > New Database query
10. Select Excel files
11. In the folder hierarchy on the right, select Desktop and click on the
try.xls on the left had panel
12. Click on OK
13. Click on dummy1 and then press the greater then symbol to get the
numbers column on the right hand side
14. Click on dummy2 and then press the greater then symbol to get the
numbers column on the right hand side
15. Click on OK
16. On the next message box, click on OK. The Microsoft Query windows will
open up
17. Click on the SQL button
18. Delete whatever you see in that box
19. Type the following in that box
Select * from dummy1 union select * from dummy2
20. Click on OK
21. This will combine the two columns (will display the repeated numbers
only once)
22. Go to File > Return data to MS office Excel
23. In the Properties box, select the cell where you want the output.
24. The unique list of numbers will appear as desired;
Now you may add or edit number in dummy1 and dummy2. All you have to do is
right click anywhere in the output and click on Refresh.
Hope this helps.
--
Regards,
Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com