+ Reply to Thread
Results 1 to 5 of 5

Convert a formula result to fit between a range of values

  1. #1
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    283

    Convert a formula result to fit between a range of values

    I am trying to get the formula result to change the value so it is not the actual result, but is a value between a range that it falls within a range of categories.

    I have enclosed a sample spreadsheet that explains it more.

    Using Office 365.
    Attached Files Attached Files
    Last edited by gjjh25; 04-08-2021 at 06:50 AM.

  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: Convert a formula result to fit between a range of values

    Try this:

    =VLOOKUP((D3+F3)/2,$Q$3:$R$48,2,1)
    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 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: Convert a formula result to fit between a range of values

    To meet the other requirement in your workbook, you'll need to change the lookup table thus:

    Excel 2016 (Windows) 32 bit
    Q
    R
    2
    From To
    3
    0.50
    0.75
    4
    0.7500001
    1.00
    5
    1.0000001
    1.25
    6
    1.2500001
    1.50
    7
    1.5000001
    1.75
    8
    1.7500001
    2.00
    9
    2.0000001
    2.25
    10
    2.2500001
    2.50
    11
    2.5000001
    2.75
    12
    2.7500001
    3.00
    13
    3.0000001
    3.25
    14
    3.2500001
    3.50
    Sheet: Sheet1

    etc.

  4. #4
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    283

    Re: Convert a formula result to fit between a range of values

    Thank you, that is just what I was looking for.

  5. #5
    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: Convert a formula result to fit between a range of values

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, 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)

Similar Threads

  1. Convert Row Range formula result to Value
    By onp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2018, 04:15 PM
  2. Replies: 3
    Last Post: 05-21-2015, 07:47 PM
  3. Replies: 2
    Last Post: 09-01-2014, 07:59 AM
  4. Convert a formula result to text so another formula can find that result
    By rwoollams in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2014, 01:49 AM
  5. [SOLVED] VBA help- convert result to value or else keep formula
    By onp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2014, 11:54 PM
  6. Formula required to convert range of values
    By gcexcel in forum Excel General
    Replies: 1
    Last Post: 01-14-2012, 02:22 PM
  7. Macro to insert formula result into range with zero values in cell
    By JPS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-06-2005, 01:05 AM

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