Copy Based on Multiple Criteria to a Different Sheet

Haree

Board Regular
Joined
Sep 22, 2019
Messages
146
Office Version
  1. 2016
Hey ,

I am attaching the sample Data

Daily Sheet.xlsx
ABCDEFGHIJKLMNO
1DateRateCategoryItem NameParty NameParticularsWeightAmountDateCategoryParty NameParticularsAmountAdd 1Add 2
201-04-2020ABCD 1111S SalesSKU0001New Item168.251680.2501-04-2020ExpenseTea Expenses50
301-04-2020ABCDEF 11.11OthersPurchase Return880
401-04-2020ABCD 1111Debtors ReceivedParty 1Bal From Last Month5200
5
6NOTE : ALL THE COLUMNS CAN AND WILL HAVE BLANKS
7
8
9
10
April
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A5,A9:A20Expression=AND(NOT(ISBLANK(A2)),NOT(ISNUMBER(A2)))textNO


I have a separate sheet for every month in the above mentioned format. Apart from this I have a separate sheet named Transfer In Which Cell B2 carries information of From Date and Cell B3 carries Information Regarding To Date. With These two Dates being the main Criteria I want the following Columns from the month Sheets
1. Date
2. Item Name
3.Weight

These three columns should be copied to a different workbook if They Satisfy the DATE CRITERIA from Sheet named TRANSFER and COLUMN C { CATEGORY } is "S SALES"

Assume the destination Workbook as Stock Trial. It will be in the same destination as the source File.
Details of Destination Workbook
1. Worksheet Name : Data Sheet
2.Date should be fed in Column B
3.Item name in Column A
4.Weight in Column D

Thanks a lot for your help. Hope i was clear.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,214,940
Messages
6,122,352
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top