+ Reply to Thread
Results 1 to 8 of 8

Excel Formula for sorting a result

  1. #1
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Excel Formula for sorting a result

    Hi everyone,
    I face a problem in my excel formula for sorting a status of an item.
    Here a ss of the excel
    pls.png

    I want the status of material code in data 2 is come from data 1 that has been sorted and the CANCEL and TECO result will be excluded as shown in the picture above.

    Here the formula that i use but didn't work
    Please Login or Register  to view this content.
    Can you fix my formula so that the result is shown as the ss?
    Thank you
    Excel DATA 1.xlsx

  2. #2
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Excel Formula for sorting a result

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

  3. #3
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: Excel Formula for sorting a result

    Thanks for the help.
    In cell G3, I want the status to be PR and PO because the one we excluded is TECO and CANCEL.
    how to do that and what if there are more than 2 status that is not TECO or CANCEL in one material code?
    Can i include all those status in 1 cell?

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Excel Formula for sorting a result

    Sheet2 PQ
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: Excel Formula for sorting a result

    Thanks for the help

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel Formula for sorting a result

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: Excel Formula for sorting a result

    Btw can I ask you a few questions?

    Can you explain a bit about the aggregate formula?
    And when I try this logic to take the status value from another excel file, the TECO and CANCEL value still included in the formula result and the sometimes the status in result didn't match with the data source with . Why is that happen?

  8. #8
    Registered User
    Join Date
    02-18-2023
    Location
    Kuala Tanjung, Indonesia
    MS-Off Ver
    2019
    Posts
    17

    Re: Excel Formula for sorting a result

    And I found another way using formula
    Please Login or Register  to view this content.
    this one didn't exclude the TECO and CANCEL status.
    Can you kindly explain what is the 2;1/(B2:$B$13=G3);C2:C13 means?

+ 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. Sorting colums based on formula result
    By turnej in forum Excel General
    Replies: 1
    Last Post: 05-26-2022, 10:50 PM
  2. Replies: 7
    Last Post: 11-27-2015, 11:12 AM
  3. [SOLVED] I require sorting formula in excel sheet with complex sorting.
    By kaminanirav in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2015, 08:16 AM
  4. Ignoring no-result formulas when sorting
    By justmatt in forum Excel General
    Replies: 2
    Last Post: 12-08-2014, 05:13 PM
  5. [SOLVED] Sorting by a result of a formula
    By dr.cuco in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-13-2013, 08:43 AM
  6. Sorting increases formula result by 1
    By AndiB in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 05:54 PM
  7. Advanced Sorting/Result
    By cecman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-25-2005, 06:06 PM

Tags for this Thread

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