+ Reply to Thread
Results 1 to 5 of 5

using IF function to retrieve output values from a table given an input value

  1. #1
    Registered User
    Join Date
    10-23-2019
    Location
    Oakland
    MS-Off Ver
    Professional Plus 2016
    Posts
    10

    using IF function to retrieve output values from a table given an input value

    Goal: For T4, use the value of H3/H4 as the size factor to find the cost multiplier in B4:B21 on tab "RSM Index."

    Not sure mathematically how this works, but I think it would be

    <.5 = 1.1
    >=.5 and <.525 = 1.09
    >=.525 and <.575 =1.08
    >=.575 and <.625 =1.07

    Etc

    Thank you!!
    Attached Files Attached Files

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

    Re: using IF function to retrieve output values from a table given an input value

    Which column contains the lookup value? I cannot see anything that would match an item in your lookup table.
    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
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: using IF function to retrieve output values from a table given an input value

    You need to change the entry in cell A4 of the RSM Index sheet to zero, then you can use this formula in T4:

    =VLOOKUP(H3/H4,'RSM Index '!$A$4:$B$20,2)

    Note that row 21 of the RSM Index sheet is not needed. Note also that you have a space at the end of the tab name for that sheet.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    10-23-2019
    Location
    Oakland
    MS-Off Ver
    Professional Plus 2016
    Posts
    10

    Re: using IF function to retrieve output values from a table given an input value

    Pete - thanks for that. I realize I have to tweak the input a little but I think this will work well.

    Cheers

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: using IF function to retrieve output values from a table given an input value

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Get values from input table to add data in output table depending on header
    By SBBmaster09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2016, 03:25 AM
  2. [SOLVED] Display values based on input / output table
    By zdimitrov in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2015, 09:12 PM
  3. [SOLVED] How to retrieve desire text from input sheet to output sheet ?
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-12-2013, 06:13 PM
  4. [SOLVED] Function to Display Input Box, Retrieve Date, and Return Day, Month And Year
    By Authentik8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2012, 08:04 AM
  5. Read from table input - output summarised data
    By heatwave in forum Excel General
    Replies: 0
    Last Post: 08-02-2010, 08:51 PM
  6. Making a table from input and output
    By JXPES in forum Excel General
    Replies: 0
    Last Post: 04-13-2010, 07:33 PM
  7. Input/output values into/from an array
    By Brane Ded in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 11-18-2009, 09:11 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