Hello!
I have two workbooks, workbook 1 is 907 (Including the header) rows looks like this:
Workbook 2 is 453 rows (including the header) and looks like this:
The first step is to make column e in Workbook 2 look like column e in Workbook 1 - especially column E - obviously, can't get the text to be added without manual input. Also please notice from above how each new line is immediately after a semi-colon ; ... I removed the semi-colon below. the new Workbook 2 should look like this:
Once this is done, I can copy and paste the data from one into the other.
However, there is a second and separate step. I actually want the end goal of the data to have each RCW in a row by itself, like this:
I have two workbooks, workbook 1 is 907 (Including the header) rows looks like this:
Copy of Felony cases with DV 2023 2024.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | DATE | CASE NUMBER | NAME | CASE TYPE | RCW | LE | ENHANCEMENT | ||
2 | 10/23/2024 | 24-0-00001-39 | John | Assault | 1 -- 9A.36.011(1)(a) ~ FIRST DEGREE ASSAULT 1 -- 9A.36.011(1)(d) ~ FIRST DEGREE ASSAULT / 10.99.020(7) ~ Domestic Violence - Family or Household Member 2 -- 9A.56.065 and 9A.56.020(1)(a) ~ THEFT OF A MOTOR VEHICLE / 10.99.020(7) ~ Domestic Violence - Family or Household Member 3 -- 9.41.040(2)(a)(CCC) ~ SECOND DEGREE UNLAWFUL POSSESSION OF A FIREARM | YSO | |||
3 | 10/23/2024 | 24-0-00002-39 | Jane | Assault | 1 -- 9A.36.021(1)(a) ~ SECOND DEGREE ASSAULT / 9.94A.533(4) and 9.94A.825 ~ Enhancement - Deadly Weapon - Class B / 10.99.020(8) ~ Domestic Violence - Intimate Partner 2 -- 9A.36.021(1)(c) ~ SECOND DEGREE ASSAULT / 9.94A.533(4) and 9.94A.825 ~ Enhancement - Deadly Weapon - Class B / 10.99.020(8) ~ Domestic Violence - Intimate Partner 3 -- 9A.72.120 ~ TAMPERING WITH A WITNESS 4 -- 9A.72.120 ~ TAMPERING WITH A WITNESS / 10.99.020(8) ~ Domestic Violence - Intimate Partner 5 -- 9A.36.041(2) ~ FOURTH DEGREE ASSAULT / 10.99.020(8) ~ Domestic Violence - Intimate Partner 6 -- 9A.36.041(2) ~ FOURTH DEGREE ASSAULT / 10.99.020(8) ~ Domestic Violence - Intimate Partner | YPD | X | ||
4 | 10/25/2024 | 24-0-00003-39 | Wendy | Assault | 1 -- 9A.46.020(1)(a)(i)(b) and (2)(b)(ii) ~ FELONY HARASSMENT OF ANOTHER – THREAT TO KILL / 10.99.020(7) ~ Domestic Violence - Family or Household Member 2 -- 9A.46.020(1) and (2)(a) ~ HARASSMENT OF ANOTHER / 10.99.020(7) ~ Domestic Violence - Family or Household Member 3 -- 9A.76.020 ~ OBSTRUCTING A LAW ENFORCEMENT OFFICER | YSO | |||
Sheet1 |
Workbook 2 is 453 rows (including the header) and looks like this:
Felony cases with DV 2023 2024.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | DATE | CASE NUMBER | NAME | CASE TYPE | RCW | LE | ENHANCEMENT | ||
2 | 10/23/2024 | 24-0-00004-39 | John 2 | Assault | 26.50.010(7) | YPD | |||
3 | 10/23/2024 | 24-0-00005-39 | Jane 2 | Assault | 9.94A.533(4) & 9.94A.825; 26.50.010(6); 26.50.010(7); 9A36.041 (2) X5 | YSO | X | ||
4 | 10/25/2024 | 24-0-00006-39 | Wendy 2 | Assault | 9A.36.011(1)(a); 10.99.020(8) x2; 9A.48.090; 26.50.010(7) | YSO | |||
Sheet1 |
The first step is to make column e in Workbook 2 look like column e in Workbook 1 - especially column E - obviously, can't get the text to be added without manual input. Also please notice from above how each new line is immediately after a semi-colon ; ... I removed the semi-colon below. the new Workbook 2 should look like this:
Felony cases with DV 2023 2024.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
1 | CASE NUMBER | NAME | CASE TYPE | RCW | LE | ENHANCEMENT | ||
2 | 24-0-00004-39 | John 2 | Assault | 1 -- 26.50.010(7) | YPD | |||
3 | 24-0-00005-39 | Jane 2 | Assault | 1 -- 9.94A.533(4) & 9.94A.825 2 -- 26.50.010(6) 3 -- 26.50.010(7) 4 -- 9A36.041 (2) X5 | YSO | X | ||
4 | 24-0-00006-39 | Wendy 2 | Assault | 1 -- 9A.36.011(1)(a) 2 -- 10.99.020(8) x2 3 -- 9A.48.090 4 -- 26.50.010(7) | YSO | |||
Sheet1 |
Once this is done, I can copy and paste the data from one into the other.
However, there is a second and separate step. I actually want the end goal of the data to have each RCW in a row by itself, like this:
Felony cases with DV 2023 2024.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
1 | CASE NUMBER | NAME | CASE TYPE | RCW | LE | ENHANCEMENT | ||
2 | 24-0-00004-39 | John 2 | Assault | 1 -- 26.50.010(7) | YPD | |||
3 | 24-0-00005-39 | Jane 2 | Assault | 1 -- 9.94A.533(4) & 9.94A.825 | YSO | X | ||
4 | 24-0-00005-39 | Jane 2 | Assault | 2 -- 26.50.010(6) | YSO | X | ||
5 | 24-0-00005-39 | Jane 2 | Assault | 3 -- 26.50.010(7) | YSO | X | ||
6 | 24-0-00005-39 | Jane 2 | Assault | 4 -- 9A36.041 (2) X5 | YSO | X | ||
7 | 24-0-00006-39 | Wendy 2 | Assault | 1 -- 9A.36.011(1)(a) | YSO | |||
8 | 24-0-00006-39 | Wendy 2 | Assault | 2 -- 10.99.020(8) x2 | YSO | |||
9 | 24-0-00006-39 | Wendy 2 | Assault | 3 -- 9A.48.090 | YSO | |||
10 | 24-0-00006-39 | Wendy 2 | Assault | 4 -- 26.50.010(7) | YSO | |||
Sheet1 |