+ Reply to Thread
Results 1 to 4 of 4

If Then Formula Range

  1. #1
    Registered User
    Join Date
    07-08-2004
    Posts
    5

    If Then Formula Range

    I'm looking for an If Then Formula that checks for numbers in a certain range and spits out the correspoding number. Thanks in Advance.

    If John sells 6 units, then $20/unit.
    If John sells 12 units, then $40/unit and so on.

    Here are the ranges:

    0-6 $20.00
    7-10 $30.00
    11-15 $40.00
    16+ $50.00

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    try

    =lookup(a1.{0,7,11,16;20,30,40,50})*a1

  3. #3
    Registered User
    Join Date
    07-08-2004
    Posts
    5
    gave an error on the

    a1. part

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

+ 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. Dynamic range formula not counting completely
    By TK5 in forum Excel General
    Replies: 5
    Last Post: 07-08-2008, 10:11 AM
  2. Formula in a range to add of letter codes
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2008, 01:25 PM
  3. Getting a range from an array formula contained in a cell
    By kayard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2007, 04:08 PM
  4. value in cell to determine which named range used in formula
    By trashnation in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2007, 04:20 AM
  5. Dynamic Range within sumproduct formula
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2006, 07:27 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