Hi all,
I've just joined the forum in hope that someone might be able to help me with an issue. I have a load of numbers and some have a * followed by two digits. E.g.
12345
12322
1234*05
1223*01
What I'm trying to do is split these into two columns using a formula so that one column (left hand) has the numbers up to the * and the other (right hand) has everything after the *. In cases where there is no * the number should be reported to the left hand column and the right hand column should be blank.
I've been using the following formula:
=IF(ISNUMBER(SEARCH("*",K2)),MID(K2,1,FIND("*",K2)-1),K2)
Where column K is the one with the uncleaned number. This works fine for cases where there is an * in K but where there isn't I get a #VALUE returned. Does anyone have any idea how I can work around this so I get the original value back if there is no *?
Any help would be much appreciated - thanks in advance.
Regards
HA
Bookmarks