+ Reply to Thread
Results 1 to 4 of 4

How to use multiple functions with multiple exceptions

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    North Caroliina
    MS-Off Ver
    excel 2007
    Posts
    11

    Question How to use multiple functions with multiple exceptions

    Ok so here's the deal. I'm developing a customer form with fill in the blanks for my job. The answer to a certain section is dependent upon the what is filled in. I used vlookup to calculate the section. For example.

    if B25= 1 and E25 and H25=x and a specific number will result. it would be the same if E25=1 and the other 2 are x. Heres my problem: if B25=1 and E25=1 than it would be that specific +25,000 would be the result. if B25=1 and E25=2 than a specific number +42,000.

    Excel keeps telling me that there are too many arguments. Is there anything else I can do to get this work? I have attached the section for someone to look at. On Sheet 2, the license cost is the price I need to integrate if the exception is in place the Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: How to use multiple functions with multiple exceptions

    Hi there!

    I've included the license cost into your formula in K5 of the sample workbook.

    I hope this is what you were looking for.

    On a side note, a word of advise... Don't merge cells. It messes up the worksheet.

    Don't forget to click on the little star to the left of this post if you feel I helped!
    Attached Files Attached Files
    Taming the Excel dragon... www.TheExcelphile.com

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    North Caroliina
    MS-Off Ver
    excel 2007
    Posts
    11

    Re: How to use multiple functions with multiple exceptions

    That did help a lot but I may have not explained it thoroughly. if B3=1 and E3=1 than the standard price would be the same for B3 and E3 would equal the license cost and then we add that. but that would change again if B3=1 and E3=2.

    Thank you!

  4. #4
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: How to use multiple functions with multiple exceptions

    In that case, you could simply add two VLOOKUPs.

    For example, the formula in B5 in your sample sheet would be:
    =VLOOKUP(B3,Sheet2!A2:B6, 2, FALSE)+VLOOKUP(B3,Sheet2!D2:E6, 2, FALSE)

    Don't forget to click on the little star to the left of this post if you feel I helped!

+ 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.6.0 RC 1