+ Reply to Thread
Results 1 to 4 of 4

Thread: Multiple Condition

  1. #1
    Registered User
    Join Date
    11-14-2011
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Multiple Condition

    Hey Guys...

    I'm encountering this kind of problem on how to make a multiple condition.... I used IF & AND but it always says error in function everytime i press enter to execute the formula

    here's what i did...

    =IF(AND(D2>=0, D2<=9),1, IF(AND(D2>=10, D2<=19,2,"")))

    what i wanted is that if D2 is between 0 to 9 then the answer in D3 is 1...
    or if D2 is between 10 to19 then the answer in D3 is 2

    Thanks in advance ^^..

    Please help me with the formula... i don't know which part causes the error

  2. #2
    Valued Forum Contributor vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - Guimba-Nueva Ecija
    MS-Off Ver
    2010
    Posts
    777

    Re: Multiple Condition

    Hello Lira
    Welcome to teh forum

    your just missing a close parentheses ) here:

    D2 <=19 ) ,2


    the red one
    Contributors to this forum do not get paid. They give their valuable time to help you solve your problem. That's why feel free to CLICK their STAR icon to say thank you -even the given idea/solution didn't really solve your queries. The time given to you deserves a small gratitude anyway.

    Dare to give a pencil to a child. http://www.blackpencilproject.org/

  3. #3
    Registered User
    Join Date
    11-14-2011
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Multiple Condition

    Quote Originally Posted by vlady View Post
    Hello Lira
    Welcome to teh forum

    your just missing a close parentheses ) here:

    D2 <=19 ) ,2


    the red one
    OH thanks !!!! never noticed.... muah muah... thanks savior!!! it actually worked!!!!

    phew.... never thought that much simple...

  4. #4
    Valued Forum Contributor vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - Guimba-Nueva Ecija
    MS-Off Ver
    2010
    Posts
    777

    Re: Multiple Condition

    Walang Anuman.
    Contributors to this forum do not get paid. They give their valuable time to help you solve your problem. That's why feel free to CLICK their STAR icon to say thank you -even the given idea/solution didn't really solve your queries. The time given to you deserves a small gratitude anyway.

    Dare to give a pencil to a child. http://www.blackpencilproject.org/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0