+ Reply to Thread
Results 1 to 2 of 2

Sorting Largest To Smallest

  1. #1
    all4excel
    Guest

    Sorting Largest To Smallest

    I already have a file showing the way to do the above however I want a different approach...

    I have used the Array formula which helps me in Sorting Data but though it works it unfirtunately makes the computer go slow....

    Can anyone please suggest a different approach...

    Please go through the file....

    Thanking you in anticipation.
    Attached Files Attached Files
    Last edited by VBA Noob; 12-23-2007 at 12:39 PM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Instead of using A:B in your lookup, lookup the actual range i.e. A1:B500. Does that make any difference?
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    all4excel
    Guest

    Question I tried that but i want a non-array approach

    Quote Originally Posted by oldchippy
    Instead of using A:B in your lookup, lookup the actual range i.e. A1:B500. Does that make any difference?
    Dear oldchippy, i did try what u asked of me, however i wanted a different approach to save memory as I have more than 10 sheets with Array formulas which is reducing my speed.

  4. #4
    all4excel
    Guest

    Question Want a different approach over an Array formula

    Quote Originally Posted by oldchippy
    Instead of using A:B in your lookup, lookup the actual range i.e. A1:B500. Does that make any difference?
    Want a different approach over an Array formula

    Dear chippy, I tried ur approach but i want a different logic/approach instead of using the Array formula { } to sort he largest / smallest value in the file.

  5. #5
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by all4excel
    Want a different approach over an Array formula

    Dear chippy, I tried ur approach but i want a different logic/approach instead of using the Array formula { } to sort he largest / smallest value in the file.

    A helper column always seems best.

    Select column A and insert a new column.

    Input cell A2 and copy down.

    =C2*10000+ROWS($A$2:$A2)

    Input formula in cell F2 and copy down.

    =INDEX($B$2:$B$10000,MATCH(LARGE($A$2:$A$10000,ROWS($F$2:$F2)),$A$2:$A$10000,0),1)


    Hope it helps!
    Attached Files Attached Files

  6. #6
    all4excel
    Guest

    Smile Thnks a lot vane

    Quote Originally Posted by vane0326
    A helper column always seems best.

    Select column A and insert a new column.

    Input cell A2 and copy down.

    =C2*10000+ROWS($A$2:$A2)

    Input formula in cell F2 and copy down.

    =INDEX($B$2:$B$10000,MATCH(LARGE($A$2:$A$10000,ROWS($F$2:$F2)),$A$2:$A$10000,0),1)


    Hope it helps!

    Thnks a lot vane It worked really well...

+ 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