+ Reply to Thread
Results 1 to 4 of 4

Thread: Multiple IF Statement (Function) in a single cell

  1. #1
    Registered User
    Join Date
    09-26-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    2

    Multiple IF Statement (Function) in a single cell

    Hello everyone,

    My simple table consist of:

    25 to 10 = 1.06
    9 to 0 = 1.10
    -1 to -10 = 1.13
    -11 to -20 = 1.17
    -21 to 40 = 1.25

    Problem:
    I was trying to put an IF function to a single cell (C3)
    and a user input in cell (D4). e.g. if the user input a number in D4 between -1 to -10
    cell C3 will show the value of 1.13 and so forth...

    Thanks in advance!

  2. #2
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Multiple IF Statement (Function) in a single cell

    Hello and Welcome to the Board,

    How about a lookup...

    =LOOKUP(D4,{-40,1.25;-20,1.17;-10,1.13;0,1.1;10,1.06})

  3. #3
    Registered User
    Join Date
    09-26-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Multiple IF Statement (Function) in a single cell

    WOW!
    you guys are amazing! Thank you very much!

  4. #4
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Multiple IF Statement (Function) in a single cell

    You're Welcome...

    If you are satisfied with the answer provided, please don’t forget to mark the thread as solved.

    How to mark a thread Solved
    Go to the first post
    Select
    -- Edit
    -- Go Advanced
    -- Below the word Title you will see a dropdown with the word No prefix
    -- Update to Solved and then select Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0