+ Reply to Thread
Results 1 to 3 of 3

The IF Formula Help

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    leicester
    MS-Off Ver
    2010
    Posts
    1

    The IF Formula Help

    hello all,

    i would like to work out a formula that if the total of my cells is 150 or less i will require 1 of something
    if the total is between 151 and 300 i want it to show 2 etc. please see below

    1-150 i will need 1
    151-300 i will need 2
    301-450 i will need 3

    and so this will carry on and on.

    would an If formula work in this scenario?

    any help will be greatly appreciated

    Kind regards

    Craig

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: The IF Formula Help

    An IF formula would work but if you have many levels a lookup formula would be better.

    See if this helps:

    http://contextures.com/xlFunctions02.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: The IF Formula Help

    welcome to the forum, Craig. not really sure if you really wish to show 1-3 or is it just an eg. if it seems to be multiples of 150, then maybe:
    =CEILING(A1/150,1)

    if it's more than that, do up a table say in column F & G. type the minimum number of the range in column F. so it should be:
    1
    151
    301

    then type the desired results in column G.
    1
    2
    3

    do this formula:
    =LOOKUP(A1,$F$1:$F$3,$G$1:$G$3)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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