+ Reply to Thread
Results 1 to 11 of 11

fill reference table based on data available in master Table

  1. #1
    Registered User
    Join Date
    08-29-2010
    Location
    eindhoven
    MS-Off Ver
    Excel 2010
    Posts
    62

    fill reference table based on data available in master Table

    Hi,

    I am trying to fill the value Y in reference table rows where it matches to data.
    when i try if combine with vlookup it doesnt work coz reference table check value present in multiple times in master data of course row content is different.

    See the sample excel worksheet attached, please advice simple that can be used to achieve the task.

    Regards,
    jsimha
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: fill reference table based on data available in master Table

    In D4 cell of Reference Table-Sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it down and right.....


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: fill reference table based on data available in master Table

    Hi Jay,


    *** CORRECTED VERSION ***

    The following formula can be used in column B

    Please Login or Register  to view this content.
    Last edited by OllieB; 01-31-2013 at 04:55 AM.
    If you like my contribution click the star icon!

  4. #4
    Registered User
    Join Date
    08-29-2010
    Location
    eindhoven
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: fill reference table based on data available in master Table

    Thanks Olaf and Sixth sense.

    To : Sixsense:
    Given formula
    =IF(COUNTIFS('Master Data'!$A$2:$A$11,D$1,'Master Data'!$B$2:$B$11,$A4),"Y","")

    Changed to :
    =IF(COUNTIFS('Master Data'!$A$2:$A$5484,EB$2,'Master Data'!$B$2:$B$5484,$EB5),"Y","")

    Result : it shows 0 value.

    To:
    I used formula =IF(ISNA(MATCH(A4,'Master Data'!B:B,0)),"N","Y") but it doesn't work.

    Regards,
    Jay

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: fill reference table based on data available in master Table

    Does the below one shown Result : 0 value ha ha ha NO WAY..........

    =IF(COUNTIFS('Master Data'!$A$2:$A$5484,EB$2,'Master Data'!$B$2:$B$5484,$EB5),"Y","")

  6. #6
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: fill reference table based on data available in master Table

    Hi Jay,

    The MATCH formula returns the row number where the argument (coilumn A) is found in column B on worksheet 'Master Data' or #N/A when not found. The IF formula converts that result in to Y or N. Should work without a problem, it does in the version I have here

  7. #7
    Registered User
    Join Date
    08-29-2010
    Location
    eindhoven
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: fill reference table based on data available in master Table

    Hi,

    see attached excel, worksheet: OLAF-1.

    result should be same as in reference data.

    Regards,
    Jay
    Attached Files Attached Files

  8. #8
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: fill reference table based on data available in master Table

    Ok, from your requirement I deducted that you only needed to look at column A. I did not understand that you want to look for column A in combination with RNAME1, RNAME2 and RNAME3 and show Yes/No for the existence of the combinations of values. (I was looking to populate column B, silly me).

  9. #9
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: fill reference table based on data available in master Table

    Using the originally formula posted by SixthSense in post #2, I managed to get the result you were looking for (I think)

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    08-29-2010
    Location
    eindhoven
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: fill reference table based on data available in master Table

    Dear Olaf,

    Thanks for explaining and amending it to suit requirement.
    Great help, completed the job in minutes which would take 10 days if i do it manually

    Regards,
    Jay

  11. #11
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: fill reference table based on data available in master Table

    Please remember to click on the star icon if you are happy with my contribution

+ 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