#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default TIMESHEET LOOKUP

I have a timesheet that I've been working on. Here's my problem. I use this
code to look up the amount of time recorded for each job worked on a
particular day.
=IF(ISNA(VLOOKUP(Year!$O2,$A$5:$M$11,13,FALSE)),,( VLOOKUP(Year!O2,$A$5:$M$11,13,FALSE)))
Year!O contains a list of jobs for each week. This works great however
sometimes an employee will work on the same job at different times of the
day. This code only returns the first time found. I need it to add all the
hours for the same job worked ($A$5:$M$11,13).
Is there an adjustment I can make to accomplish this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default TIMESHEET LOOKUP

Maybe using =sumif() would help.

Debra Dalgleish has lots of notes:
http://contextures.com/xlFunctions01.html#SumIf

smonsmo wrote:

I have a timesheet that I've been working on. Here's my problem. I use this
code to look up the amount of time recorded for each job worked on a
particular day.
=IF(ISNA(VLOOKUP(Year!$O2,$A$5:$M$11,13,FALSE)),,( VLOOKUP(Year!O2,$A$5:$M$11,13,FALSE)))
Year!O contains a list of jobs for each week. This works great however
sometimes an employee will work on the same job at different times of the
day. This code only returns the first time found. I need it to add all the
hours for the same job worked ($A$5:$M$11,13).
Is there an adjustment I can make to accomplish this?


--

Dave Peterson
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
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 08:49 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"