Pull in names and comments from one sheet to another based on date range and criteria

LailaT

New Member
Joined
Apr 1, 2019
Messages
9
I want to pull in the names and comments from the Detailed sheet onto the Snapshot based on a date range and a critera.
The criteria is that Active or Appointment are not populated with X.

Detailed:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Source[/TD]
[TD]Name[/TD]
[TD]Phone[/TD]
[TD]Email[/TD]
[TD]Comments[/TD]
[TD]Max Budget[/TD]
[TD]Active[/TD]
[TD]Appointment[/TD]
[/TR]
[TR]
[TD]2/4/19[/TD]
[TD]REA[/TD]
[TD]John Smith[/TD]
[TD][/TD]
[TD][/TD]
[TD]comment A[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/4/19[/TD]
[TD]REA[/TD]
[TD]Alan Jones[/TD]
[TD][/TD]
[TD][/TD]
[TD]comment B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/4/19[/TD]
[TD]Domain[/TD]
[TD]Mike Roberts[/TD]
[TD][/TD]
[TD][/TD]
[TD]comment C[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/4/19[/TD]
[TD]Website[/TD]
[TD]Alice May[/TD]
[TD][/TD]
[TD][/TD]
[TD]comment D[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/4/19[/TD]
[TD]Facebook[/TD]
[TD]Matt Otway[/TD]
[TD][/TD]
[TD][/TD]
[TD]comment E[/TD]
[TD][/TD]
[TD]X[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]

So the following would be pulled into the Snapshot sheet based on the date range of April 2 - April 6:
Alan Jones Comment B
Alice May Comment D

Each week, Snapshot names and comments will be over-written based on the new week.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hello,

Have you tried to use from the menu Data > Filter ...?

Hope this will help
 
Upvote 0
Hello

But how can that move it onto the Snapshot worksheet based on the criteria? That will just filter on the same spreadsheet, no?
 
Upvote 0
If you need your results on another sheet ...then use Advanced Filter ...

HTH
 
Upvote 0
It is NOT a formula ... it is a CONDITION ...

and you can very easily add this condition in the filter ...

HTH
 
Upvote 0
Hi James006

I keep getting the following error message:

The extract range has a missing or invalid field name.

I have chosen the entire list range from the Detailed worksheet, set my criteria in the Detailed worksheet, and am trying to put the data in a specific location in the Snapshot worksheet and it keeps coming back with the same error message.

Is there not a way to do this through VLOOKUP with conditions?
 
Upvote 0
Hi,

There are many many possible solutions for your type of question ...

The Advanced Filter is quick, powerful and simple ... as long as you carefully follow the rules ... as explained in the link provided ... :wink:
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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