VLookup

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
I am trying to use the VLookup function to get employees’ number of working hours per pay period. Since I want to get individual’s time, I have to look it up by name. Some of the Employees might not work on a specific project on certain pay periods. Thus it gives me N/A for those employees. The problem is I have a formula which calculates the total including Overhead and G&A. Currently I copy and paste the formula for individuals who only working on the specific project at the specific time. <o:p></o:p>
I just want to have the formula for all employees and not to get N/A to be able to use the other formula. Would you please let me know if there is a way to amend this formula? <o:p> </o:p>
<o:p> </o:p>
=VLOOKUP(E14,'[XXX.xls]XXX XXX'!$D$18:$G$24,4,FALSE)
<o:p> </o:p>
Thanks for your time and help.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the board..

The basic syntax is

=IF(ISNA(VLOOKUP(...)),"",VLOOKUP(...))

Or if you have XL2007 or higher..

=IFERROR(VLOOKUP(...),"")

Hope that helps.
 
Upvote 0
Hello,

I am new to the board. I am having trouble with my vlookup giving me the incorrect data. I wanted it to return a date and I realized that it will return a number and I tried to then format it to a date, but it gives me a random date. Any thoughts?

I appreciate your time and efforts.
 
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,405
Members
452,911
Latest member
a_barila

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