Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here's the deal. I have 10 meeting dates (some may be blank) and 10 columns
beside each that are either blank (meaning completed) or have the word 'Missed', as such: A B C D E 1/2/09 (blank) 1/4/09 Missed 1/5/09 (blank) etc etc Too many to use nested IFs. I have been asked to calculate the average days between non-missed meetings. Some of the meeting date cells will be blank. I would appreciate any advice. -- cm |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
do we consider end date as 10th column date or Col A & Col C dates.
On Oct 20, 11:04*pm, cm wrote: Here's the deal. I have 10 meeting dates (some may be blank) and 10 columns beside each that are either blank (meaning completed) or have the word 'Missed', as such: A * * * * B * * * *C * * * * D * * * * *E * * * * * * 1/2/09 *(blank) *1/4/09 Missed * 1/5/09 (blank) * etc etc Too many to use nested IFs. I have been asked to calculate the average days between non-missed meetings. Some of the meeting date cells will be blank. I would appreciate any advice. -- cm |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sounds like a task for a Pivot Table:
http://peltiertech.com/Excel/Pivots/pivottables.htm http://www.babeled.com/2008/07/18/ex...-manipulation/ HTH, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "cm" wrote: Here's the deal. I have 10 meeting dates (some may be blank) and 10 columns beside each that are either blank (meaning completed) or have the word 'Missed', as such: A B C D E 1/2/09 (blank) 1/4/09 Missed 1/5/09 (blank) etc etc Too many to use nested IFs. I have been asked to calculate the average days between non-missed meetings. Some of the meeting date cells will be blank. I would appreciate any advice. -- cm |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
end date would be the last date that is filled in. so if the person had 10
meetings scheduled, all 10 would have a value. if the person had only 4 meetings scheduled, there would only be 4 values. -- cm "muddan madhu" wrote: do we consider end date as 10th column date or Col A & Col C dates. On Oct 20, 11:04 pm, cm wrote: Here's the deal. I have 10 meeting dates (some may be blank) and 10 columns beside each that are either blank (meaning completed) or have the word 'Missed', as such: A B C D E 1/2/09 (blank) 1/4/09 Missed 1/5/09 (blank) etc etc Too many to use nested IFs. I have been asked to calculate the average days between non-missed meetings. Some of the meeting date cells will be blank. I would appreciate any advice. -- cm . |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
use this User Defined Function
right click on sheet name, click view code, insert module paste the below code, Go to excel sheet put formula as =Avg(A1:K1) Let me know errors, if any Function Avg(Inputvalue As Range) Dim cell As Range For Each cell In Inputvalue If cell.Value = "missed" Then result = cell.Offset(0, -1).Value + result counter = counter + 1 End If Next cell With Application.WorksheetFunction X = .Count(Inputvalue) y = .Sum(Inputvalue) Z = y - output z1 = X - counter End With Avg = Z / z1 End Function On Oct 21, 6:51*pm, cm wrote: end date would be the last date that is filled in. so if the person had 10 meetings scheduled, all 10 would have a value. if the person had only 4 meetings scheduled, there would only be 4 values. -- cm "muddan madhu" wrote: do we consider end date as 10th column date or Col A & Col C dates. On Oct 20, 11:04 pm, cm wrote: Here's the deal. I have 10 meeting dates (some may be blank) and 10 columns beside each that are either blank (meaning completed) or have the word 'Missed', as such: A * * * * B * * * *C * * * * D * * * * *E * * * * * * 1/2/09 *(blank) *1/4/09 Missed * 1/5/09 (blank) * etc etc Too many to use nested IFs. I have been asked to calculate the average days between non-missed meetings. Some of the meeting date cells will be blank. I would appreciate any advice. -- cm . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula for 20 minute meetings | Excel Discussion (Misc queries) | |||
Data in columns. Which formula will identify last completed colu. | Excel Worksheet Functions | |||
Past Due/Completed on time date formula | Excel Discussion (Misc queries) | |||
How do I export dates and locations of meetings to outlook calend | Excel Discussion (Misc queries) | |||
Report Date - Date Recv = Days Late, but how to rid completed date | Excel Worksheet Functions |