Vlookup Using Two Criteria

santeria

Well-known Member
Joined
Oct 7, 2003
Messages
1,844
I am not sure if Vlookup is the ideal way of doing this, but...

I am trying to set up a Vlookup to match on the basis of two criteria... A group ( 1,2,3,4,5), and a Week ( 1,2,3,4).
The Group Number and the week number will obviously be in different columns, but even if I have to change the Week designation to a letter, thats fine, so long as I can get a lookup for group and date.

I can do a vlookup for a staff member based on number, but the row will pull extra data as well ,related to the person, but the key search is by Group number and by Date week.

Any Suggestions or references appreciated, I can't seem to find anything applicable in the archives.


Ta

(y)
 
The Method 1 Fails at the Data Validation Point.

It's also not clear if this is for the Data fields, or the Place where the data is to be expressed, especially since the Method Looks incompatible to the Data areas.

MMm, I sure hope I have made a big mistake... this looks so promising.

Ta

(y)
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Okay
Fixed that Data Validation thing.

After the B2 Enter details in Method 1, it fails to Make Sense.
Mainly because Column B has the Group numbers, and Column C has the Week Numbers.

How do I modify this ?

Ta

(y)
 
Upvote 0
The Back-end where the Data is, seems moderately Confusing, anyway, I should get there.

However, the Front End draws on the Data Back end, and that looks like this pic below, and I do not know if the Formula in Column A works, and if it will also pull the data for the other columns
AL Feb. Call Quality.xls
ABCDEFGHIJKLMNOPQRSTUVWXY
33DATENAMESKILLELEMENTSMISSED
348
352/9/2004ANTOINETTEABROOMFIELDProductKnowledge
36#REF!
37#REF!
38#REF!
39#REF!
40#REF!
41#REF!
February 2-6



The First Line of personal details is based on a formula draw to another sheet, the lines below that with REF errors are the ones I am trying to adapt for the current info.

:unsure:

Ta

:unsure: :unsure:
 
Upvote 0
Mmm, this seems to be making less sense as I go along.

I know the answer is there, the thing is what is the structure ?

Data Source Shows Group, week, Team Leader, Date Monitored, Monitoring score, Feedback give, and a few more columns ( which will be concatenated).

The Data Sheet where the Data Goes to just has Date, Name, Skille Elements missed.

The hope is that in cells C34 and D34, I can have Group then week respectively., and then have the data display in subsequent field from line 34 or line 35 down.

Thus far I don't seem to be connecting the dots.

:unsure:
 
Upvote 0
Well, I have tried so many permutations, it really is a Puzzle.

The key thing is adapting the guide, but how ?

Mmmm, confused again.

Still trying, since the formulas appear to work, but nothing quite clicks to get the full answer


:unsure:
 
Upvote 0
It appears that the formula

=IF((B3<>"")*(C3<>""),B3&CHAR(127)C3,"")

Is wrong.

There is a missing Ampersand.

:eek:
 
Upvote 0
Upvote 0
santeria said:
Okay. Seems to be working now.

What I can't figure is why the right number of Monitors is working, but the Details for each person are not unique, thet are hiccuping, they are are repeating.

as Below.
AL Feb. Call Quality.xls
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
33GroupWeekDATENAMESKILLELEMENTSMISSED
3411772121
352/16/2004JOSEPHSWATTSCorrectInformation
36212202/04/04MichelleMills0
37 2202/04/04MichelleMills0
38 2202/04/04MichelleMills0
39 2202/04/04MichelleMills0
February 2-6



Any help much appreciated.

For the purpose of the exercise , ignore line 35... it's a leftover from an alternative idea.



Ta

(y)
 
Upvote 0
Here is a respost of the relevant part of the File I am having grief over.
Help much appreciated.
AL Feb. Call Quality.xls
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
33GroupWeekDATENAMESKILLELEMENTSMISSED
3411772121
352/16/2004JOSEPHSWATTSCorrectInformation
36212202/04/04MichelleMills0
37 2202/04/04MichelleMills0
38 2202/04/04MichelleMills0
39 2202/04/04MichelleMills0
February 2-6


The file is producing the right number if unique references , 11 in this example, but it is not displaying the unique lines from the data tab.




Ta

(y)
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
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