• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Getting the data for a particular date in a separate worksheet.

VDS

Member
Dear All experts,

I am attaching herewith an excel file of two worksheets.

Sheet 1 is named Master Data and Sheet No.2 is named Daily Report.
Output is required in the “Daily Report” worksheet for a particular day the same date is entered manually by the user. The dates in the Master Data file is changed when that particular date is over.

The query has to be entered in the Cell E2 of “Daily Report”. The process should be looking through entire data from “Master Data” based on query and display as per format in “Daily Report”. and don’t want to disturb the Master Data worksheet by any other commands like sorting, conditional formatting, etc.

I am using excel in the Office Professional Plus 2010 version.

Any function like Vlookup, Index+match or any of the array commands most welcome.

Thank you all in advance.

Regards
VDS
 

Attachments

Create a parameter query in Power Query as shown in the attached.

Code:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"NDOH", type date}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([NDOH] =Table3))
in
    #"Filtered Rows"
 

Attachments

Thanks for reply.

Is it a macro ? Some error message is coming.

pls see the screenshot.

I am using excel in the Office Professional Plus 2010 version.

VDS
 

Attachments

VDS

Why do Your sample expected result has only two rows with 13/Dec/2025?
... missing row 6 from MASTER DATA or how?

Could You use Auto-Filter -option with MASTER DATA-sheet to get Your 'daily report'?
... without Daily Report-sheet
 

VDS

Why do Your sample expected result has only two rows with 13/Dec/2025?
... missing row 6 from MASTER DATA or how?- Answer. This is a sample report not generated through function or formula.

Could You use Auto-Filter -option with MASTER DATA-sheet to get Your 'daily report'?
... without Daily Report-sheet: Answer: There are few templates to be added in the Daily report sheet and later on to be generated as PDF.

Hence both worksheets are required. In fact there are so many live data to be entered in the excel file. Once any formula is ready, I am so happy to use it.

Regards
VDS
 
Even a sample report should be valid.

Few samples:

Scroll down until
>> Filtering without FILTER function
 
Is it a macro ? Some error message is coming.
Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

- Follow this link to learn how to install Power Query in Excel 2010 / 2013.

- Follow this link for an introduction to Power Query functionality.

- Follow this link for a video which demonstrates how to use Power Query code provided.
 
Back
Top