+ Reply to Thread
Results 1 to 5 of 5

Finding a value in a table based on two categories

  1. #1
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Finding a value in a table based on two categories

    In the attached spreadsheet, I have a table that consist of Type, Wt & Conv. I need to find the Conv value based on matching type (B1) and closest match to wt (B2). In my example, the formula would return in cell B4 the value 4.85082. This is because the type matches the value of 1 and the Wt is rounded up to a value of 780 (B16) therefore formula returned 4.85082 which is located in C16.

    How would one do this?

    Thanks in advance for the help.

    -Manny
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Finding a value in a table based on two categories

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

  3. #3
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Finding a value in a table based on two categories

    Worked Perfectly..!

    Thanks

    -Manny

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Finding a value in a table based on two categories

    You're welcome & thanks for the feedback.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Finding a value in a table based on two categories

    Maybe

    =OFFSET(C1,MAX((TblConv[Type]=$B$1)*(TblConv[Wt]<=$B$2)*ROW(TblConv[Conv])),0)
    Last edited by mehmetcik; 11-27-2021 at 04:44 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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] Need sum total of categories per interval based on agent schedules and their categories
    By cph020283 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2021, 05:21 PM
  2. [SOLVED] Finding a number in a table based on ranges
    By premis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2018, 10:30 PM
  3. Replies: 1
    Last Post: 06-23-2016, 08:36 AM
  4. [SOLVED] Finding the Categories Based on the KeyWords
    By Jeevanhr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-20-2016, 12:02 PM
  5. Finding a macro that will populate a table from another table based on a columns values
    By Daril_Ghiroza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2015, 02:26 PM
  6. Finding the sum of different Categories with exeptions
    By Lars Poulsen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2015, 10:43 AM
  7. finding the data in ta le 1 based on the user matching in table 2 VBA
    By prem pal singh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2014, 02:07 AM

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