+ Reply to Thread
Results 1 to 6 of 6

How to use two IF/THEN functions in one formula

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    san diego
    MS-Off Ver
    Excel 2010
    Posts
    47

    How to use two IF/THEN functions in one formula

    Hello!

    Please take a look at what I'm doing wrong? I'm trying to put two IF/THEN functions in one formula, Example:

    If the date in C4 is greater then 7/31/08, and if D4 and E4 are both Yes, then in F4 enter the date of C4.

    I'll attach a sample...Thank you!
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to use two IF/THEN functions in one formula

    How about...

    =IF(AND(C4>DATEVALUE("7/31/2008"),D4="Y",E4="Y"),C4,"")
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-29-2014
    Location
    san diego
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: How to use two IF/THEN functions in one formula

    Thank you, That worked!!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to use two IF/THEN functions in one formula

    You are very welcome and thanks for the rep. Happy to help!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How to use two IF/THEN functions in one formula

    Hi islandeeya,

    Try this in F4

    =IF(C4>=DATEVALUE("7/31/18"),IF(AND(D4="Y",E4="Y"),C4),"")
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How to use two IF/THEN functions in one formula

    Rule 08: Cross-posting Without Telling Us

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question. If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    No further help to be offered, please, until the OP has complied with this request.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] noob user in formula and functions, need help .. Rank formula ??
    By Koford in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-13-2018, 10:07 PM
  2. Formula / Functions
    By 007van in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2015, 03:48 PM
  3. [SOLVED] Do Macros find functions/formula's or the formula solution?
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2014, 08:55 AM
  4. Use of AND and IF formula functions
    By djr1970 in forum Excel General
    Replies: 9
    Last Post: 01-20-2012, 06:35 PM
  5. Using Functions in Formula
    By JezLisle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2009, 09:35 AM
  6. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 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