+ Reply to Thread
Results 1 to 27 of 27

Excel Fomular_Index Match and Min Max

  1. #1
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Excel Fomular_Index Match and Min Max

    Dear Guru,
    I have some help as attachment.
    I describe the problem in Excel file.
    Please help.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Excel Fomular_Index Match and Min Max

    There are 2 possibilities:

    Possibility 1:
    Please try in M5 and copy down: (the zeros will be ignored)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Possibility 2
    or remove the zeros (and leave the cells empty) or write something else alphanumeric in the cells.
    Last edited by HansDouwe; 05-23-2023 at 08:37 AM.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Excel Fomular_Index Match and Min Max

    Please try

    =IFERROR(INDEX($E$4:$I$4,MATCH(SMALL(E5:I5,COUNTIF(E5:I5,0)+1),E5:I5,)),"NA")
    Attached Files Attached Files

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,498

    Re: Excel Fomular_Index Match and Min Max

    OFFICE 365 , formula drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Pls try this VBA Code

    Cell K5 formula , Drag down

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


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by wk9128; 05-24-2023 at 07:41 AM.

  5. #5
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308
    Hi
    I change to use small function instead and this is work and ignore 0
    But i will tried your fomular too
    Thank

  6. #6
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi Bo Ry,
    this formula not work due to if find duplicate value need to index match as BBB&CCC to show from G10&I10 , I PUT comment at the column N.
    how to do?

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,498

    Re: Excel Fomular_Index Match and Min Max

    Hi kimudao Since your OFFICE version is lower than 2019, the CONCAT and TEXTJOIN functions cannot be used. Only VBA custom functions can be provided to solve your problem

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Excel Fomular_Index Match and Min Max

    In K5 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  9. #9
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    hI kv
    thank for your reply,
    but i don't want to show price i have to show NAME IN ROW E4 SUCH AS AAA,BBB,CCC

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Excel Fomular_Index Match and Min Max

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

  11. #11
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi KV,
    I found G10 & I10 is same price and i need to show Both as BBB&CCC
    And also Row 9 same price for 3 company need to show AAA&BBB&CCC
    How possible to show like this? in case found duplicate >=2 value , if no duplicate price, formula is ok working.
    Thanks so much.

  12. #12
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,027

    Re: Excel Fomular_Index Match and Min Max

    a ugly formula

    K5
    Please Login or Register  to view this content.
    copied down.
    Attached Files Attached Files

  13. #13
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Excel Fomular_Index Match and Min Max

    Please try

    =IFERROR(SUBSTITUTE(TRIM(REPT(E$4,E5=SMALL(E5:I5,COUNTIF(E5:I5,0)+1))&" "&REPT(G$4,G5=SMALL(E5:I5,COUNTIF(E5:I5,0)+1))&" "&REPT(I$4,I5=SMALL(E5:I5,COUNTIF(E5:I5,0)+1)))," ","&"),"NA")
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi BO RY,
    E9 G9 I9 RESULT IN K9 still incorrect should show AAA&BBB&CCC other is correct.
    can u pleaes?

  15. #15
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi , windknife
    thank so much , your formula almost correct, sorry i put wrong result for E9,G9,I9 K9 = AAA&BBB&CCC due to this row is same price in 3 column so should be all best price in 3 name .sorry i put wrong result.
    thanks so much.

  16. #16
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,936

    Re: Excel Fomular_Index Match and Min Max

    Try this in M5:

    =IFERROR(AGGREGATE(15,6,E5:I5/(E5:J5<>0),1),"NA")

    in K5:

    =IF(M5="NA","NA",MID(IF(E5=M5,"&"&$E$4,"")&IF(G5=M5,"&"&$G$4,"")&IF(I5=M5,"&"&$I$4,""),2,1000))

  17. #17
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi BORY & Windknife
    oh sorry, i am incorrect, that row9 have duplicate only 2 value, and if change duplicate all 3 is work for yours formula.
    big thank u both,
    and all members too help me.
    it 's very perfect.but i would like to know formular from BORY for rept, how can use and when will use this function? i never use at all but i will tried to google for this function.
    thanks so much.

  18. #18
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,027

    Re: Excel Fomular_Index Match and Min Max

    You are welcome.

    Bo_Ry's formula is very elegant which I should learn it.

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

  19. #19
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi Phuocam Phuocam,
    Also your formula is work and other style to create with IF and other Excel function.i will learn your formula.
    thanks so much.

  20. #20
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi BO RY,
    A bit not to show in case I change name in column E4 from AAA to AA COM , this name have blank between AA COM and make fomular put & as AA&COM, i need to show same AA COM.
    Please kindly help to edit this?
    Thanks.
    Attached Files Attached Files

  21. #21
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi ALL,
    all formula from VN , TW is ok if in case name have space like AA A.
    But for BO RY Formula still a bit incorrect. if anyone can solve from TH Formula .please let me know.
    Thanks.

  22. #22
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,027

    Re: Excel Fomular_Index Match and Min Max

    Try to use full-width space to instead of half-width space.

    K5
    Please Login or Register  to view this content.

  23. #23
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,936

    Re: Excel Fomular_Index Match and Min Max

    Try change to:

    Please Login or Register  to view this content.

  24. #24
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi Phuocam & windknife windknife
    work for both formula , big thanks and very awesome.
    thanks all of you guys.

  25. #25
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi Windknife
    a bit not correct for your fomular will show && infornt of name.
    please see in attachment.
    Attached Files Attached Files

  26. #26
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,027

    Re: Excel Fomular_Index Match and Min Max

    Very strange, in my excel version is correct. It may be that I am using the Chinese version. You can use Phuocam's formula to solve it.

  27. #27
    Forum Contributor
    Join Date
    05-09-2015
    Location
    Thailand
    MS-Off Ver
    MS365
    Posts
    308

    Re: Excel Fomular_Index Match and Min Max

    Hi Windknife.
    yes, i use firstly.
    thanks u too.

+ 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] Have excel show word match instead of partial match
    By rayted in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2020, 05:21 AM
  2. Replies: 15
    Last Post: 10-29-2019, 06:46 AM
  3. Replies: 1
    Last Post: 03-25-2019, 12:24 PM
  4. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  5. VBA Code for Index/Match/Match to input into excel based on 2 criteria inside form
    By Carl Fisher in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2017, 12:11 PM
  6. [SOLVED] Multiple Match Values in Excel Using INDEX-MATCH
    By andrugrasu in forum Excel General
    Replies: 8
    Last Post: 03-20-2015, 09:57 PM
  7. [SOLVED] Two Excel sheets trying to match text data and return the match from the second column!
    By bankcott in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-02-2013, 02:17 PM

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