+ Reply to Thread
Results 1 to 3 of 3

Multiple formulas within a cell

  1. #1
    Registered User
    Join Date
    02-08-2010
    Location
    Fredericksburg, VA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Multiple formulas within a cell

    I need a cell to perform multiple functions and can't figure out how to do it. I've attached a copy of the document to hopefully show what I'm trying to do.

    I need the column f to automatically determine the number of months by subtracting column e from column b. Once that is done, I need it to...

    If eval date is 6 months past the hire date and has not been inst for 24 months, turn red
    If eval date is 12 months past the hire date and has been inst for 2 years, turn red

    Is this possible?
    Attached Files Attached Files

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

    Re: Multiple formulas within a cell

    Hi nicolei

    My questions is: Why do you need all this information in a single cell? Why not do the logic in helper columns and then give the result at then end? Also, why does it need to be a color change instead of a final result of some Text in a cell. The text would be something like "Pass" or "Fail".
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Multiple formulas within a cell

    I'm not sure I follow but are you looking for this as the CF formula:

    =OR(AND(F2>=6,D2>=24),AND(F2>=6,D2<=24))

    Also, the formula in D2 can be simplified as: =DATEDIF(B2,TODAY(),"m")
    and similarly the formula in F2 can be: =DATEDIF(E2,TODAY(),"m")
    which eliminates need for column C.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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