put the value of a cell in one worksheet in another worksheet based on a criteria

tbrynard01

Board Regular
Joined
Sep 20, 2017
Messages
129
Office Version
  1. 365
Platform
  1. Windows
This is my source data on worksheet 1:

Column 1 Column 2
NameDate
Peter
JoeA
Mary
NancyA

In worksheet 2 I would like the names listed of all who have an A in the date column, I've tried index and match but am not getting the correct results. I'm not able to move the columns around and I don't want to pull in anything that is blank in column 2

Any advice?

Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How about

Book1
AB
1NameDate
2Peter
3JoeA
4Mary
5NancyA
Sheet1


Book1
A
1Names
2Joe
3Nancy
4 
5 
6 
Sheet2
Cell Formulas
RangeFormula
A2:A6A2=IFERROR(INDEX(Sheet1!$A$1:$A$99,AGGREGATE(15,6,(ROW(Sheet1!$A$1:$A$99)-ROW(Sheet1!$A$1)+1)/(Sheet1!$B$1:$B$99="A"),ROWS($A$2:$A2))),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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