Hi,
I've tried looking around forums but couldn't seem to find the answer to this one. I'm currently trying to automate some testing by comparing two tables. The column headers are different so I have a third table that maps the column names. Example below :
Table 1 :
PersonalNumber Name Age
12 Mike 23
Table 2 :
ID Perso Date
Mike 12 2-3-12
Table 3 :
No Source Target
1 PersonalNumber Perso
2 Name ID
Basically I want to validate that the info in table 1 and 2 are the same (Personal Number = 12, Name = Mike), maybe highlight if different. Keep in mind that I'm mapping more than 1 column header in the third table and validating all these info (all the tables should have same info, just the column headers are different)
I've been looking at macros but can't seem to find any tha does this, most of them just compares cells statically. The position of the columns are not fixed so the code has to be dynamic. I'm newbie at macros and not that great at Excel formulas if you can't tell.
Thanks for any tips or help you might be able to offer.
Have a nice day,
Nora
I've tried looking around forums but couldn't seem to find the answer to this one. I'm currently trying to automate some testing by comparing two tables. The column headers are different so I have a third table that maps the column names. Example below :
Table 1 :
PersonalNumber Name Age
12 Mike 23
Table 2 :
ID Perso Date
Mike 12 2-3-12
Table 3 :
No Source Target
1 PersonalNumber Perso
2 Name ID
Basically I want to validate that the info in table 1 and 2 are the same (Personal Number = 12, Name = Mike), maybe highlight if different. Keep in mind that I'm mapping more than 1 column header in the third table and validating all these info (all the tables should have same info, just the column headers are different)
I've been looking at macros but can't seem to find any tha does this, most of them just compares cells statically. The position of the columns are not fixed so the code has to be dynamic. I'm newbie at macros and not that great at Excel formulas if you can't tell.
Thanks for any tips or help you might be able to offer.
Have a nice day,
Nora