+ Reply to Thread
Results 1 to 5 of 5

Connecting Multiple If with or

  1. #1
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Connecting Multiple If with or

    Hello Everyone ,

    I have a problem with connecting multiple if with or ..for example :

    =IF(A2=LARGE($A$2:$A$17,1),5,0)+IF(A2=LARGE($A$2:$A$17,2),4,0)+IF(A2=LARGE($A$2:$A$17,3),3,0)

    But if the large numbers in any case are the same it will take double values and I dont want that .

    Can we put instead of + or ....or anything else .

    Thank you

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Connecting Multiple If with or

    You could do it this way:

    =IF(A2=LARGE($A$2:$A$17,1),5,IF(A2=LARGE($A$2:$A$17,2),4,IF(A2=LARGE($A$2:$A$17,3),3,0)))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Connecting Multiple If with or

    Pete tha helps but when I enter this function =IF(A2=LARGE($A$2:$A$17,1),5,IF(A2=LARGE($A$2:$A$17,2),4,IF(A2=LARGE($A$2:$A$17,3),3,0,if(a2=large($a$2:$a$17,4),2,0,if(a2=large($a$2:$a$17,5),1,0)))))

    it pops the message (you ve entered too many arguments )

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Connecting Multiple If with or

    That's because you have left the ,0 in after the ,3 and the ,2

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    09-16-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    87

    Re: Connecting Multiple If with or

    Thanks for the Help Pete !! Works fine now !!

+ 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