SaraWitch
Active Member
- Joined
- Sep 29, 2015
- Messages
- 378
- Office Version
- 365
- Platform
- Windows
Hello peeps,
I have a cell with as many as six lines of data and want to extract values line by line. I have a formula to extract the first line and everything after the first line, but this is returning all five lines. Is there a way to extract just line 2, line 3, line 4...etc.?
Any help would be appreciated
I have a cell with as many as six lines of data and want to extract values line by line. I have a formula to extract the first line and everything after the first line, but this is returning all five lines. Is there a way to extract just line 2, line 3, line 4...etc.?
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2 | C2 | =TEXTBEFORE($A2,CHAR(10)) |
D2 | D2 | =IFERROR(DATEVALUE(MID(C2,SEARCH("/??/",C2,1)-2,10)),"") |
E2,T2,O2,J2 | E2 | =IF(I2="",$B2,J2-1) |
G2,AA2,V2,Q2,L2 | G2 | =TEXTAFTER($A2,CHAR(10)) |
I2,AC2,X2,S2,N2 | I2 | =IFERROR(DATEVALUE(MID(G2,SEARCH("/??/",G2,1)-2,10)),"") |
Y2 | Y2 | =IF(X2="","",IF(AC2>0,AD2-1,$B2)) |
AD2 | AD2 | =IF(AC2="","",IF(AG2>0,AH2-1,$B2)) |
Any help would be appreciated