Excel 2007 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Have | Need1 | Need2 | ||
2 | 111110: Soybean Farming | 111110 | Soybean Farming | ||
3 | 111130: Dry Pea and Bean Farming | 111130 | Dry Pea and Bean Farming | ||
Sheet3 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | =LEFT(A2,FIND(":",A2)-1) | |
C2 | =SUBSTITUTE(A2,B2&": ","") |
Excel 2012 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | 111110: Soybean Farming | 111110 | Soybean Farming | ||
2 | 111130: Dry Pea and Bean Farming | 111130 | Dry Pea and Bean Farming | ||
3 | 111140: Wheat Farming | 111140 | Wheat Farming | ||
Sheet34 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B1 | =REPLACE(A1,SEARCH(":",A1,1),LEN(A1),"") | |
B2 | =REPLACE(A2,SEARCH(":",A2,1),LEN(A2),"") | |
B3 | =REPLACE(A3,SEARCH(":",A3,1),LEN(A3),"") | |
C1 | =REPLACE(A1,1,SEARCH(":",A1,1)+1,"") | |
C2 | =REPLACE(A2,1,SEARCH(":",A2,1)+1,"") | |
C3 | =REPLACE(A3,1,SEARCH(":",A3,1)+1,"") |