+ Reply to Thread
Results 1 to 12 of 12

help regarding indexing and matching

  1. #1
    Registered User
    Join Date
    03-04-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    help regarding indexing and matching

    hello, i am new to this forum, though in a few days i have got a grasp of a few concepts, i am still new to excel in general.

    My problem is that i need help in indexing and matching,
    my sample workbook would show it clearly,
    in short,
    i have 2 columns in sheet 1, with A giving the product name and b giving its value
    and in sheet 2, i have Columns A & Column B which is essentially when put together gives the value of corresponding cells in column A,

    i want a function which would give me the proper values in sheet 2 from sheet 1
    ...
    Attached Files Attached Files

  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: help regarding indexing and matching

    Maybe

    =INDEX(Sheet1!$B$1:$B$10,MATCH(A1&B1,Sheet1!$A$1:$A$10,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
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: help regarding indexing and matching

    Or use vlookup:
    Please Login or Register  to view this content.
    Note : if you find "N/A" because no value that corresponding with lookup value and you want it empty combine with IFERROR() function
    Click (*) if you received helpful response.

    Regards,
    David

  4. #4
    Registered User
    Join Date
    03-04-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: help regarding indexing and matching

    firstly i didnt quiet expect a fast response, thank you for your time, but

    i already tried both and it dosent work, because i didnt mention one more criteria, that is, the 2nd workpage may have more than the required strings in the cells, so exact matches wont take place, when 0 is considered,
    i have uploaded one more sample,
    though i am working on a worksheet with around 1700 columns, the given basic code would be quiet helpful,
    remember,the contents in worksheet b will have more strings than the required when compared to sheet a
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: help regarding indexing and matching

    Try this
    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-04-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: help regarding indexing and matching

    than you once again, both formulas work perfectly in the sample i gave, but when i tried it on the main project, it failed,


    heres the most general scenario, i hope you understand what i mean,
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: help regarding indexing and matching

    Because you just give 1 example so I work from that :
    Please Login or Register  to view this content.
    Note : I don't know the standard format you have, may be this only work on that sample too.

  8. #8
    Registered User
    Join Date
    03-04-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: help regarding indexing and matching

    we are almost there

    i know i am no coding expert, but as far as i understand, your formula just checks if the first cell contents matches with list in sheet1, but it dosent check the contents of column b where data could change
    ,

    its one last hurdle, and its there

    thanks
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: help regarding indexing and matching

    Look at this one
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    03-04-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: help regarding indexing and matching

    this is Exactly what i am looking for
    the helper column is what was needed
    thank you

  11. #11
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: help regarding indexing and matching

    You are welcome, glad hear your problem will be solved and thanks for the rep

  12. #12
    Registered User
    Join Date
    02-05-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: help regarding indexing and matching

    Dear Praveen

    u can use vlookup for that ,,,,, if can be halful for u.
    please find attchment
    Attached Files Attached Files

+ 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