madhuchelliah
Board Regular
- Joined
- Nov 22, 2017
- Messages
- 226
- Office Version
- 2019
- Platform
- Windows
Hello all, i have an alphabet in cell C1, I have data(string) from C2 and column range is dynamic. Condition is if the word in the string has 4 characters, then the alphabet in C1 has to be added as prefix and if the word in a string has 8 characters, then the alphabet in C1 has to be added as first and fifth character of the word. We can ignore words which dont have 4 or 8 characters.
Example: Assume that i have alpha D in cell C1. Data in C2 is A308 E064 E083E086 E141E152 F041F042. Expected output is DA308 DE064 DE083DE086 DE141DE152 DF041DF042
Thank you.
Example: Assume that i have alpha D in cell C1. Data in C2 is A308 E064 E083E086 E141E152 F041F042. Expected output is DA308 DE064 DE083DE086 DE141DE152 DF041DF042
Thank you.