+ Reply to Thread
Results 1 to 4 of 4

How to get data based on multiple criteria without duplicating the data

  1. #1
    Registered User
    Join Date
    08-06-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    7

    How to get data based on multiple criteria without duplicating the data

    Hi all,

    I'm stuck to get the products data to extract out from my DailyLogs (served as my database)

    In my Product column, I want a code that able to extract the product data from DailyLogs sheet based on date and outlet.

    While inside my DailyLogs sheet, each product have 3 rows of data based on 3 days record. How do I able to extra the data without duplicating 3 times to my Product column?

    Example:
    Data from DailyLog Sheet

    Date Outlet Product Used
    1/1/16 ABC Shop Potato 4
    1/1/16 ABC Shop Cucumber 3
    2/1/16 ABC Shop Potato 6
    2/1/16 ABC Shop Cucumber 4
    3/1/16 ABC Shop Potato 10
    3/1/16 ABC Shop Cucumber 7

    I would like to extract above data into my report on Sheet 2

    No. Product 1/1/16 2/1/16 3/1/16
    1 Potato 4 6 10
    2 Cucumber 3 4 7

    You may refer attached file for further info.

    Any help is much appreciated!
    Thank you.
    Attached Files Attached Files
    Last edited by ahjeff; 08-25-2016 at 10:48 AM. Reason: added more details and examples

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to get data based on multiple criteria without duplicating the data

    with a pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-06-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    7

    Re: How to get data based on multiple criteria without duplicating the data

    Quote Originally Posted by oeldere View Post
    with a pivot table.
    Hi oeldere,

    Thanks for your effort on Pivot Table, however I need the report format to be same as the file uploaded, therefore is there any way to achieve extract out the data from DailyLog to Sheet 2 Product column?

    Many thanks in advance!

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to get data based on multiple criteria without duplicating the data

    1) Can you explain why it has be layed out that way?

    2) The results in the pivot table are the expeced results?

+ 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. Data-based Duplicating Formula needed
    By iznogold in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-20-2014, 09:52 PM
  2. Replies: 2
    Last Post: 12-11-2014, 12:50 PM
  3. Macro to filter data and copy the data's from multiple columns based on the criteria
    By millatshawn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 08:14 AM
  4. Enter data into specific row in data table based on multiple criteria
    By bberger1985 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2013, 11:04 AM
  5. Replies: 1
    Last Post: 11-15-2013, 11:19 AM
  6. [SOLVED] Filter Data based upon multiple criteria and counting the data
    By Acidking in forum Excel General
    Replies: 5
    Last Post: 06-13-2013, 09:42 PM
  7. Looping through multiple worksheets without duplicating data
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2010, 06:37 PM

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