+ Reply to Thread
Results 1 to 10 of 10

Excel Formula to find Matching String and Matching Size, Output Result

  1. #1
    Registered User
    Join Date
    08-17-2021
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    17

    Excel Formula to find Matching String and Matching Size, Output Result

    Hi i have a complex task to match thousands of records for items with dimensions. I need to get result for the right thickness for the product.

    Summary Information
    - Item sizes, Material Type is provided
    - Find the largest Dimension for each product
    - Using the largest dimension find the matching material and give the result of the correct thickness

    I have attach a sample file.

    Thanks for the help in advance.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    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,882

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    I think that you need to provide a better understanding of the criteria. You have assumed that we understand the dimension values of metals. Wrong!! We have expertise in Excel, but you need to explain the criteria that you are trying to match up with so that we can better show you how. The dimensions are meaningless to us unless you explain the relationships.

    A mocked up solution explaining what you did manually to get the right answer will help us to understand how to solve your issue.
    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

  3. #3
    Registered User
    Join Date
    08-17-2021
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Hi Sorry, this is my first time seeking help this way. I have added in the result i wanted.
    Attached Files Attached Files
    Last edited by AliGW; 08-18-2021 at 02:28 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,800

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Try this:

    =IFNA(INDEX($E$5:$E$44,MATCH(1,($B$5:$B$44=J5)*($D$5:$D$44>=I5),0)),"")
    Attached Files Attached Files
    Last edited by AliGW; 08-18-2021 at 02:39 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Cell K5 array formula , Drag down

    HTML Code: 

  6. #6
    Registered User
    Join Date
    08-17-2021
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Quote Originally Posted by AliGW View Post
    Try this:

    =IFNA(INDEX($E$5:$E$44,MATCH(1,($B$5:$B$44=J5)*($D$5:$D$44>=I5),0)),"")
    It works and save plenty of error checking. Great and Thank you very much.

  7. #7
    Registered User
    Join Date
    08-17-2021
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Quote Originally Posted by wk9128 View Post
    Cell K5 array formula , Drag down

    HTML Code: 
    This one also helpful. Thanks

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

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    If it is greater than 750 to 800, there is no reference, so it is necessary to return to blank, or to return to 0.8
    Attached Images Attached Images
    Last edited by wk9128; 08-18-2021 at 05:56 AM.

  9. #9
    Registered User
    Join Date
    08-17-2021
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    This is error on my part. Sorry. But it will be great to add functionality to output Zero if error occur.

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

    Re: Excel Formula to find Matching String and Matching Size, Output Result

    Cell K5 formula , Drag down

    HTML Code: 

+ 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. Matching 2 columns and output result in third column
    By tubells in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2014, 06:47 PM
  2. Excel Formula to find matching row based on multiple columns
    By joshhazel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2013, 01:53 PM
  3. Finding Matching Data in one Column/Adding corresponding matching string value.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 07:23 PM
  4. [SOLVED] Somewhat Urgent: Find all matching values and output the corresponding cells
    By Morrigan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2013, 10:29 PM
  5. Replies: 2
    Last Post: 04-11-2013, 11:14 AM
  6. Find average of values next to matching string
    By Twage in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2012, 07:29 PM
  7. Find all rows that contain matching string?
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-03-2011, 04:32 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