+ Reply to Thread
Results 1 to 3 of 3

Loop problem

  1. #1
    Registered User
    Join Date
    05-18-2012
    Location
    London
    MS-Off Ver
    2013
    Posts
    14

    Question Loop problem

    Hello,
    I think this a quite trivial for most of you, but I have searched and looked at a fair number of loop examples to try and solve my problem, but I can't get my head round it.

    Basically, my source data is given in hours (so 8760 rows of data) and the columns are different elements. I need to find the minimum value of the 2nd column, 22nd column, 32nd, 42nd, 52nd, and so on and write them on a separate sheet together.

    Currently, I have managed to write this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Unfortunately, this formula is putting the min of column 22 in all 3 cells in Sheet2.

    I have also attached a file for your reference.
    Min.xlsm

    How can I correct this loop?

    Thanks!
    Pushkin

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Loop problem

    Im not sure exactly what your wanting see if this helps.

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,508

    Re: Loop problem

    See if this works for you:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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