LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Multiple printing of cell data onto new worksheet

Hi,

I have a spreadsheet with a list of 500 names. Their surname is in A1 and
firstname in B1. In column D, I have a number down the column for each person
that represents the number of tickets each person receives in a prize draw.
Some people have 1 ticket, others two, others three or four and so on.

So the data looks like this:

A B C D E
Smith Bill 2
Jones Karen 5
Travis Jo 0
Smith Jess 1

If a person has a 2 (representing two tickets) in cell D1 (as above) then I
would like their first and last name to be printed twice - once in cell A1
and again in cell A2 of the next worksheet called "draw". If the next person
has five tickets I would like their name printed five times: in A3, A4, A5,
A6 and A7 underneath. If the third person has no tickets, then their name
would not appear on the second worksheet ("draw"). This process would
continue through the 500 names in the first worksheet. Not all people would
have a ticket so their name would not appear in the "draw" worksheet. And a
person who has a 10 in the D column would have their name listed ten times in
the "draw" worksheet.

Is what I want possible and can I add code to a button on the first worksheet
to automatically do this?

Many thanks
Anthony

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200711/1

 
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
Adding data from multiple cell and linking to a new worksheet Rashmi Excel Worksheet Functions 3 April 29th 10 12:54 PM
Printing Single Worksheet Multiple Times with Different Data Jr. New Users to Excel 6 October 16th 07 05:53 PM
Printing multiple ranges on one worksheet Pivot Novice Excel Discussion (Misc queries) 4 April 10th 06 11:05 PM
Excel XP - Printing multiple worksheet in a workbook Anil Sharma Excel Worksheet Functions 2 November 2nd 05 09:41 PM
printing multiple copies of a worksheet bloodgroove Excel Discussion (Misc queries) 10 September 20th 05 05:47 PM


All times are GMT +1. The time now is 09:34 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"