Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 1 workbook with sheet1 named Found containing column headings of phone
number, First Name, Last Name, ID , Building, Floor, etc. Sheet2 is named Not Found This Found will have a list of phone numbers populated already. I am recieving multiple spreadsheets with the same column headings from the different groups. These will have anywhere from 1 row to hundreds of rows populated. I need to run the macro in the Found workbook that will look at whatever the active workbook sheet1 is open (received from the groups), compare the phone numbers (sorted in ascending order)in Column A and if there is a match paste the data from specific column to the correct column in the row that is the match. Preferably with error checking - if any of the cells are already populated insert a row below the match and paste the data (in diferent color) on that row including the duplicate number in column A. If the number in column A exists in one of the group spreadsheets but does not exist in the Found spread sheet insert a row (at the correct sorted spot) and copy the data including the phone number. If the column labeled Cost Center is not populated then paste the cells to the worksheet Not Found I have thousands of numbers and about 100 spreadsheets to consolidate. Lastly can I make this macro run from a toolbar button that shows when the Found workbook is opened and goes away when it is closed. -- Chuck |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro or VB to copy data between two workbooks by column A match | Excel Programming | |||
copy two columns without blanks in the first column | Excel Programming | |||
Trying to copy text from 4 columns into 1 column with HTML? | Excel Discussion (Misc queries) | |||
Matching values from two columns and making a third column with the results - possible? | Excel Discussion (Misc queries) | |||
compare ranges in different workbooks and copy "not matching values" at bottom of range 1 | Excel Programming |