excel 2010 sorting issue

Posted on 2014-08-05
Last Modified: 2014-08-18
Hi All

            After sorted by specific name, and in the index field when i try to press CTRL + left click the cross and drap down, suppose it will accumulate the number such as CE-CM1 , CE-CM2, any idea ?

sorting problem
Question by:piaakit
    LVL 47

    Expert Comment


    If you want an Index that goes from CE - CM1 to CE - CM100 for example not affected by the sorting use a formula (in M2) and fill down

    ="CE - CM"&ROW(B2)-1

    or they can be resorted

    Home / Editing / Fill / Series / Autofill OK


    Author Comment

    any other way to fix, the one above dont work

    Author Comment

    if i put 1 instead of CE-CM1, it can drag 1 - 10
    LVL 47

    Expert Comment

    Normally you can drag

    CE-CM1 and the number will also add up


    Author Comment

    but i have tried it can not add up after i created filter
    LVL 27

    Accepted Solution

    The "drag and fill" or aufofill function will not work on filtered data.  Period.

    If you want to create a sequence of new index numbers from the filtered data you'll have to use another method.  Here's one way you can achieve that:

    1) Unfilter your data
    2A)  If there are no values in the INDEX column (M) then enter this formula in cell M2 and copy down:
    You'll see the index show up for the COURIER (EXTERNAL) rows, incremented by one each time.
    3A) Select all the cells in column M, copy, and paste the values in their place.

    2B) If there are currently values in the INDEX column (M) then insert a temporary column in column N and add this formula in cell N2 and copy down:
    (Note that the formula is looking in column Q instead of P since this inserts a new column in N)
    3B) Select all the cells in column N, copy, and paste the value in column M.
    4B) Delete column N.

    Note that you could replicate this process for the other three Delivery Arrangement categories if you wanted to increment them as well.  just replace the text strings being searched and the Index abbreviation in the formula.  Example file attached showing both formulas before copy and paste values.


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
    This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now