W
Wendy
Hi
I have a column with an account number in it which I have to turn into a
specific format, for the mainframe to read it. I have the formula for the 8
character records but I have found some 11 character records which also have
to be handled. I wanted to do this in one formula but I can't get it to
work.
These are my 2 formula's
8 characters:-
=IF(LEN(IF(LEFT(B1,1)="F",MID(B1,2,7),B1))=8,"OLD"&B1,"OLD"&0&MID(B1,2,7))
11 Characters:-
=IF(LEN(IF(LEN(IF(LEFT(B47,1)="F",MID(B47,2,7),B47))=8,"OLD"&B47,"OLD"&0&MID
(B47,2,7)))=11,"OLD"&MID(B47,5,7),"OLD"&MID(B47,2,7))
Is this possible? Or is there a better way?
Thanks
Wendy
I have a column with an account number in it which I have to turn into a
specific format, for the mainframe to read it. I have the formula for the 8
character records but I have found some 11 character records which also have
to be handled. I wanted to do this in one formula but I can't get it to
work.
These are my 2 formula's
8 characters:-
=IF(LEN(IF(LEFT(B1,1)="F",MID(B1,2,7),B1))=8,"OLD"&B1,"OLD"&0&MID(B1,2,7))
11 Characters:-
=IF(LEN(IF(LEN(IF(LEFT(B47,1)="F",MID(B47,2,7),B47))=8,"OLD"&B47,"OLD"&0&MID
(B47,2,7)))=11,"OLD"&MID(B47,5,7),"OLD"&MID(B47,2,7))
Is this possible? Or is there a better way?
Thanks
Wendy