Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Wildcard in conjunction with data comparison
I utilize an installed feature in Excel that allows to
compare worksheets and - when executed - produces another XLS file that lists the differences between Sheet1 and Sheet2. Data Sample of Sheet1: A1 STATE A2 CA A3 IL A4 VA Data Sample of Sheet2: A1 STATE A2 CA A3 IL A4 TX After executing the worksheet comparison, the VBA code creates the additional worksheet which lists the following: Address Difference [Book1]Sheet1 [Book1]Sheet2 $A$4 Value VA TX In the actual data set, I have hundreds of records and almost 50 columns. Here's my problem/question now? I need to translate the column letter e.g. "A" into the actual value "State" which is stored in the 1 row. So, rather than displaying "Value" under the "Difference" column, I need to display "State". I am sure if I should use a wildcard for this... Using a wildcard (e.g. "*A*") would pick up both column A and all 2-digit columns IDs such as "AA" or "AB". Moreover, if there's a way that I can differentiate between e.g. $A$1 and $AA$1, how do I need to work around the limit of 7 subnesting functions in Excel? Any suggestions are greatly appreciated! Thanks, Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using IF statements in conjunction with other function | Excel Worksheet Functions | |||
How can I use an IFISNUMBER formula in conjunction with Vlookup? | Excel Worksheet Functions | |||
cell color in conjunction with upcoming date | Excel Discussion (Misc queries) | |||
how to move lines in conjunction with graphs | Charts and Charting in Excel | |||
Using IF & AND command in conjunction | Excel Discussion (Misc queries) |