+ Reply to Thread
Results 1 to 5 of 5

Value with double reference...........

Hybrid View

  1. #1
    Registered User
    Join Date
    12-26-2012
    Location
    Meerut
    MS-Off Ver
    Excel 2007
    Posts
    86

    Value with double reference...........

    Hi,

    Pl. help


    A B C D
    1 Data Jan Feb Mar
    2 Bob 10 80 97
    3 Eric 20 90 69
    4 Alan 30 100 45
    5 Carol 40 110 51
    6 David 50 120 77

    I want the value of Alan of Feb month (100)

    m using this formula

    =INDEX($B$2:$D$6,MATCH("Feb",$B$1:$D$1,0),MATCH("Alan",$A$2:$A$6,0))

    but the result is 69 instead of 100


    then m trying 2nd formula as

    =INDEX($B$2:$D$6,MATCH("Feb"&"Alan",$B$1:$D$1&$A$2:$A$6,0)) with cntl + shift + enter

    but the result is #n/a

    Pl. suggest .....

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Value with double reference...........

    Give a try reversing the match part of your formula.

    =INDEX($B$2:$D$6,MATCH("Alan",$A$2:$A$6,0),MATCH("Feb",$B$1:$D$1,0))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,038

    Re: Value with double reference...........

    first is ROW search, second is COLUMN

    Try

    =INDEX($B$2:$D$6,MATCH("Alan",$A$2:$A$6,0), MATCH("Feb",$B$1:$D$1,0))

    and then change -1 if is some extra
    Never use Merged Cells in Excel

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

    Re: Value with double reference...........

    The row parameter should come before the column parameter, so try it like this:

    =INDEX($B$2:$D$6,MATCH("Alan",$A$2:$A$6,0),MATCH("Feb",$B$1:$D$1,0))

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    12-26-2012
    Location
    Meerut
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Value with double reference...........

    thank you so much now i came to know i.e.

    row parameter should come before the column parameter


+ 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