+ Reply to Thread
Results 1 to 6 of 6

AScending order of the data using formula

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    AScending order of the data using formula

    I want to have my data in descending order to determing the top without using the descending button because I will be using this to a database. My data includes zeros and most of the numbers has the same number
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: AScending order of the data using formula

    In F3 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In E3 and copy down this ARRAY formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: AScending order of the data using formula

    Thanks for your quick reply.
    The formula works for the number (column F) but I am having problem with the text corresponding the number (column E.)



    Quote Originally Posted by Fotis1991 View Post
    In F3 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In E3 and copy down this ARRAY formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: AScending order of the data using formula

    Did you confirmed the formula as an ARRAY?
    Attached Files Attached Files

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: AScending order of the data using formula

    See post#4!

  6. #6
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Re: AScending order of the data using formula

    Thanks, that solved the problem. I am not familiar with the confirm array but now I know (almost :-) ... Is there a shortcut to do cntrl+shift+enter? Because I have thousand of rows and columns. I tried to highlight entire row and do cntrl+shift+enter and it didnt work


    QUOTE=Fotis1991;3680435]See post#4![/QUOTE]

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: AScending order of the data using formula

    Glad that works for you.

    As i know there is not a shortcut for this.

    But here is how to use these formulas.

    Let,s say that you type the formula in a cell. Go to Formula bar>click there and pres the three keys(Ctr+Shift+Enter). Then just drag down or right them.

    From the link that i provided thai i suggest to take a look.

    ..ENTERING AN ARRAY FORMULA: To enter a formula as an array formula, type the formula in the cell and press the CTRL SHIFT and ENTER keys at the same time rather then just ENTER. You must do this the first time you enter the formula and whenever you edit the formula later. If you do this properly, Excel will display the formula enclosed in curly braces { }. You do not type in the braces -- Excel will display them automatically. If you neglect to enter the formula with CTRL SHIFT ENTER, the formula may return a #VALUE error or return an incorrect result.

+ 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] Sort Ascending order and eliminate zero data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-18-2013, 01:28 PM
  2. [SOLVED] Generate "ascending order no" for columns of data that are not in order
    By abreichenbach in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-20-2013, 02:22 AM
  3. Formula to Copy Column and Paste in new Worksheet in Ascending Order
    By drew4 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-02-2010, 10:19 AM
  4. Sorting Data in ascending order
    By sharon2006 in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 09:10 PM
  5. [SOLVED] Is there a VLOOKUP substitute when data is not in ascending order
    By VJ7777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2005, 05:06 AM

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