LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default problem with lookup function

Max,

Your formula did the trick. Thanks so much and sorry it has taken me awhile
to respond. Was just able to get back on this project.
--
LAMP


"Max" wrote:

You could probably try something like this, a conditional average

Assume you have cell F1 is where you input the counselor's ID: DF
A1:A10 = counselors, eg DF, FG, etc
E1:E10 = wait times (times are just numbers)

Array-entered into G1,
ie press CTRL+SHIFT+ENTER to confirm the formula:
=AVERAGE(IF((A1:A10=F1)*(E1:E10<""),E1:E10))
Success? hit the YES below
--
Max
Singapore
---
"lampatmyfeet" wrote:
I have a problem with summing a lookup function

My data looks like this:

A1: text B1: time C1: time D1: time E1: time

A1 = could be any of 8 different sets of two letter initials of counselor
B1 = time arrived
C1 = time seen
D1 = time departed
E1 = average wait time

I have a table from A1:D40. I want to query this table, by counselor , and
return the average wait time for each counselor. Exampe: "DF" shows up three
times and has the wait times of 3 min, 6 min and 4 min then the return answer
would be 4 min 20 sec. (3+6+4)/3 = 4'20"

Any help? Maybe the lookup function is not my answer. Thanks in advance.

--
LAMP

 
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
problem with LOOKUP function Boston_north Excel Discussion (Misc queries) 2 March 23rd 09 02:28 PM
LOOKUP function Problem justme Excel Worksheet Functions 2 December 13th 06 04:40 AM
LOOKUP function problem? DORI Excel Worksheet Functions 0 November 27th 05 11:45 PM
Lookup function problem (kg) greencecil Excel Worksheet Functions 3 July 1st 05 04:54 PM
problem lookup function bill gras Excel Worksheet Functions 2 June 22nd 05 03:57 PM


All times are GMT +1. The time now is 03:31 PM.

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"