+ Reply to Thread
Results 1 to 8 of 8

If or formula help for 3 possible outcomes

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    cambridge
    MS-Off Ver
    Excel 2010
    Posts
    8

    If or formula help for 3 possible outcomes

    good morning! I need a little help please with a formula.

    i have an argument with three possible outcomes; yes, no, or either yes or no. I'll explain. when calculating VAT (value added tax) we do one of three things.

    1.) internal events have no VAT added

    2.) corporate events have VAT added

    3.) University events have VAT added unless they complete an exemption form for educationally related events. Therefore University events could either be yes or no within the argument/formula.

    My form has a drop-down box in A1 where they select which of the above three events they would like to book. depending on their answer, my form will calculate VAT accordingly.

    The formula for calculating VAT is elsewhere on the form but refers to cell A1 or C1 for instruction (see below).

    With the third option (University events), I would like the form to calculate based on a separate cell (C1) which has a simple dropdown box with either "yes" or "no" which corresponds to a question on VAT exemption status.

    Example: The customer chooses option 3 "University Event" which means VAT could, or could not be applicable.

    Cell B1 contains some text such as "is your event educational related?"

    cell C1 would contains a drop-down with "yes" or "no" The answer to this would be the third possible outcome of the formula discussed above.

    it would be great if the text in cells B1 and C1 could be hidden and only revealed if the customer chooses University event from the drop down box in cell A1 (this would save possible confusion or questions from corporate customers!)

    any help would be much appreciated. sorry if I've poorly explained; happy to try again!
    Last edited by pembr0ke; 02-08-2016 at 05:59 AM.

  2. #2
    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: If or formula help for 3 possible outcomes

    Hi,

    Does the attached help?

    Select from A1.

    B1 is a formula, C1 is a Data validation and also a conditional format which paints the background and font as white if university in A1 is not selected.
    Attached Files Attached Files
    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.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If or formula help for 3 possible outcomes

    this is what I would put in B1 =IF(A1="university","is your event educational?","")
    then this in another cell =IF(AND(A1="university",C1="yes"),"yes",IF(A1="coroporate","yes","no"))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    02-10-2014
    Location
    cambridge
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If or formula help for 3 possible outcomes

    very helpful; thank you.

  5. #5
    Registered User
    Join Date
    02-10-2014
    Location
    cambridge
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If or formula help for 3 possible outcomes

    Thank you, Sambo Kid. The formula incorrectly returns "yes" for both corporate as well as internal. The formula looks good logically; am I missing something? Ideally internal is "yes" for VAT exempt and corporate is "no" as VAT is chargeable. N.B. I combined your formula with Richard Buttrey's very helpful file, attached above.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If or formula help for 3 possible outcomes

    mine should work now, I misspelled corporate in my first version.
    this is what I would put in B1 =IF(A1="university","is your event educational?","")
    then this in another cell =IF(AND(A1="university",C1="yes"),"yes",IF(A1="corporate","yes","no"))

  7. #7
    Registered User
    Join Date
    02-10-2014
    Location
    cambridge
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If or formula help for 3 possible outcomes

    Perfect! Thank you very much.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If or formula help for 3 possible outcomes

    Great, glad I could help and thank you for the rep!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to predict trends/outcomes
    By a1b2c3d4e5f6g7 in forum Excel General
    Replies: 2
    Last Post: 05-04-2014, 08:23 AM
  2. [SOLVED] IF Formula with 3 outcomes
    By adamheon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-08-2013, 10:13 AM
  3. Formula that presents three outcomes
    By KENNYS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2013, 03:54 PM
  4. help with formula with 3 outcomes and several variables.
    By NICK W in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2013, 02:31 AM
  5. IF formula with multiple outcomes
    By warrenr6 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2012, 01:30 PM
  6. If formula used for multiple outcomes
    By Scottiexcel in forum Excel General
    Replies: 1
    Last Post: 07-14-2009, 10:58 PM
  7. formula with 6 outcomes to return 4
    By excellentexcel in forum Excel General
    Replies: 3
    Last Post: 04-05-2009, 07:24 AM

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