+ Reply to Thread
Results 1 to 6 of 6

If function

Hybrid View

  1. #1
    Registered User
    Join Date
    01-20-2007
    Location
    Globetrotter
    Posts
    52

    If function

    Hi all,

    I have several cell's (5).

    After the calculating the number of years working, then I want to show in another cell a number.

    To calculate de number of years working like this:

    =Year(C4)-Year(C3) : this code is working perfectly

    To calculate the equal number of working I'm using this code:

    =IF(C9>17;"585";"580") : is also working perfectly

    The problems began when I want to add another function:

    =IF(ISNUMBER(C7);"430") : this code works alone

    What I want is to create one function like this:

    =IF(ISNUMBER(C7);"430");IF(C9>17;"585";"580") : this function doesn't work.

    Thanks in advance,

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: If function

    you are missing a closing parenthesis

    =IF(ISNUMBER(C7);"430");IF(C9>17;"585";"580")) <-

  3. #3
    Registered User
    Join Date
    01-20-2007
    Location
    Globetrotter
    Posts
    52

    Re: If function

    Hi,

    I've tried this before without luck.
    Gives a fault between the last parentheses:

    =IF(ISNUMBER(C7);"430");IF(C9>17;"585";"580")|)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If function

    This works for me. For you?

    =IF(ISNUMBER(C7);430;IF(C9>17;585;580))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    01-20-2007
    Location
    Globetrotter
    Posts
    52

    Re: If function

    Thanks Fotis1991 that's working.
    I thoud that I needed parenthesis for that, but i was wrong.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If function

    .................

+ 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