Consulting

Results 1 to 4 of 4

Thread: need VBA to arrange the data from left to right smallest to largest, please!

  1. #1
    VBAX Mentor
    Joined
    Feb 2016
    Posts
    382
    Location

    need VBA to arrange the data from left to right smallest to largest, please!

    I have NUMERICAL data in columns ABCDE and need the data from left to right read smallest largest, please
    See example on attachment,

    Thank you!
    Attached Files Attached Files
    Last edited by estatefinds; 03-12-2016 at 01:19 PM.

  2. #2
    VBAX Tutor PAB's Avatar
    Joined
    Nov 2011
    Location
    London (UK)
    Posts
    243
    Location
    Hi estatefinds,

    Put the following formulas in the cells quoted and copy them down...

    G11 =SMALL($A11:$E11,1)
    H11 =SMALL($A11:$E11,2)
    I11 =SMALL($A11:$E11,3)
    J11 =SMALL($A11:$E11,4)
    K11 =SMALL($A11:$E11,5)

    I hope this helps!
    -----------------------------------------∏-

    12:45, restate my assumptions.
    Mathematics is the language of nature.
    Everything around us can be represented and understood through numbers.
    If you graph the numbers of any system, patterns emerge. Therefore, there are patterns everywhere in nature.

    -----------------------------------------∏-

  3. #3
    VBAX Mentor
    Joined
    Feb 2016
    Posts
    382
    Location
    Wow! that worked Great!!!! Thanks Again I appreciate your help!

  4. #4
    VBAX Tutor PAB's Avatar
    Joined
    Nov 2011
    Location
    London (UK)
    Posts
    243
    Location
    You're welcome, thanks for the feedback.
    -----------------------------------------∏-

    12:45, restate my assumptions.
    Mathematics is the language of nature.
    Everything around us can be represented and understood through numbers.
    If you graph the numbers of any system, patterns emerge. Therefore, there are patterns everywhere in nature.

    -----------------------------------------∏-

Posting Permissions

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