Multiple criteria row look-up from database on separate sheet

Ewan11

New Member
Joined
May 14, 2014
Messages
2
I'm looking to see if i can "pull" data from a database in a separate sheet onto another sheet using specific Criteria e.g.

Search Criteria
TeacherVenueDAYTIMEAttending
EwanSwimming Pool 1Thursday6:00 PMyes

<tbody>
</tbody>


Matching results displayed below: I.e. copy rows from data base that match the above criteria.

TeacherVenueDAYTIMEAttendingPHONE NUMBERsecondary contactEmergency contactEMAIL ADDRESSDOBAgeDays until BirthdayFIRST NAMESURNAME

<tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Welcome to the Board!

One way is to use a helper column in each data set concatenating all of your fields, then VLOOKUP on that.


Excel 2012
ABCDEFGHIJ
1ConcatTeacherVenueDAYTIMEAttendingPHONE NUMBERsecondary contactEmergency contactEMAIL ADDRESS
2EwanSwimming Pool 1Thursday0.75yesEwanSwimming Pool 1Thursday6:00 PMyes21255512122125551234MomEwan@email.com
3
4ConcatTeacherVenueDAYTIMEAttendingPHONE NUMBERsecondary contactEmergency contactEMAIL ADDRESS
5EwanSwimming Pool 1Thursday0.75yesEwanSwimming Pool 1Thursday6:00 PMyes21255512122125551234MomEwan@email.com
Sheet1
Cell Formulas
RangeFormula
A2=B2&C2&D2&E2&F2
A5=B5&C5&D5&E5&F5
G2=VLOOKUP($A2,$A$5:$J$5,COLUMN(),FALSE)
H2=VLOOKUP($A2,$A$5:$J$5,COLUMN(),FALSE)
I2=VLOOKUP($A2,$A$5:$J$5,COLUMN(),FALSE)
J2=VLOOKUP($A2,$A$5:$J$5,COLUMN(),FALSE)


HTH,
 
Upvote 0
Hi guy you are awesome, I used a mixture of the concat cell and advanced filter in the end. Amazing thanks guys. appreciated
 
Upvote 0

Forum statistics

Threads
1,215,949
Messages
6,127,877
Members
449,410
Latest member
adunn_23

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