How to extract same data twice from one cell in one sheet to two cells of another sheet of the same workbook?

Stevekent

Board Regular
Joined
Jul 24, 2013
Messages
109
Office Version
  1. 365
Platform
  1. Windows
My workbook has 2 worksheets. Worksheet 1 cell A1 contain ABC, cell A2 contain DEF. Now, how can I automatically extract these data to worksheet 2 cell A1 as ABC, cell A2 also ABC, and Cell A3 is DEF, A4 also same DEF
 
How about
Excel Formula:
=TOCOL(IF(SEQUENCE(,2),Sheet1!A1:A2))
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Cryptic responses like you gave in Message #12 are not very helpful. With that said (which means I am having to guess here), does this formula do what you want...
Excel Formula:
=LET(col,Sheet1!A:A,data,FILTER(col,LEN(col)),TOCOL(HSTACK(data,data)))
 
Upvote 0
My workbook has 2 worksheets. Worksheet 1 cell A1 contain ABC, cell A2 contain DEF. Now, how can I automatically extract these data to worksheet 2 cell A1 as ABC, cell A2 also ABC, and Cell A3 is DEF, A4 also same DEF

In the other post you duplicated:
How to repeat cell values A1 to B1 and B2, and cell A2 to B3 and B4, etc. Example, A1 value is cat and A2 is dog, and now I want B1 to be cat, B2 also cat, and B3 and B4 to be dog. As I’ve a long list, I need a formula to easily accomplish the task. Please help. Thank you in advance.

I posted this answer. (But my answer was deleted.)

Put the formula in cell B1
Change A5 to the cell with the last data in column A.
Excel Formula:
=TEXTSPLIT(TEXTJOIN(",",,LET(a,A1:A5,HSTACK(a,a))),,",")

Example:
1693763588232.png


🤗
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top