+ Reply to Thread
Results 1 to 5 of 5

Thread: If function

  1. #1
    Registered User
    Join Date
    06-13-2008
    Posts
    14

    If function

    Can anyone tell me why excel tells me this function is wrong????

    SI(K6=$S$23;1;SI(K6=$S$24;2;SI(K6=$S$25;3;SI(K6=$S$26;4;SI(K6=$S$27;5;SI(K6=$S$28;6;SI(K6=$S$29;7;SI (K6=$S$30;8;SI(K6=$S$31;9;0)))))))))

    just in case, SI is the IF function in spanish.

    thanks in advance!

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    To many nested functions.. Excel allows up to 7

    Try:

    =COINCIDIR(K6;S23:S31;0)

    That should do what you need.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    06-13-2008
    Posts
    14
    Thank you! it worked!

    just so I know, could you explain what the formula means so I can use it in the future.

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    The english equivalent to that formual is:

    =MATCH(K6;S23:S31;0)

    The Match() function looks for a match of a lookup value within a lookup array. It returns the position within the array that the match is found...

    The 0 at the end tells the function to look for an exact match. If you leave it out it looks for an approximate match in an ascending ordered array.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    06-13-2008
    Posts
    14
    Thank you so much, not only did it work but it makes my life WAY easier

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