+ Reply to Thread
Results 1 to 4 of 4

Combine 2 functions

  1. #1
    Registered User
    Join Date
    09-01-2014
    Location
    Manitowoc
    MS-Off Ver
    2011
    Posts
    11

    Combine 2 functions

    Is there any way to have these 2 statement combine into one statement or put into one cell?
    =IF(AND(G4<>"",G4<=TODAY(),I4>0),"Pass due by "&(TODAY()-G4)&" Days","")
    =IF(AND(G4<>"",G4>=TODAY(),I4<>0),"Due In "&(TODAY()-G4)&" Days","")
    or is there a easy way to do this ?

  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,139

    Re: Combine 2 functions

    Hi there. This should do what you want.

    =IF(AND(G4<>"",G4<=TODAY(),I4>0),"Pass due by "&(TODAY()-G4)&" Days",IF(AND(G4<>"",G4>=TODAY(),I4<>0),"Due In "&(TODAY()-G4)&" Days",""))
    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

  3. #3
    Registered User
    Join Date
    09-01-2014
    Location
    Manitowoc
    MS-Off Ver
    2011
    Posts
    11

    Re: Combine 2 functions

    Quote Originally Posted by Glenn Kennedy View Post
    Hi there. This should do what you want.

    =IF(AND(G4<>"",G4<=TODAY(),I4>0),"Pass due by "&(TODAY()-G4)&" Days",IF(AND(G4<>"",G4>=TODAY(),I4<>0),"Due In "&(TODAY()-G4)&" Days",""))
    Thanks so much it worked perfect

  4. #4
    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,139

    Re: Combine 2 functions

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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] Combine IF and AND functions
    By WendyvdV in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-22-2015, 08:42 AM
  2. [SOLVED] How do I combine these two functions?
    By worlds&v in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-04-2014, 09:01 PM
  3. [SOLVED] Combine 5 Functions into One
    By jo15765 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 10:43 AM
  4. Combine functions?
    By ~suky~ in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2006, 11:51 AM
  5. How DO I combine these 2 functions?
    By dominos3814 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2005, 06:52 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