I have 2 columns with 10 rows of data (in a Google Sheet)
A B C
1 DATASET 1 DATASET 2
2 "trial 1" "mouse 1"
3 "trial 2" "mouse 2"
4 "trial 3" "mouse 3"
5 "trial 4" "mouse 4"
6 "trial 5" "mouse 5"
7 "trial 6" "mouse 6"
8 "trial 7" "mouse 7"
9 "trial 8" "mouse 8"
10 "trial 9" "mouse 9"
11 "trial 10" "mouse 10"
would like to combine results and have them in a separate column (column C):
A B C
1 DATASET 1 DATASET 2
2 "trial 1" "mouse 1" "trial 1 mouse 1"
3 "trial 2" "mouse 2" "trial 1 mouse 2"
4 "trial 3" "mouse 3" "trial 1 mouse 3"
5 "trial 4" "mouse 4" "trial 1 mouse 4"
6 "trial 5" "mouse 5" "trial 1 mouse 5"
7 "trial 6" "mouse 6" .................
8 "trial 7" "mouse 7" .................
9 "trial 8" "mouse 8" .................
10 "trial 9" "mouse 9" .................
11 "trial 10" "mouse 10" .................
12 "trial 2 mouse 1"
13 "trial 2 mouse 2"
14 .......etc.......
here is the google sheet with sample data: https://docs.google.com/spreadsheets/d/1XToxuw_86wxZoJuoxF-D5OYrjsXnReAqGBRtljqQ69k/edit?usp=sharing
(as you can see in the Gsheet) i kinda managed to combine each vale in column A with all values in column B using the following formula:
=ARRAYFORMULA(A2&" "&B2:B11)
but problems are:
- if i want to combine the next set of data (a3 + all values in column B) i need to repeat the formula..... (a4 + all values in column B) repeat formula again.... etc...
- if i have to repeat the same formula over and over, if i add a new set of data (column A same 10 trials but column B add 5 more mice) i need to change all formulas ....=ARRAYFORMULA(A..&" "&B2:B16)
- don't know how to remove internal " adding a space (was just able to add a space)
Is there a way to use 1 formula only (at the top of column C) or can you please suggest me a different way to achieve my goals?
Thanks in advance