Morning everyone,
Firstly i'm sorry if this question or one similar has already been posted, i did have a good rummage but couldn't find anything that worked. I would also like to clarify that i didn't build this spreadsheet!!
I have this data in B3874
This is inputted using formula : =@Stock!C:C
I am currently using formula : =UPPER(LEFT(B3874,6))
Which brings results : WEST H (obviously)
This is incorrect for my needs. I need the first 6 characters NOT including spaces - WESTHE
Now, the space will be in a different location depending on the customer name, which makes it a bit harder...
Another challenge i have is if the company has less than 6 characters the additional characters need to be Q to make up the additional characters this could be identified as before the comma?
the above should be SASQQQ
If anyone can help, I'd be very much grateful!!!
Thank you!
Firstly i'm sorry if this question or one similar has already been posted, i did have a good rummage but couldn't find anything that worked. I would also like to clarify that i didn't build this spreadsheet!!
I have this data in B3874
West Herts GC, Croxley Green, WD3 3GG |
This is inputted using formula : =@Stock!C:C
I am currently using formula : =UPPER(LEFT(B3874,6))
Which brings results : WEST H (obviously)
This is incorrect for my needs. I need the first 6 characters NOT including spaces - WESTHE
Now, the space will be in a different location depending on the customer name, which makes it a bit harder...
Another challenge i have is if the company has less than 6 characters the additional characters need to be Q to make up the additional characters this could be identified as before the comma?
SAS, Skipton, BD23 2TZ |
the above should be SASQQQ
If anyone can help, I'd be very much grateful!!!
Thank you!