+ Reply to Thread
Results 1 to 4 of 4

IF function writing help

Hybrid View

  1. #1
    Registered User
    Join Date
    09-08-2016
    Location
    Redmond, Washington
    MS-Off Ver
    2013
    Posts
    2

    IF function writing help

    Hello,

    I want a date to show up in a column if another column has "safety certification" or "safety mid-year certification" in it but if it doesn't have either or those then to remain blank. I think using the IF function is probably how to do it but I so far haven't been able to get it to work.

    In other words.

    If C3 is "Safety Certification or safety mid-year certification" then E3 = date in D3 + 6 months

    Any help with is appreciated,

    Thanks,
    Mike

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: IF function writing help

    Try this in E3:

    =IF(OR(C3="first_phrase",C3="second_phrase"),EDATE(D3,6),"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-08-2016
    Location
    Redmond, Washington
    MS-Off Ver
    2013
    Posts
    2

    Re: IF function writing help

    That worked! Thank you Ali!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: IF function writing help

    You're welcome!

+ 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] Help writing IF function
    By bigroo1958 in forum Excel General
    Replies: 10
    Last Post: 06-10-2015, 02:22 PM
  2. Replies: 5
    Last Post: 09-15-2014, 12:41 AM
  3. [SOLVED] Writing a function
    By frisbie17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2012, 10:35 AM
  4. writing function in VBA
    By johnboy12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2008, 05:23 PM
  5. Writing a function in .xla file
    By suhas.nehete in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2007, 06:43 AM
  6. Writing a Function
    By svaiskau in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2007, 06:23 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