+ Reply to Thread
Results 1 to 3 of 3

Copy cell number of times

  1. #1
    Registered User
    Join Date
    04-24-2004
    Location
    Wisconsin, USA
    MS-Off Ver
    2007
    Posts
    70

    Copy cell number of times

    I’m not sure if this is even possible but here it goes. I’m working on a timesheet problem. This is my first dilemma (I’m sure there will be more).

    I’d like to copy the contents of cell A1 a number of times based the value in B1 and place the first one in cell A10, second in A11, third A12, etc.. Then copy the contents of A2 a number of times based on the value in B2 into the next available cell after A1 has been copied, then A3…B3.

    Example:
    A1 = dog
    B1 = 2
    A2 = cat
    B2 = 4
    A3 = mouse
    B3 = 1

    Results:
    A10 = dog
    A11 = dog
    A12 = cat
    A13 = cat
    A14 = cat
    A15 = cat
    A16 = mouse

    Any help would be greatly appreciated.

    Thanks,
    SKK

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    04-24-2004
    Location
    Wisconsin, USA
    MS-Off Ver
    2007
    Posts
    70
    Excellent. I'll have to tweak this a bit for my specifics but this looks good.

    Thanks again,
    SKK

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1