+ Reply to Thread
Results 1 to 5 of 5

problem with =index formula

  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    45

    problem with =index formula

    Is it possible to use this rule between sheets in a document?
    I get the errors "value not defined" - why?


    My formula looks like this when i try it;

    =INDEX($B67:$G73;COMPARE((SHEET 2!)B5;$A67:$A73;1);COMPARE((SHEET 2)B18;$B66:$G66;1))

    Thanx alot people!
    -Andreas
    Last edited by abrunstad; 02-13-2009 at 04:47 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: INDEX(Range,Match(row),Match(col))

    dont know what you are tring to do but to return a match from a cell on sheet 2 with a range on sheet2
    =INDEX($B67:$G73;MATCH(Sheet2!B5;Sheet2!$A67:$A73;1);MATCH(Sheet2!B18;Sheet2!$B66:$G66;1))

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: INDEX(Range,Match(row),Match(col))

    Should it be this in Norwegian?

    =INDEX($B67:$G73;SAMMENLIGNE('SHEET 2'!B5;$A67:$A73;1);SAMMENLIGNE('SHEET 2'!B18;$B66:$G66;1))
    Where there is a will there are many ways.

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

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

  4. #4
    Registered User
    Join Date
    02-12-2009
    Location
    oslo, Norway
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: problem with =index formula

    Well, I tried the formula you posted without any luck.

    Exel seems not to understand the

    ('sheet 2'! e14) or;
    (sheet 2! e14) or;
    sheet 2 e14 or;

    by the way, my "sheet 2" is called SGR, but this should not make any impact?
    (ofcourse I've changed the sheet 2 to SGR in my rule.

    Again a reminder of the code;
    =INDEKS($B67:$G73;SAMMENLIGNE('SGR!E6;$A67:$A73;1);SAMMENLIGNE('SGR'!E7;$B66:$G66;1))

    INDEKS = INDEX
    SAMMENLIKNE = COMPARE

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: problem with =index formula

    What error are you getting? Or are you just getting the wrong answer?

    I did notice an apostrophe missing in your formula:

    =INDEKS($B67:$G73;SAMMENLIGNE('SGR'!E6;$A67:$A73;1);SAMMENLIGNE('SGR'!E7;$B66:$G66;1))

    Also, are you looking for exact match? Or an approx match with colum A and Row 1 heading listed in ascending order? The way you have formulated the formula is per the latter...

    If you want exact match, then:

    =INDEKS($B67:$G73;SAMMENLIGNE('SGR'!E6;$A67:$A73;0);SAMMENLIGNE('SGR'!E7;$B66:$G66;0))

+ 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