+ Reply to Thread
Results 1 to 10 of 10

Multiple IF function (driving me CRAZY)

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    8

    Multiple IF function (driving me CRAZY)

    Hi,

    I have been trying to sort this out for a while and have copied an pasted examples i have found on the net and edited them to fit my situation but no luck!!

    Heres the deal...

    I have in cell C13 a drop down menu with three options 'Buy Now' 'Buy Now Existing' 'Auction'. In cell I12 i need a function so that if C13 = Buy Now I12 = 0.40, If C13 = Buy Now Existing I12 = 0, if C12 = Auction I12 = 0.10.

    The best I have come up with is this but it doesnt work .... =IF(C12="Buy Now",0.4,IF(C12="Buy Now Exsisting",0,IF(C12="Auction",0.1)))


    PLEASE HELPP

    Many Thanks!

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

    Re: Multiple IF function (driving me CRAZY)

    How isn't it working?

    It works for me... but you describe the drop down as being in C13, but your formula references C12.... is your formula pointing to correct place? I added option that if none of those are chosen you get blank.. You also have Existing spelled incorrectly in the formula...


    =IF(C12="Buy Now",0.4,IF(C12="Buy Now Existing",0,IF(C12="Auction",0.1,"")))

    or


    =IF(C12="","",IF(C12="Buy Now",0.4,IF(C12="Buy Now Existing",0,0.1)))
    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.

  3. #3
    Registered User
    Join Date
    07-10-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    8

    Re: Multiple IF function (driving me CRAZY)

    Hi,

    Thanks for the fast reply.

    Sorry i wrote that quickly, the formula is put in the correct place.

    I have tried both of which you pasted above and I get the same '###'

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple IF function (driving me CRAZY)

    You say '..it doesn't work'.

    If you widen the column what does it say?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    07-10-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    8

    Re: Multiple IF function (driving me CRAZY)

    Quote Originally Posted by Richard Buttrey View Post
    You say '..it doesn't work'.
    Sorry Im new to this, hence why I'm here...

    When I widen the column it says Err:508

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Multiple IF function (driving me CRAZY)

    Can you upload a sample worksheet with the error?
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Registered User
    Join Date
    07-10-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    8

    Re: Multiple IF function (driving me CRAZY)

    Here is a print screen of the situation.

    Many Thanks!
    Attached Images Attached Images

  8. #8
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Multiple IF function (driving me CRAZY)

    Your formula in I12 seems to have 2 REF# errors. Please rectify by using formula provided by NBVC.

  9. #9
    Registered User
    Join Date
    07-10-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    8

    Re: Multiple IF function (driving me CRAZY)

    excel problems1.jpg

    Ok here it is...


    Thanks for the help guys

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

    Re: Multiple IF function (driving me CRAZY)

    That is OpenOffice, not Excel.
    I Googled it and saw a suggestion to replace the commas in the formula with semi-colons.

+ 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