formula/functions for average and if functions

G

Guest

Hi,

I have n 1 column values (seconds) and I want to calculate average for this
where comes only values that are bigger than 60 seconds - how??? Can some
body help me with this?

Kindly regards, Petri
 
D

David Biddulph

=AVERAGE(IF(A1:A100>60,A1:A100,"")) entered as an array formula (Control
Shift Enter), if the numbers are numbers of seconds.

If they are in Excel time format, then
=AVERAGE(IF(A1:A100>TIME(0,0,60),A1:A100,"")) (again as an array formula).
 
S

Sandy Mann

Are the seconds XLtimes or numbers? if numbers use:

=AVERAGE(IF(G1:G10>60,G1:G10))

Array entered with Ctrl + Shift + Enter not just Enter. If doen correctly
you will get { Formual } if not you get a #VALUE! error

If the times are real XL times then use:

=AVERAGE(IF(H1:H10>=1/60/24,H1:H10))

also array entered.



Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top