+ Reply to Thread
Results 1 to 5 of 5

If & Or Formula?

  1. #1
    Registered User
    Join Date
    08-07-2018
    Location
    Brighton, England
    MS-Off Ver
    O365
    Posts
    21

    If & Or Formula?

    Hi All,

    I'm looking for a formula that will look at 2 cells:

    Cell A2 can contain - "Yes", "No", "Other"
    Cell A3 can contain a date
    Cell A4 is where the formula sits

    I would like my formula to look at Cell A2 and return the "Yes" or "No" responses however if the response is "Other" then i would like it to return cell A3 instead. Does that make sense? It's probably really simple but i'm stumbling around like a fool with my formula's and can't seem to get it right!

    As always the help is very much appreciated!
    Thanks

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,084

    Re: If & Or Formula?

    With A4 formatted as date:

    =IF(A2="","",IF(A2="Other",A3,A2))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Registered User
    Join Date
    08-07-2018
    Location
    Brighton, England
    MS-Off Ver
    O365
    Posts
    21

    Re: If & Or Formula?

    Sorry, i dont think i worded that correctly, and i actually provided info on the cells incorrectly. Attached is an example of how i would like it to work...
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-07-2018
    Location
    Brighton, England
    MS-Off Ver
    O365
    Posts
    21

    Re: If & Or Formula?

    I actually figured it out, but thank you for the support anyway!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,084

    Re: If & Or Formula?

    I'd have used:

    =IF(A2="","",IF(A2="Other",B2,A2))

+ 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. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  5. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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