+ Reply to Thread
Results 1 to 12 of 12

Using LOOKUP, MATCH, INDEX to obtain cell value from data table

  1. #1
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    Hi guys,

    I am looking to use a function in my spreadsheet to find a value based on two things: 1) model number and 2) pressure. These values are found in cells on a spreadsheet and the data table is another spreadsheet within the same workbook. So an example of data is as follows:

    Pressure
    Model# 40 50 60 70 80 90 100 110 120 130 140 150
    GBV315 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" N/A N/A N/A
    GBV420 1/4" 1/4" 1/4" 1/4" 3/8" 3/8" 3/8" 3/8" 3/8" N/A N/A N/A
    GBV520 1/4" 1/4" 3/8" 3/8" N/A N/A N/A N/A N/A N/A N/A N/A
    GBV525 1/4" 3/8" 3/8" 1/2" 1/2" 1/2" 1/2" 1/2" 1/2" N/A N/A N/A
    GBV725 1/2" 1/2" 1/2" 1/2" 1/2" N/A N/A N/A N/A N/A N/A N/A
    GBV315 SR40 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4"
    GBV315 SR60 N/A 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4"
    GBV315 SR80 N/A N/A N/A 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4"
    GBV315 SR100 N/A N/A N/A N/A N/A 1/4" 1/4" 1/4" 1/4" 1/4" 1/4" 1/4"

    Preferably, if supply pressure is, say 62.4, I would want it to automatically round up to supply pressure for 70.
    Also, is it possible to still look up GBV315 SR40 if someone mistakenly puts in GBV315-SR40 (there's a bit of confusion with regards to nomenclature used to describe these models)

    Am I in the right direction here starting with the functions listed in the subject? Thanks for any advice guys!

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    its better to upload a book for people to give you acurate answers
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    Here you go
    Attached Files Attached Files

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    see if this helps...
    Attached Files Attached Files
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  5. #5
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    Thanks for all your help! It worked for the dummy data I gave you, however, I've realized I made a mistake in the data I supplied. As I continue to input data, I've realized that the next increments (25 instead of 10) result in an error. I've uploaded an updated data set.
    Attached Files Attached Files

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    how about this?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    Eureka! Thank you so much!!!

  8. #8
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    actually, not a cigar moment yet! i just observed that you will have values with or without "-" in column A, so the above solution will not work for you perfectly; currently, it is not expecting to see a "-" in that column. i will work on it further to see if i can find a solution.
    Last edited by icestationzbra; 09-05-2012 at 10:44 AM.

  9. #9
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    thanks icestationzbra; I had just come to the same realization upon further testing. gah! and thanks again!

  10. #10
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    see if this work...
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    success! thank you once again for all the direction!!

  12. #12
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Using LOOKUP, MATCH, INDEX to obtain cell value from data table

    @ rfernandes

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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