+ Reply to Thread
Results 1 to 4 of 4

How can I use If Statement with different ranges and specific answers?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    2

    How can I use If Statement with different ranges and specific answers?

    Could you please help me with this problem?
    I have tried to explain required formula in simple language.


    IF C52 is between 0 & 10000 then G52=0,

    IF C52 is between 10000 & 15000 then G52=5,

    IF C52 is bwtween 15000 & < 22500 then G52=7.5,

    IF C52 is >22500 then G52=10

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How can I use If Statement with different ranges and specific answers?

    Try

    =LOOKUP(C52,{0,10000,15000,22500},{0,5,7.5,10})

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How can I use If Statement with different ranges and specific answers?

    thanks it works

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How can I use If Statement with different ranges and specific answers?

    You're welcome. Please remember to mark your thread as SOLVED (see instructions in rule #9 by clicking Forum Rules @ top of page).

+ 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