Hello Gurus. This is my first time working on a macro.
I need to match data from two diferent tables in excel, and unfortanely, the data in the two tables isn't treated in the same way.
For example, in one table I have 2K2 (2,2*10^3), and on the other table I have 2,2K (also 2,2*10^3). As you can see, the value of the data is the same, but being that it isn't treated the same way, it doesnt't match. So I was thinking about making a cycle that would run all of both tables, and transform the data so it would be the same. For example 2K2 and 2,2K would become 2,2*10^3. Or 2K2 would become 2,2K.
(Example of the values Below)
Table 1 |Table2
4,300K |4K3
39,00C |39C
36,00P | 36P
Do you have any advice? I spent all day trying to find examples of how through cycle through a string, and if some condition was met, (for example, if my char was K) it would transform it to the value i wanted (10^3). But I feel like I'm way out of my league here.
Maybe this is very simple problem to solved, but I'm have no experience in programming macros. I appologize in advance if I'm breaking some forum rule.
Thanks for the Help.
Bookmarks