Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Multiple If and Vlookup function


Hi,

I am trying to organise a formula that will allow me to do a vlookup in
a cell while needing to have multiple selection criteria to start with
(hence the using an IF statement aswell).

For example

In the original spreadsheet (O) I have to following data:

Employee Number, Name, Weekending Date, Worked Hours, Worked $, O/T
Hours, O/T $ etc.

In the data spreadsheet (D) I have for multiple employees and multiple
weeks:

Employee number, Name, Pay Item Description, Pay Qantity, Pay Total
etc.

What I want to be able to do is an IF statement and then a VLOOKUP
statement which will mean that I can have the following:

If Employee number (O) = Employee Number (D), and Weekending Date (O) =
Weekending Date (D), and Pay Item Description (O) = Pay Item Description
(D), then vlookup(Employee Number(C5),"Employee
Details"!C1:K25,8,False)


Cheers,

Matt


--
broadspectrum
------------------------------------------------------------------------
broadspectrum's Profile: http://www.excelforum.com/member.php...o&userid=37378
View this thread: http://www.excelforum.com/showthread...hreadid=570651

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav Dav is offline
external usenet poster
 
Posts: 1
Default Multiple If and Vlookup function


Obviously you will have to put the proper cell references in but

If(and( Employee number (O) = Employee Number (D), Weekending Date (O)
= Weekending Date (D), Pay Item Description (O) = Pay Item Description
(D)), vlookup(Employee Number(C5),"Employee Details"!C1:K25,8,False),"
")

Unless you are performing a match down the whole column, Perhaps you
need to give more details of what you exactly want.

Regards Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=570651

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Multiple If and Vlookup function


Thanks Dav,

As you suggested I do actually need to perform the match down the whole
column.

How would I need to change this formula to allow me to match the
information down a whole column.

As when I try to just do this (ie Employee number (O) = Employee Number
(D1:D156)) change I get a nil response.


--
broadspectrum


------------------------------------------------------------------------
broadspectrum's Profile: http://www.excelforum.com/member.php...o&userid=37378
View this thread: http://www.excelforum.com/showthread...hreadid=570651

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookUp function to return multiple rows sebastian stephenson Excel Worksheet Functions 7 April 20th 06 06:25 PM
How do I get multiple matches when using the Vlookup function? Lisa F Excel Worksheet Functions 1 February 27th 06 11:17 PM
Can VLookup function find and list multiple records? Rich - SG Excel Worksheet Functions 11 July 5th 05 07:44 PM
VLOOKUP Function using multiple worksheets Fiona Excel Discussion (Misc queries) 1 March 10th 05 08:55 AM
VLOOKUP Function using multiple worksheets Fiona Excel Discussion (Misc queries) 0 March 10th 05 05:24 AM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"