LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default If statements in Vlookup - can it be done?

Hi i have a tedious job of taking clock-in data from a call center and
reporting back how many calls were taken in their first and last hour. I'm
currently doing this manually but there has to be a faster more effeicient
way to do this.

The data is in this format:

Name - Date - Time1 - Time2 - Calls - Staffed Time
J. Doe - 3/12 - 7:00 AM - 7:30 AM - 0 - 2:30 (logged in 2:30 min early)
J. Doe - 3/12 - 7:30 AM - 8:00 AM - 1 - 30:00
J. Doe - 3/12 - 8:00 AM - 8:30 AM - 3 - 30:00
etc.

I have another set of data with their name and shift time that I can compare
to. There are 400+ agents and the fun part is that they sometimes come in
early or stay late for OT. I would also like to break that data out into a
different cell. Note that I would not need to report how many calls were
taken between their first and last hour. Additionally if J. Doe took a call
in the 2:30min he was logged in early, that is also part of the first hour,
and the agents have different start times that include extended (ie
graveyard) hours (the start of their data is on one sheet and the other data
is on the second sheet with the next day shifts)

My thought was to do something similar to Vlookup, with if-then statements.
For example:
If Name=J.Doe and Time1 = Start_Time, then (report back the sum of calls)

I tried with Vlookup and it won't take an if statement in the formula. My
excel guru's around here are stumped too. Is there another function that will
produce the same result? The reported data will need to be a list of: agent
name, date, number of calls taken first hour, last hour.

Thanks
--
James
 
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
Help with Vlookup and If Statements SunnyM Excel Discussion (Misc queries) 4 February 9th 06 12:45 AM
can I use =if with vlookup statements suzyque Excel Worksheet Functions 12 January 31st 06 04:48 PM
Vlookup and if statements memac19 New Users to Excel 2 October 21st 05 12:53 AM
VLOOKUP + IF STATEMENTS Excel Discussion (Misc queries) 6 April 1st 05 08:43 AM
VLOOKUP statements Jennifer Kramer Excel Discussion (Misc queries) 1 January 20th 05 05:51 AM


All times are GMT +1. The time now is 07:55 AM.

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

About Us

"It's about Microsoft Excel"