iotapsi321
New Member
- Joined
- Oct 6, 2017
- Messages
- 22
Hi, everyone. This is such a wonderful resource, glad I was able to find it. I am a beginner to excel so this may be an easy question for most of you. I have hundreds of variables that need to be renamed. Each variable has a prefix and a suffix. The variables are sequentially ordered in batches according to their keycode, but the variables are randomly ordered according to their suffixes. For instance, a variable named xaa.100 in column A1 needs to be renamed to time1_age. A more thorough example is provided below. There are 35 unique prefixes, and unique10 suffixes, so a simple find and replace all would take quite a bit of time. Is there a formula that can tackle this problem more efficiently? Thank you in advance for your help!
FROM
TO
FROM
xaa.100 | xaa.101 | xaa.102 | bzb.101 | bzb.102 | bzb.100 | nrf.102 | nrf.100 | nrf.101 |
TO
time1.age | time1.gender | time1.race | time2.gender | time2.race | time2.age | time2.race | time2.age | time2.gender |