+ Reply to Thread
Results 1 to 3 of 3

Variation to my last IF OR formula

  1. #1
    Registered User
    Join Date
    04-20-2017
    Location
    Christchurch, Dorset
    MS-Off Ver
    2016
    Posts
    29

    Variation to my last IF OR formula

    Hi again
    I thought I would be able to modify the last formula that I got from the good people on here to another similar spreadsheet that I have. It is a simple case of adding another criteria to the list. I've attached the simplified spreadsheet showing what I want to achieve. The previous formula I was given was:

    =IF(OR(A2="NIS",C2="NIS"),"X",IF(OR(A2={"PPA",0}),IF(OR(C2={"PPA",0}),"BOTH","BEFORE"),IF(OR(C2={"PPA",0}),"AFTER","")))

    Which has worked perfectly before the additional test of AVONWOOD being added into the equation. I have tried:

    =
    IF(OR(A2="NIS",C2="NIS"),"X",
    IF(OR(A2="AVONWOOD",C2="AVONWOOD"),"X",
    IF(OR(A2={"PPA",0}),
    IF(OR(C2={"PPA",0}),"BOTH","BEFORE"),
    IF(OR(C2={"PPA",0}),"AFTER",""))))

    which follows the same pattern as the previous formula but I'm getting wrong answers.

    Can anyone help please?
    Attached Files Attached Files
    Last edited by SueBristow; 09-16-2018 at 06:43 AM.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Variation to my last IF OR formula

    Modify your IF formula as following:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-20-2017
    Location
    Christchurch, Dorset
    MS-Off Ver
    2016
    Posts
    29

    Re: Variation to my last IF OR formula

    Fantastic - thank you very much. It works

+ 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. [SOLVED] Variation of IF formula help needed
    By moe1986 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2015, 12:02 PM
  2. formula variation.
    By melvio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2013, 10:18 AM
  3. Variation on an IF formula
    By tylerf in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-25-2013, 07:05 AM
  4. [SOLVED] Countif formula variation
    By tylerf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2013, 04:39 PM
  5. [SOLVED] Variation in actual cell value and formula bar value
    By popvel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-29-2012, 11:42 AM
  6. [SOLVED] Variation of a Factorial formula
    By Cheeseburger in forum Excel General
    Replies: 1
    Last Post: 09-06-2011, 12:49 PM
  7. Negative Time Formula Variation
    By jayclinton in forum Excel General
    Replies: 3
    Last Post: 12-22-2009, 10:58 PM

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