data order problem in excel 2010

Dipak Sodha 40 Reputation points
2025-04-02T16:02:04.2+00:00

i have data in column a to c, i want to know how to ignore blank cell and 0 values cell and arrange the data with formula as it order, replay as soon as possible thank you.Screenshot 2025-04-02 084242

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,869 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiajing Hua-MFST 17,965 Reputation points Microsoft External Staff
    2025-04-03T01:42:55.54+00:00

    Hi @Dipak Sodha

    Please try formula like following one:

    =INDEX(A$1:A$17,SMALL(IF($A$4:$A$17="","",ROW($A$4:$A$17)),ROW(A1)))

    Then you may drag the formula down and to the right until it stops at #NUM!.

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 58,451 Reputation points
    2025-04-02T16:09:44.0566667+00:00

    Can you clarify what you're looking for here? Ignoring the Data section, your Obtained Order section is already sorted by accno and blanks are skipped (don't see any 0 cells in your dataset). The Required Order section is skipping blanks as well but is not ordering by accno.

    Based upon my understanding, you are already skipping blanks and ordering the way you want in Obtained Order section. For assistance, the ISBLANK function tells you whether a cell is empty.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.