+ Reply to Thread
Results 1 to 10 of 10

Show the value from the tables with two dependencies.

  1. #1
    Registered User
    Join Date
    05-18-2021
    Location
    Poland, Poznań
    MS-Off Ver
    1
    Posts
    5

    Question Show the value from the tables with two dependencies.

    Hey. I'm sorry if the title is not precise. I really don't know how should I call things which I searching for...

    I have form like: Width and Size. User needs to fill in width like 100;200;300, etc and size like 1; 1,5; 2; 2,5...

    I have tables like this:

    size\width 100 200 300 400
    1 22 33 44 55
    1,5 66 77 88 99
    2 AA BB CC DD
    2,5 EE FF GG HH

    User want Width 200 and Size 1,5. What to do to show Value 77 in the result table? My all knowledge about excel are simple functions like if, and, or, not, etc. But the problem is my tables are much bigger... So writing functions like that isn't an option...

    Thanks for help!

  2. #2
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Show the value from the tables with two dependencies.

    can you provide a sample workbook with some test data to work from?

    As a user, what will i be completing to get my result? a form? a row within a worksheet?
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

  3. #3
    Registered User
    Join Date
    05-18-2021
    Location
    Poland, Poznań
    MS-Off Ver
    1
    Posts
    5
    Quote Originally Posted by cubangt View Post
    can you provide a sample workbook with some test data to work from?

    As a user, what will i be completing to get my result? a form? a row within a worksheet?
    File in attachment.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Show the value from the tables with two dependencies.

    take a look at this updated sheet for you.
    I used vlookup with match to find based on the 2 values provided above.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-18-2021
    Location
    Poland, Poznań
    MS-Off Ver
    1
    Posts
    5

    Re: Show the value from the tables with two dependencies.

    It works great! Thank you! I wait for an email with a reply notification but it never came.

    Still two questions...
    1. If I make my table bigger - do I need to change something else? In the original file, there was something like this vlookup for some calculations. But when I changed positions on some lines it stops working... I added extra spatie 55 in your file, under existing tables with random numbers and unfortunately, I get also #N/A.

    2. Can I change #N/A to something else? Like question mark.

    Thank you one more t

  6. #6
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Show the value from the tables with two dependencies.

    right now all you would have to do is make sure the "ranges" are correct, i created named ranges for each of the sheets, so select "formulas" from the top ribbon (menu bar) and click on the "Name manager" and you will see all the ranges i created.. just adjust those

    as for returning something other than N/A yes you can use IF and ISNA like so

    =IF(ISNA((VLOOKUP(D8, SA, MATCH(D7,SAH,0), FALSE))),"??", "")

  7. #7
    Registered User
    Join Date
    05-18-2021
    Location
    Poland, Poznań
    MS-Off Ver
    1
    Posts
    5

    Re: Show the value from the tables with two dependencies.

    Thank you!!!!!

    Just last question...

    For sheet SA and SB you selected B2:N21. But the table use max I21. Is it because other tables using N21 or you just copied it to show me how it works?

  8. #8
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Show the value from the tables with two dependencies.

    Quote Originally Posted by patisowka View Post
    Thank you!!!!!

    Just last question...

    For sheet SA and SB you selected B2:N21. But the table use max I21. Is it because other tables using N21 or you just copied it to show me how it works?
    That may have been an oversight on my part(probably just copied and pasted without paying attention), you can adjust it to only include your rows and columns..

  9. #9
    Registered User
    Join Date
    05-18-2021
    Location
    Poland, Poznań
    MS-Off Ver
    1
    Posts
    5

    Re: Show the value from the tables with two dependencies.

    Okay. Thank you one more time!!!!

  10. #10
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Show the value from the tables with two dependencies.

    Your welcome, hope it works as expected for you.
    if you have any issues or questions just let me know.

+ 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. [Task] Dependencies [In a Schedule]
    By wvtn in forum Excel General
    Replies: 3
    Last Post: 03-24-2019, 12:00 AM
  2. Dependencies in Excel
    By kishoremcp in forum Excel General
    Replies: 3
    Last Post: 11-08-2016, 02:46 AM
  3. Need help with Multiple Dependencies
    By balu.soln4biz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2014, 01:57 PM
  4. Excel Cell Dependencies
    By auto75722194 in forum Excel General
    Replies: 2
    Last Post: 03-10-2012, 05:08 AM
  5. Replies: 0
    Last Post: 06-15-2011, 10:36 AM
  6. Dropdown dependencies
    By Araujo1958 in forum Excel General
    Replies: 6
    Last Post: 12-16-2010, 10:04 AM
  7. [SOLVED] List Dependencies
    By [email protected] in forum Excel General
    Replies: 4
    Last Post: 02-15-2006, 06:15 AM

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