+ Reply to Thread
Results 1 to 5 of 5

Look up for Big Data

  1. #1
    Registered User
    Join Date
    08-01-2018
    Location
    Chennai
    MS-Off Ver
    2016
    Posts
    4

    Look up for Big Data

    Hi All,

    I have to generate a final report by comparing 4 different reports by look up command.

    I need to compare A column in report-2 and D column in report-3 and display a cell value in report-3. This can be done by Look up, whereas the problem is i need to do this in a report which contains 2 lakhs rows.

    Any Suggestions on this to automate

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Look up for Big Data

    Would you describe this as a "lookup" task, or a "filter" task? You have posted this in the VBA section of the forum -- how does VBA fit into the overall project (because my first thoughts don't involve VBA at all)?

    If this is more of a "filter" type task, then look into using Autofilter (to filter the list in place) or Advanced filter if you need to extract the result(s) to another part of the spreadsheet.
    Autofilter: https://www.contextures.com/xlautofilter01.html
    advanced filter: http://www.excel-easy.com/examples/advanced-filter.html

    If this is more of a lookup task, the most important thing you can do with a large data set is sort the database on the lookup value so you can use a binary search algorithm (approximate match options in Excel's built in lookup functions). Linear searches (Excel's lookup functions with exact match option selected) are extremely slow, so the most important thing you can do with a large data set is to make sure you can use a more efficient lookup algorithm like a binary search algorithm.

    Either of these options can be programmed in VBA, but VBA is not necessary to execute these approaches.

    How are you wanting to approach this problem? Can you generate a small representative sample file and upload it to the forum to illustrate exactly what you need to do?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    08-01-2018
    Location
    Chennai
    MS-Off Ver
    2016
    Posts
    4

    Re: Look up for Big Data

    This is for the purpose to analyse which systems are not updated with recent version of the antivirus.

    So we generate report from 3 different sources, One for windows machine, another for Linux and for MAC.

    So we need to compare the latest version and the updated date on each machine and need to work on the machines which was not up to date.

    So for this purpose, Look up is not helping. Any other option is encouraged, since am out of options from my end.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Look up for Big Data

    That is starting to sound more like a Power Query aka Get and Transform type problem. I have no experience with these tools, so I can't really help. I found these tutorials: https://www.myonlinetraininghub.com/...pare-two-lists
    https://www.howtoexcel.org/power-que...and-transform/
    Perhaps someone more skilled at Power Query/Get and Transform can comment.

  5. #5
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Look up for Big Data

    Without looking at sample source file and output, hard to say for sure. But I'd definitely try out PowerQuery.

    You can easily merge, append different tables into single table to report on.

    Typically, I'd set up Date dimension table using parameter. StDate to create list of dates with additional dimensions.
    Then you can either perform aggregation based on dates and/or create relationship to combine data.

    Ex: Paste below into blank query (using Advanced Editor). Then create StDate parameter with value set to Jan 1st of current year (i.e. 1/1/2018).
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  2. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  3. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  4. [SOLVED] Copy Data from one sheet and paste the consolidated data into another (Data Range Varies)
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2013, 10:02 PM
  5. Replies: 4
    Last Post: 02-01-2013, 10:18 AM
  6. Searching data in 1 row, giving back data from column thats left to searched data
    By AmiGoCS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 05:16 PM
  7. Use of Excel to pull data from database daily, posting new data below older data
    By Ishness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 10:08 AM

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