+ Reply to Thread
Results 1 to 5 of 5

Sort by three columns, using formulas

Hybrid View

  1. #1
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Sort by three columns, using formulas

    This file might be fit (or help a little >_<) your requirement.

    I can not explain well.

    Just to tell that , use formula to re-config your product name to (Name)(1_space)(core-000 3 digits)x(diameter-0000.00 7 digits)mm2 and
    build into a array list with this formula. [Note: Name must not contains spaces]

    =IFERROR(INDEX(
    LEFT($C$2:$N$13,(FIND(" ",$C$2:$N$13)))&TEXT(VALUE(MID($C$2:$N$13,(FIND(" ",$C$2:$N$13)),((FIND("x",$C$2:$N$13))-(FIND(" ",$C$2:$N$13))))),"000")&"x"&TEXT(VALUE(SUBSTITUTE(MID($C$2:$N$13,(FIND("x",$C$2:$N$13))+1,(FIND("mm2",$C$2:$N$13))-(FIND("x",$C$2:$N$13))-1),",",".")),"0000.00")&"mm2",
    INT((B22-1)/COLUMNS(ekl1))+1,MOD(B22-1,COLUMNS(ekl1))+1
    ),"")
    Then use Dave Bruns's formula to ranking all product together.
    =COUNTIF($C$22:$C$165,"<"&C22)+(COUNT($C$22:$C$165)*ISTEXT(C22))+COUNTIF(C$22:C22,C22)
    and rebuild a non-blank sorted product.
    =IF(E22>0,INDEX($C$22:$C$165,MATCH(E22,$D$22:$D$165,0)),"")
    [ from 20'th row to 165'th row ]



    Regards.
    Attached Files Attached Files
    Last edited by menem; 10-20-2019 at 05:28 AM. Reason: Add code tags

+ 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. How to sort two columns but one has formulas
    By Marvin85 in forum Excel General
    Replies: 7
    Last Post: 03-27-2015, 03:02 PM
  2. [SOLVED] How do I sort columns with IF formulas in them?
    By Kristine in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-27-2006, 04:15 PM
  3. [SOLVED] Sort &amp;amp; add columns without messing up formulas
    By kate in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2005, 12:05 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