+ Reply to Thread
Results 1 to 3 of 3

Formula Stumped

  1. #1
    Registered User
    Join Date
    02-19-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    27

    Formula Stumped

    Hi, I need some guidance regarding a formula. Not knowing if a formula or macro is better I posted here.

    I have a cell where the user can enter a quantity (example $1000). I want the formula of another cell to read a quantity from a table (rounded up) when this is entered.

    For example, User enters quantity $1000 into Cell A1.
    Cell A2 reads this amount ($1000) and rounds UP to the nearest total to that amount on a data set (if the table has no cell for $1000 it reads the data under the column for $1250)
    Cell A2 shows the value from the data set under that column.

    I can get more specific if needed to reach out to me and let me know!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Formula Stumped

    Seems like it should be a basic lookup function: https://support.office.com/en-us/art...__toc309306714

    Where you want the "just larger" value, rather than the "just smaller" value, I would use the MATCH() function for the lookup, followed by the INDEX() function to return the desired value.

    If you are allowed to sort the data in descending order, then this will be striaghtforward with -1 as the MATCH() functions third argument. =MATCH(lookup value,lookup column,-1)

    If you are not allowed to sort the data in descending order (naturally assuming the data will be sorted in ascending order), then you use +1 for the third argument, then add one to the result of the MATCH() function (=MATCH(lookup value,lookup column,1)+1)
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Formula Stumped

    duplicate post with sample file
    http://www.excelforum.com/excel-form...e-formula.html

+ 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. IF THEN formula stumped
    By tig1142 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-30-2014, 03:04 AM
  2. Stumped on Sum/CountIF Formula
    By abaibai in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2013, 03:04 PM
  3. [SOLVED] Stumped on an IF Formula
    By studiostustar in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-17-2012, 08:13 PM
  4. [SOLVED] Stumped with Formula Array returning cell adjacent to formula dataset
    By Giles_Silver in forum Excel General
    Replies: 5
    Last Post: 06-04-2012, 12:18 AM
  5. Excel formula - stumped!
    By jamdav666 in forum Excel General
    Replies: 2
    Last Post: 03-22-2012, 11:51 AM
  6. Stumped on Formula
    By Jessamynhp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2005, 06:05 PM
  7. Completely stumped for formula
    By kirbster1973 in forum Excel General
    Replies: 3
    Last Post: 05-26-2005, 05:15 PM

Tags for this Thread

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