Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 89
Default Use ROUND to return an average date

Does anyone know how I would alter this using ROUND? Also, when cells in Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E are
blank.

Thanks in advance for any help.
Christy

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Use ROUND to return an average date

=ROUND(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)), 0)

--


Regards,


Peo Sjoblom

"Christy" wrote in message
...
Does anyone know how I would alter this using ROUND? Also, when cells in
Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E
are
blank.

Thanks in advance for any help.
Christy



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Use ROUND to return an average date

Oops! To fix the DIV errors

=IF(COUNT(E13:E15)=3,ROUND(AVERAGE(IF((H13:H36={"i n","ti"}),E13:E36)),0),"")

--


Regards,


Peo Sjoblom

"Peo Sjoblom" wrote in message
...
=ROUND(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)), 0)

--


Regards,


Peo Sjoblom

"Christy" wrote in message
...
Does anyone know how I would alter this using ROUND? Also, when cells in
Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E
are
blank.

Thanks in advance for any help.
Christy





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Use ROUND to return an average date

See your other post

--
Biff
Microsoft Excel MVP


"Christy" wrote in message
...
Does anyone know how I would alter this using ROUND? Also, when cells in
Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E
are
blank.

Thanks in advance for any help.
Christy



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Use ROUND to return an average date

There is apparently a third post as well

--


Regards,


Peo Sjoblom

"T. Valko" wrote in message
...
See your other post

--
Biff
Microsoft Excel MVP


"Christy" wrote in message
...
Does anyone know how I would alter this using ROUND? Also, when cells in
Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E
are
blank.

Thanks in advance for any help.
Christy







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Use ROUND to return an average date

I haven't made it that far!

--
Biff
Microsoft Excel MVP


"Peo Sjoblom" wrote in message
...
There is apparently a third post as well

--


Regards,


Peo Sjoblom

"T. Valko" wrote in message
...
See your other post

--
Biff
Microsoft Excel MVP


"Christy" wrote in message
...
Does anyone know how I would alter this using ROUND? Also, when cells
in Col
H and/or Col E are blank I would like it if the cell that contained this
formula didn't say #DID/O! but was just blank.
Thanks.

=INT(AVERAGE(IF((H13:H36={"in","ti"}),E13:E36)))

This is what I'm trying to do.....
Col E Col H
9/17/08 in
9/18/08 ti
9/19/08 ot
When H13:H36 = in OR H13:H36 = ti, Then return the average date from
E13:E36 when there is an average date but blank when cells in Col H & E
are
blank.

Thanks in advance for any help.
Christy







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Use ROUND to return an average date

G'day Christy

This works as I have tested

Assumed you have 3 seperate column heading IN, TI, & OT

A B C
1 IN TI OT
2


A2 =SUMPRODUCT(AVERAGE(--($H13:$H36="IN"),$E13:$36))
B2 =SUMPRODUCT(AVERAGE(--($H13:$H36="TI"),$E13:$36))
C2 =SUMPRODUCT(AVERAGE(--($H13:$H36="OT"),$E13:$36))

HTH
Mark.





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
Average and Round together Grd Excel Worksheet Functions 3 April 2nd 23 08:05 PM
Return an average date Christy Excel Worksheet Functions 6 September 19th 08 09:32 PM
How to return the average of the LAST 3 numbers in a row thorshammer Excel Worksheet Functions 3 August 11th 08 04:15 AM
How do I round a number after finding the average? Anna H Patrick Excel Worksheet Functions 3 October 7th 07 08:55 PM
average annual return rathersurf Excel Worksheet Functions 1 July 22nd 05 04:48 AM


All times are GMT +1. The time now is 06:09 AM.

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"