+ Reply to Thread
Results 1 to 12 of 12

using multiple IF conditions

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    bekan, mayo, ireland
    MS-Off Ver
    Excel 2007
    Posts
    9

    using multiple IF conditions

    Hi,

    I have attached the file that I need help with. Cells D12-D16 and cells E12-E16, are drop down lists. I want to assign different amounts to different combinations of the menus. For example if the values stay as they are now in the drop down lists, the amounts to the right are correct but if I change the combinations in the drop down lists the amounts to the right should also change. Even if someone could put the correct IF statements, to reflect what is there now, I could work out the rest...

    Please help. Thank you
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-24-2012
    Location
    bekan, mayo, ireland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: using multiple IF conditions

    =IF(AND(D12="16 GB",D13="200 GB",D14="100 GB",D15="2 TB",D16="Linux",E12="64 GB",E13="500 GB",E14="100 GB",E15="2 TB",E16="Linux"),"1214.38","not available")

    This is the statement Im trying to make work. It works with what is there but i dont know what to change the formula to if i change any of the drop down figures
    Last edited by jobeirne; 11-24-2012 at 03:00 PM.

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

    Re: using multiple IF conditions

    what amounts to the right? where is this formula going to go?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: using multiple IF conditions

    You were almost there.

    =IF(AND(D12="16 GB",D13="200 GB",D14="100 GB",D15="2 TB",D16="Linux",E12="64 GB",E13="500 GB",E14="100 GB",E15="2 TB",E16="Linux"),1,214.38)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: using multiple IF conditions

    well that as it maybe but it looks as op wants different amounts for different combinations. i think setting up a table with the required combinations then concatenating the results of each row then a index/match or vlookup could be used

  6. #6
    Registered User
    Join Date
    11-24-2012
    Location
    bekan, mayo, ireland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: using multiple IF conditions

    sorry I had the wrong file uploaded. It the right one now

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

    Re: using multiple IF conditions

    still cant understand it ,how is the figure derived,but your upload is not in this thread its in the other one you started!
    Last edited by martindwilson; 11-24-2012 at 03:26 PM.

  8. #8
    Registered User
    Join Date
    11-24-2012
    Location
    bekan, mayo, ireland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: using multiple IF conditions

    @ martin, I have the figures the different combinations make. As part of a college assignment (worth 100% of module), we need to create a tool in excel, using what if analysis to compare the results of different cloud computing providers.... I dont know how to go about it

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: using multiple IF conditions

    I Just modified a little your formula(As i already told)
    Attached Files Attached Files

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

    Re: using multiple IF conditions

    ah whatif analysis is a whole different ball game, that's a seperate thing on the data tab. not up on that i'm afraid
    @fotis what is the result if d12= 64gb i'm sure a different price is required
    i suspect there's a different price for each component according to which company sells it
    Last edited by martindwilson; 11-24-2012 at 03:59 PM.

  11. #11
    Registered User
    Join Date
    11-24-2012
    Location
    bekan, mayo, ireland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: using multiple IF conditions

    @martin. Thanks for your help. So Ive been approaching this all wrong I think. Back to the drawing board *sigh*

  12. #12
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: using multiple IF conditions

    Quote Originally Posted by martindwilson View Post
    ah whatif analysis is a whole different ball game, that's a seperate thing on the data tab. not up on that i'm afraid
    @fotis what is the result if d12= 64gb i'm sure a different price is required
    i suspect there's a different price for each component according to which company sells it
    Agree Martin.

    I thouht that i used invisible ink, until i saw your message
    Last edited by Fotis1991; 11-24-2012 at 04:12 PM.

+ 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