+ Reply to Thread
Results 1 to 5 of 5

Help with lookup formula

  1. #1
    Registered User
    Join Date
    01-18-2017
    Location
    Philippines
    MS-Off Ver
    Office 2016 Mac
    Posts
    2

    Help with lookup formula

    good day everyone! I have this calibration table

    16176606_2205094596381638_1732582375_n.jpg

    I would like to create a worksheet where I can just input the height and obtain the corresponding output.
    i.e. if I input a height of 40.2 cm, I will obtain a volume 501 liters (see picture)

    Another problem is that the table isnt complete, if you'll notice, only even numbers are displayed in the mm column.
    If I had to obtain the volume for a height of 40.3, I would have to interpolate by getting the average of the corresponding volumes of 40.4 and 40.2

    Calculating the values beforehand isnt an option for me since i have around a thousand rows. I would like the worksheet to be able to interpolate the values.

    would this be possible in excel? do i need to learn vba? Please point me in the proper direction.

    Thank you very much.

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

    Re: Help with lookup formula

    You need to start by creating a lookup table:

    Excel 2010 32 bit
    A
    B
    C
    D
    E
    F
    1
    0
    2
    4
    6
    8
    2
    40
    499
    501
    504
    506
    508
    3
    41
    etc.
    4
    42
    Sheet: Sheet1

    Then you can use INDEX MATCH to get values from it.
    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.

  3. #3
    Registered User
    Join Date
    01-18-2017
    Location
    Philippines
    MS-Off Ver
    Office 2016 Mac
    Posts
    2

    Re: Help with lookup formula

    ahh yes. Thank you. I will start tinkering with Index match

    There is still the issue of having to get values from inputs with odd mm (1,3,5,7,9)
    suppose I need to input 40.3, which is between 40.4 and 40.2. I can get the value by getting the average of 501 and 504. Is there a way to get Excel to automate this process?

  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,969

    Re: Help with lookup formula

    Put together a workbook with the lookup table in place, then attach it here with some manually entered examples of what you need, then someone will work with your data to help you.

  5. #5
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Help with lookup formula

    Hi

    if height is in column A as 40, 40.2 , 40.4 ..... and corresponding output is in column b then try this

    Input is in E3

    in F3:
    Please Login or Register  to view this content.
    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

+ 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] formula for lookup for left side lookup
    By srinivasan1965 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2016, 06:34 AM
  2. Multi criteria lookup with the ''=lookup' formula
    By Ronnet2 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-17-2015, 07:12 AM
  3. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  4. [SOLVED] Lookup formula to find lowest value with variable lookup criteria
    By brharrii in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2015, 03:00 AM
  5. [SOLVED] Can lookup formula ignore blank cells until the lookup value has been entered?
    By Ju1cy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-13-2014, 01:32 PM
  6. Replies: 5
    Last Post: 02-24-2011, 11:26 AM
  7. Replies: 3
    Last Post: 10-10-2005, 01:05 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