+ Reply to Thread
Results 1 to 5 of 5

formula

  1. #1
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    formula

    Hi All,
    I'm working on a retirement spreadsheet, and having trouble with a formula.
    In cell I9, I have a formula that calculates your age with 25 years of service.

    What I'm looking for, is a formula that tells me whether or not you've reached 55 years old or not, and if you do, it tells me you did. This formula goes in cell I11.

    Here's what I'm working with, and can't get this to work correctly, if cell I9 is blank, I want this cell (I11) to be blank.
    =IF(I9<>"",I9>54,"Value is 55 or greater","")

    Hmmm - what am I missing??

    Thanx in advance...LT

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =IF(AND(I9<>"",I9>54),"Value is 55 or greater","")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this,

    =IF(OR(I9="",I9>54),"Value is 55 or greater","")
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by oldchippy
    Try this,

    =IF(OR(I9="",I9>54),"Value is 55 or greater","")
    That will return "Value is 55 or greater" if I9 is blank....I am not sure that is the intent of the OP?

  5. #5
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327
    Quote Originally Posted by NBVC
    That will return "Value is 55 or greater" if I9 is blank....I am not sure that is the intent of the OP?
    I got the same value when I used this formula. I used
    =IF(AND(I9<>"",I9>54),"Value is 55 or greater","")
    and it worked just fine for me.

    Thank you both for the replies.

    LT
    Last edited by Ltat42a; 08-22-2007 at 03:48 PM.

+ 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