+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : 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
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Multiple Condition

    Hello Lira
    Welcome to teh forum

    your just missing a close parentheses ) here:

    D2 <=19 ) ,2


    the red one
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  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
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Multiple Condition

    Walang Anuman.

+ 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.6.0 RC 1