• 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.

Copy Data from Master Sheet based on Name & Date

dsubash

New Member
Dear All,

I have a database sheet (Daily Transaction) which contains details like name, date, location, sales, collections, dues etc for a specific month.
I need to copy all rows from the master sheet to another sheet (Report) with Name and Date as Criteria.

Attached is the sample file for reference. When the name and date is changed, i need all rows to be copied containing specific name and date without leaving any blank rows.

Tried working with FILTER / FILTERXML function but did not materialise. Is there any other option to pull such relevant data based on multiple criterias.

Thanks in advance.
Subash D
 

Attachments

  • Dummy.xlsx
    25.6 KB · Views: 1
In A18 and ENTER:

=CHOOSECOLS(FILTER('Daily Transaction'!A2:G301,('Daily Transaction'!C2:C301=C4)*('Daily Transaction'!G2:G301=F4)),1,7,2,3,4,5,6)

Will work in Excel 2024 or 365.
 
In A18 and ENTER:

=CHOOSECOLS(FILTER('Daily Transaction'!A2:G301,('Daily Transaction'!C2:C301=C4)*('Daily Transaction'!G2:G301=F4)),1,7,2,3,4,5,6)

Will work in Excel 2024 or 365.
Thanks, but i have an older version of Excel - Professional Plus 2019.
Any suggestions for 2019 Version.
 
The attached uses PowerQuery (Get & Transform) to copy the table with the columns in the right order. I have then added two slicers to allow you to filter the data.
 

Attachments

  • dsubash Dummy(11) CHANDOO PQ 2019 AliGW.xlsx
    47.8 KB · Views: 1
Back
Top