Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dalsx1
 
Posts: n/a
Default Copying and pasting data muiltiple times


I need to extract data from cells on sheet that I have to another sheet,
however, I need to paste it on the second sheet numerous times (See
example below).


From Sheet #1:
Asian Plum 2x2 83970100647 ( these are individual cells)

On sheet #2 I need to see this:
Asian Plum 2x2 83970100647
Asian Plum 2x2 83970100647
Asian Plum 2x2 83970100647
Asian Plum 2x2 83970100647
Asian Plum 2x2 83970100647
Asian Plum 2x2 83970100647

I know that I can copy and paste the data but could be very time
comsuming if I have numerous UPC's to print.


--
dalsx1
------------------------------------------------------------------------
dalsx1's Profile: http://www.excelforum.com/member.php...o&userid=33041
View this thread: http://www.excelforum.com/showthread...hreadid=528568

  #2   Report Post  
Posted to microsoft.public.excel.misc
CaptainQuattro
 
Posts: n/a
Default Copying and pasting data muiltiple times


Try this:

On Sheet1:

Headings in Row 1, Columns A to C

Desc | nxn | UPC

Example Data on rows 2, 3 and 4

Asian Plum | 2x2 | 83970100647
African Peach | 3x3 | 9060211556
American Grape| 1x1 | 62122542110

On Sheet 2:

Headings in Row 1, Columns A to D:

Seq Desc nxn UPC

Label in Cell F1:

No. of iterations:

Value in Cell G1:

6 ( = the number of copies of each row of sheet1 that you want to make
on sheet 2)



Formula in Cell A2:

=ROUNDUP(((CELL("row",Z2)-1)/$G$1),0)


Formula in Cell B2:

=OFFSET(Sheet1!$A$1,$A2,0)


Formula in Cell C2:

=OFFSET(Sheet1!$A$1,$A2,1)


Formula in Cell D2:

=OFFSET(Sheet1!$A$1,$A2,2)

Now copy formulas in row 2 down six times as many rows as you have on
Sheet 1


--
CaptainQuattro
------------------------------------------------------------------------
CaptainQuattro's Profile: http://www.excelforum.com/member.php...o&userid=32763
View this thread: http://www.excelforum.com/showthread...hreadid=528568

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pasting data from a website changes text to date stebro Excel Discussion (Misc queries) 8 August 12th 06 08:39 PM
Copying and pasting data muiltiple times dalsx1 Excel Discussion (Misc queries) 1 March 31st 06 04:25 PM
pasting data and macros kidd golfer Excel Discussion (Misc queries) 0 May 23rd 05 11:09 PM
Copying and Pasting between Workbooks NothingButRomance Excel Worksheet Functions 0 May 13th 05 09:54 PM
Copying and Pasting between Workbooks NothingButRomance Excel Worksheet Functions 0 May 13th 05 07:33 PM


All times are GMT +1. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"