1

Im trying to add few cell values to one separate (Column) Cell with Line brake for each Cell Value. (Using Google Sheets) The Formula im Using is

={"ID" ;ARRAYFORMULA(CONCATENATE(H2:H,CHAR(10),I2:I,CHAR(10),J2:J,CHAR(10),K2:K,CHAR(10),L2:L,CHAR(10),M2:M))}

The Issue im facing is all the data is coming on to Cell O2 Please check Image Issue im facing

What I want is for each row to get the values on relevant Column

Thanks in Advance

1
  • The Sheet Gets Updated with New Rows Commented Jun 7, 2021 at 15:44

2 Answers 2

1

Alternatively, you can also try in O1

={"ID"; ArrayFormula(substitute(transpose(substitute(trim(query(transpose(substitute(H2:M, " ", "_")),,rows(H2:H))), " ", char(10))), "_"," "))}

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Im Trying to Get a Cell Value (SheetA) which was created by a ARRAYFORMULA to a separate Sheet (Sheet B). Where I need to Make Changes to it on new Sheet ( SheetB ) The Data is on Column P Cell 2 on Sheet A and data Rows are Added What Must i Use to get relevant data But it must be editable Tried IMPORTRANGE But It gives errors
Values imported with a formula can't be edited or the formula will brieak. Only alternative would be to import these values with a google script.
0

I suspect you need this in cell O1:

=ARRAYFORMULA({"ID" ;H2:H&CHAR(10)&I2:I&CHAR(10)&J2:J&CHAR(10)&K2:K&CHAR(10)&L2:L&CHAR(10)&M2:M})

Probably good to add a trim as well:

=ARRAYFORMULA({"ID" ;trim(H2:H&CHAR(10)&I2:I&CHAR(10)&J2:J&CHAR(10)&K2:K&CHAR(10)&L2:L&CHAR(10)&M2:M)})

2 Comments

Thanks Im Not an expert.. This did the job verywell
It's probably useful to add trim as per the update.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.