What's wrong with this Formula?.

israellawndale

New Member
Joined
Nov 15, 2009
Messages
22
Hello,

I'll make my problem short so any can help me out...


I have data on a master sheet with all employees information. I have a second worksheet called "groups". Under the master sheet people are assigned group numbers.. I would like for my "groups" worksheet to copy only the emplyoees that are under group "4" from the master sheet. .. But I want the names of the employees from that group to copy ..I created a name range called "personaldata" . the names of the employees are on columns "1" and "2"

I did something like this. but it's not working.


=VLOOKUP('Master Sheet'!D:D="4",PersonalData,1&2,0)
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
=VLOOKUP('Master Sheet'!D:D="4",PersonalData,1,0)&VLOOKUP('Master Sheet'!D:D="4",PersonalData,2,0)
 
Upvote 0
Hello,

I'll make my problem short so any can help me out...


I have data on a master sheet with all employees information. I have a second worksheet called "groups". Under the master sheet people are assigned group numbers.. I would like for my "groups" worksheet to copy only the emplyoees that are under group "4" from the master sheet. .. But I want the names of the employees from that group to copy ..I created a name range called "personaldata" . the names of the employees are on columns "1" and "2"

I did something like this. but it's not working.


=VLOOKUP('Master Sheet'!D:D="4",PersonalData,1&2,0)
Sounds like you want to do something like this:

http://www.mrexcel.com/forum/showpost.php?p=2696961&postcount=3
 
Upvote 0
Highly recomend instead of using Vlookup or Hlookup instead do the Index and Match combination.

While nothing "wrong" with vlookup, Index and Match is my prefered way to do lookups due to how easy it is to break vlookup (like inserting a col in the middle of the vlookup reference).

Can get more info at:
http://www.mrexcel.com/articles/excel-vlookup-index-match.php
thanks so much for your suggestion. I will surely look into this..THANK YOU, THANK YOU.
 
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,003
Members
449,414
Latest member
sameri

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