JODomingos
New Member
- Joined
- Jul 11, 2020
- Messages
- 48
- Office Version
- 2016
- Platform
- Windows
Hello Fellows
I have a macro for replacing multiple conditions but it runs very slows. I need to replace cell in many collumns based on the row (4). I think it would be necessary a looping
For instance if Row(4) =
G/T then replace GG = 1 and TT=-1
else
A/G then replace AA =1 and GG=-1
else
A/C then replace AA=-1 and CC=1
View attachment 18462
Result should be like this:
I have a macro for replacing multiple conditions but it runs very slows. I need to replace cell in many collumns based on the row (4). I think it would be necessary a looping
For instance if Row(4) =
G/T then replace GG = 1 and TT=-1
else
A/G then replace AA =1 and GG=-1
else
A/C then replace AA=-1 and CC=1
View attachment 18462
Result should be like this: