Hi,
I am trying to think of a formula to enable the data in column A to look like the data in columns B through I. My goal is to get whole numbers that are 3 digits long. The three digits that need to be populated are after the dashes for the positions. The positions would dictate what column it goes into. So for cell A2, it falls into cell C1, because of the "1B" in front of the dash. "101" is populated because it has a leading "1" after the dash and the "01" is populated because it is a singular 1 after the "e".
It is messy data and there are many complications on breaking this out and I don't know where to start.
The first issue I am seeing is in the second row we can see multiple entries. The most complicated being "rf/lf-5(+2)e12". These results are the same for each position and the data I am provided list them in the same "chunk" of data in the cell. I would hope this would go into the two different columns, G and I. We also ignore anything that is a parenthesis and only care about the leading number after the dash and the following 2 numbers after the "e".
The 2nd complicated piece is the example on row 4. RF and CF data set in the cell only has 1 leading digit and that is because the "e" number will be the same as the first LF number. Again I would like these to be broken out into the respective columns if possible.
The last set of complicated numbers is the CA position. Like the RF/LF/CF prefix this will come with data that is in a parenthesis. This number needs to be ignored and only have the leading number and the number directly after the "e" be put into cell B13.
To clarify a bit, I am trying to reproduce columns B through I. The original data I get is only column A. I would like to be able to apply a formula to get the results in column B through I.
Any help is appreciated.
Also asked here Formula to breakout text from a cell, multiple times.
I am trying to think of a formula to enable the data in column A to look like the data in columns B through I. My goal is to get whole numbers that are 3 digits long. The three digits that need to be populated are after the dashes for the positions. The positions would dictate what column it goes into. So for cell A2, it falls into cell C1, because of the "1B" in front of the dash. "101" is populated because it has a leading "1" after the dash and the "01" is populated because it is a singular 1 after the "e".
It is messy data and there are many complications on breaking this out and I don't know where to start.
The first issue I am seeing is in the second row we can see multiple entries. The most complicated being "rf/lf-5(+2)e12". These results are the same for each position and the data I am provided list them in the same "chunk" of data in the cell. I would hope this would go into the two different columns, G and I. We also ignore anything that is a parenthesis and only care about the leading number after the dash and the following 2 numbers after the "e".
The 2nd complicated piece is the example on row 4. RF and CF data set in the cell only has 1 leading digit and that is because the "e" number will be the same as the first LF number. Again I would like these to be broken out into the respective columns if possible.
The last set of complicated numbers is the CA position. Like the RF/LF/CF prefix this will come with data that is in a parenthesis. This number needs to be ignored and only have the leading number and the number directly after the "e" be put into cell B13.
To clarify a bit, I am trying to reproduce columns B through I. The original data I get is only column A. I would like to be able to apply a formula to get the results in column B through I.
Any help is appreciated.
Strato Error Rating Example.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Error Rating | C | 1B | 2B | 3B | SS | LF | CF | RF | ||
2 | 1b-1e1 | 101 | |||||||||
3 | 1b-4e12, 3b-4e16, rf/lf-5(+2)e12 | 412 | 416 | 512 | 512 | ||||||
4 | lf-2(0)e3, rf-3, cf-4, 2b-4e24 | 424 | 203 | 403 | 303 | ||||||
5 | 2b-3e11 | 311 | |||||||||
6 | 1b-4e7 | 407 | |||||||||
7 | 3b-3e14, 1b-4e30 | 430 | 314 | ||||||||
8 | cf-2(-1)e2 | 202 | 202 | 202 | |||||||
9 | lf-5(-3)e6 | 506 | 506 | ||||||||
10 | ss-2e12 | 212 | |||||||||
11 | of-4(-1)e9 | 409 | 409 | 409 | |||||||
12 | 1b-4e5, rf/lf-3(+1)e22 | 405 | 322 | 322 | |||||||
13 | CA-2(0)e4t10p0, 1b-4e25 | 204 | 425 | ||||||||
Sheet1 |
Also asked here Formula to breakout text from a cell, multiple times.
Last edited by a moderator: