Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2012, 11:46 AM
mpokorny mpokorny is offline excel vlookup with multiple criteria Mac OS X excel vlookup with multiple criteria Office for Mac 2011
Novice
excel vlookup with multiple criteria
 
Join Date: May 2012
Posts: 2
mpokorny is on a distinguished road
Default excel vlookup with multiple criteria

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.
Attached Files
File Type: xlsx test master.xlsx (9.3 KB, 30 views)
File Type: xlsx test medical.xlsx (8.9 KB, 21 views)
Reply With Quote
  #2  
Old 05-05-2012, 05:30 AM
Haider Haider is offline excel vlookup with multiple criteria Windows 7 64bit excel vlookup with multiple criteria Office 2010 64bit
Novice
 
Join Date: May 2012
Posts: 1
Haider is on a distinguished road
Default

simply apply the vlookup formula in the first sheet.
Reply With Quote
  #3  
Old 05-05-2012, 11:51 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline excel vlookup with multiple criteria Windows 7 64bit excel vlookup with multiple criteria Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

I hope this is also OK for MAC, but try the following

in the "test master" sheet in F4 enter
Code:
= A4&B4
and pull down as needed

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)
in D4
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)
and pull down as needed
__________________
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
Reply With Quote
  #4  
Old 05-05-2012, 12:09 PM
mpokorny mpokorny is offline excel vlookup with multiple criteria Mac OS X excel vlookup with multiple criteria Office for Mac 2011
Novice
excel vlookup with multiple criteria
 
Join Date: May 2012
Posts: 2
mpokorny is on a distinguished road
Default excel vlookup with multiple criteria

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.
Reply With Quote
  #5  
Old 05-06-2012, 04:06 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline excel vlookup with multiple criteria Windows 7 64bit excel vlookup with multiple criteria Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
Reply With Quote
Reply

Tags
multi-criteria, vlookup



Similar Threads
Thread Thread Starter Forum Replies Last Post
excel vlookup with multiple criteria Vlookup or Index/Match - Multiple Criteria 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
excel vlookup with multiple criteria Multiple VLOOKUP's checking multiple Cells OTPM Excel 11 05-23-2011 11:18 AM
excel vlookup with multiple criteria Excel Vlookup jtej009 Excel 1 02-10-2011 03:25 AM
excel vlookup with multiple criteria Multiple criteria in SUMIF? pumpkin head Excel 1 02-17-2006 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft