+ Reply to Thread
Results 1 to 4 of 4

Returning multiple values if a cells value falls in a range of values.

  1. #1
    Registered User
    Join Date
    07-10-2017
    Location
    Washington, United States
    MS-Off Ver
    2010
    Posts
    16

    Returning multiple values if a cells value falls in a range of values.

    I've come at this a few ways and thought maybe someone would have some insight on a better way. Basically if an item's(A) sales(B) fall between a minimum and maximum range I need it to return values for Par(C), Roq(D), and WH(E).
    My initial though was to create a spreadsheet with each possible value I'd be working with, for example instead of a min-max of 1-5 I would create five lines of data for 1,2,3,4,5. I could still do this to get it to functions but I'd rather not have to keep this sheet attached with that information. I thought I could potentially hide it in a macro but I'm not having much luck with how to accomplish it.
    How would you go about accomplishing this task? Any help/thoughts are appreciated. I've attached a workbook as an example.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Returning multiple values if a cells value falls in a range of values.

    Please Login or Register  to view this content.
    Named range: Par_Roq_WH =Warehouse!$C$3:$E$32
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    07-10-2017
    Location
    Washington, United States
    MS-Off Ver
    2010
    Posts
    16

    Re: Returning multiple values if a cells value falls in a range of values.

    I noticed some unexpected values were returned. For Coke 4,6,3 rather than 4,7,4 and for sprite, 6,10,5 rather than 6,11,6. Thanks for the reply, and thoughts on why this happened?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,617

    Re: Returning multiple values if a cells value falls in a range of values.

    Try:
    Please Login or Register  to view this content.

+ 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. Searching for String in Multiple Cells, Returning different Values.
    By ShennyP in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-18-2016, 03:26 AM
  2. Returning different values if cell falls between a certain date range
    By mlstutesman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2015, 12:11 PM
  3. Replies: 7
    Last Post: 06-12-2014, 05:00 AM
  4. [SOLVED] Returning a value from a number that falls BETWEEN 2 other values
    By Franky141 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2013, 12:44 PM
  5. Returning multiple values in multiple cells based upon one input
    By ccoonsk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2012, 10:01 AM
  6. Returning MAX/MIN values from multiple rows in a named range
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-05-2009, 10:02 AM
  7. returning the range of cells that contain values?
    By coho in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2005, 10:46 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