+ Reply to Thread
Results 1 to 2 of 2

creating formula based on specific values and cell locations

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    creating formula based on specific values and cell locations

    Please can someone help me devise and formula for the set of values below:

    I am in need of a formula in Cell O4 for the following
    100 in L4. 5 in N4. If L4 is less than or equal to 100 value to stay as N4. If L4 is greater than 100 but less than 500 O4 to show 80% of N4. If L4 is greater than 500 but less than 1000 O4 to show 60% of N4

    Thanks in advance.

    Johnny N Stars

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: creating formula based on specific values and cell locations

    Try, in O4

    =N4*LOOKUP(L4,{0,101,501},{1,0.8,0.6})

    this assumes whole numbers in L4.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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