+ Reply to Thread
Results 1 to 4 of 4

Vlookup/hlookup assistance

  1. #1
    Registered User
    Join Date
    01-20-2017
    Location
    Edmonton,AB
    MS-Off Ver
    2010
    Posts
    1

    Vlookup/hlookup assistance

    I want to be able to type in a number in cell D29 (which is a number found in row B), then enter a number in cell D30 (which is a number or text from row 3), and the corresponding number from the Range B4:M26 will populate cell D31 The example shows a "3" in cell D29(which is the pipe size) and an "80" in cell D30 (which is the pipe schedule) and the number in D31 is from the table.

    http://www.excelforum.com/showthread...92#post4564592
    Attached Files Attached Files
    Last edited by Hollyb1987; 01-20-2017 at 01:14 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Help!!

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Vlookup/hlookup assistance

    Please find attatched sheet with formula -

    VLOOKUP(D29,$B$3:$H$26,(MATCH(D30,D3:M3,0)+2),0)
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,544

    Re: Vlookup/hlookup assistance

    Kamal's formula will work well for pipe schedules up to 80, however to include the rest of the schedules (through XXS) I would suggest modifying the formula so that it reads:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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