Find last values in multiple rows.

  • Well, I can still say it's not perfect. If column AY has data the macro won't work as required. This is how it should be (final :P) :

    Range("BB" & x) = Cells(x, 52).End(xlToLeft).Value

    By the way, I completely missed this statement: "Aim is to return value of the last cell of each row " in your post #1:sleeping:.


    I'm glad I've been of some help:thumbup:.

  • Well, I can still say it's not perfect. If column AY has data the macro won't work as required. This is how it should be (final :P) :

    Range("BB" & x) = Cells(x, 52).End(xlToLeft).Value

    By the way, I completely missed this statement: "Aim is to return value of the last cell of each row " in your post #1:sleeping:.


    I'm glad I've been of some help:thumbup:.

    Thanks very much rollis13.

    I've already realized that 51/52 is an empty column number from which to start countdown to the left, depending of the length of the rows. I understand that should the length of the rows increase I would have to move data from column BB to the right.

    Thanks again for your help.

    Dilshod

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!