![]() |
#1
|
|||
|
|||
![]()
i have two spreadsheets
master - contains all the data for all the benefit plans. from this spreadsheet i need to lookup the employee first by the ss# column and then i need to find a match to a specific benefit_plan (i.e. medical, dental) the second spreadsheet also has the ss# for the employee, but i need to lookup in the master to see whether that specific employee actually has medical or not. can you use two columns to define the employee and then return the needed item as true or false? i am enclosing two sample files. |
#2
|
|||
|
|||
![]()
simply apply the vlookup formula in the first sheet.
|
#3
|
||||
|
||||
![]()
I hope this is also OK for MAC, but try the following
in the "test master" sheet in F4 enter Code:
= A4&B4 in the "test medical" one in C4 enter Code:
=VLOOKUP(A4&B4,CHOOSE({1,2},'[test master.xlsx]Sheet1'!$F$4:$F$30,'[test master.xlsx]Sheet1'!$E$4:$E$30),2,0) Code:
=VLOOKUP(A4&B4,CHOOSE({1,2},'[test master.xlsx]Sheet1'!$F$4:$F$30,'[test master.xlsx]Sheet1'!$C$4:$C$30),2,0)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#4
|
|||
|
|||
![]()
excellent! i'll try it monday and let you know if it works. where do i find formulas like this one? i have an excel 2007 formulas book but i didn't find anything like this in there.
|
#5
|
||||
|
||||
![]()
I doubt you will find it in any book whatsoever. I got it by moderating excel forums and creating a library of answers by forum gurus -
This problem can also be solved with an INDEX/MATCH combination
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
![]() |
Tags |
multi-criteria, vlookup |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ruci1225 | Excel | 1 | 01-15-2012 07:31 AM |
Sum Product Multiple Text and date Criteria | ramki | Excel | 1 | 01-09-2012 01:16 AM |
![]() |
OTPM | Excel | 11 | 05-23-2011 11:18 AM |
![]() |
jtej009 | Excel | 1 | 02-10-2011 03:25 AM |
![]() |
pumpkin head | Excel | 1 | 02-17-2006 09:06 AM |