+ Reply to Thread
Results 1 to 6 of 6

Look up values between a range

  1. #1
    Registered User
    Join Date
    10-26-2010
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Look up values between a range

    Hi,

    I have a spreadsheet that displays output whenever the corresponding cell returns a 1. The problem is, sometimes the cell will be .99999996, and the output will not show because the MATCH function I'm using is looking for a 1, not .99999996. I was wondering if I could set up a MATCH function that looks for a range of values? I've attached a spreadsheet below.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Look up values between a range

    let's play hunt the formula!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-26-2010
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Look up values between a range

    Sorry, the formula is in Cell C2 on the "Log Returns" sheet.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Look up values between a range

    where are the cells with .99999996 ?

  5. #5
    Registered User
    Join Date
    10-26-2010
    Location
    Richmond, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Look up values between a range

    cell AA22 on the "Optimizer" Sheet.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Look up values between a range

    Adjust the values in B such that they are Rounded to nearest whole number.

    Please Login or Register  to view this content.
    Then I would suggest

    Please Login or Register  to view this content.
    in a model such as this it's generally good advice to avoid use of Volatile functions like INDIRECT - as you can see in this instance INDEX is equally effective and is non-volatile.

+ 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