+ Reply to Thread
Results 1 to 4 of 4

Loop Without Macros

  1. #1
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Loop Without Macros

    Hi,

    I wanted to solve the following without using a macro if possible..

    I have a spreadsheet with two sheets.. The second sheet has a list of products in column A and column B, C, D etc are various costings.. One month there may be 20 products, next 25 the following 15, it varies.. In column A on the first sheet I want all the products in column A on second sheet to be listed from say row 1 to 20, and then I want them listed again from row 21 to 40 and then again for a final third time.. In short I want a formula that can go through a list until a blank cell is reached and then go through that same list a second and then a third time..

    Hope this makes sense..

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Loop Without Macros

    Instead of description, attach sample file with desire required result. Enter manually required result in respective cell.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Loop Without Macros

    Hi,

    I'd say not "instead" but "also" :-)

    But as we have only description, I'd add - and probably in both sheets there is a header row (row 1)
    So formula in A2 (and copy down and right):
    Please Login or Register  to view this content.
    will do the work of displaying 3 copies of data from rows 2:x in sheet2 into sheet1 rows 2:x , x+1:2x-1, 2x:3x-2
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    06-08-2015
    Location
    Bristol
    MS-Off Ver
    2013
    Posts
    75

    Re: Loop Without Macros

    Thanks Kaper.. Worked a treat.. You're a star..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Loop through macros
    By ExcelRose in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-09-2018, 11:01 PM
  2. VBA, Do without loop, macros
    By BDD2015 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2015, 04:21 AM
  3. Loop through multiple files and call macros (but unable to loop)
    By ryanpetersen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2014, 12:04 PM
  4. [SOLVED] Trying to loop this macros
    By wyldjokre69 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-02-2013, 12:29 AM
  5. [SOLVED] how to fix do while loop for find macros
    By lottidotti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2012, 10:35 AM
  6. Call Macros before Next loop (loop creates new worksheets)
    By mantooth29 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2012, 05:47 PM
  7. Do While Loop for Macros to run through various workbooks
    By kchm_2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2011, 12:12 PM

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