Bring 1 Cell Values in to 3 Separate Cells like attached output sheet2 from sheet1
Bring 1 Cell Values in to 3 Separate Cells like attached output sheet2 from sheet1
Last edited by maddyrafi1987; 11-21-2022 at 07:16 AM.
Outside of the code, there are no obvious delimiters to separate College Name from District Name.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Column A
=LEFT(input!A2,3)
Column B
=MID(LEFT(input!A2,FIND(CHAR(1),SUBSTITUTE(input!A2," ",CHAR(1),LEN(input!A2)-LEN(SUBSTITUTE(input!A2," ",""))+IF(RIGHT(input!A2,3)=" DT",-1,0)))),5,255)
Column C:
=TRIM(MID(input!A2,FIND(CHAR(1),SUBSTITUTE(input!$A2," ",CHAR(1),LEN(input!A2)-LEN(SUBSTITUTE(input!A2," ",""))-IF(RIGHT(input!A2,3)=" DT",1,0))),255))
all copied down.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
as John said above and me now: your data is inconsistent but Glenn has patience
Last edited by sandy666; 11-21-2022 at 10:00 AM.
using Glenn's solution ...
In C3
=TRIM((SUBSTITUTE(SUBSTITUTE(input!A2,output!A3,""),output!B3,"")))
It is working fine sir. Superb. thanks alot
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks