Question on excel (in Off-topic)


AdminG Beee June 4 2008 7:34 AM EDT

I'm looking for a quick and easy solution to an excel puzzle I'm trying to solve.
I'm reasonably proficient on excel, but I can't get my head around it at the moment...

I have a group of 20 cells.
I'm entering random numbers into random cells within the group of 20. I'd like to be able to work out the average of the sum total entered into the 20 cells.

What's the formula that I must enter into my "totals" cell ?

Obviously I could use =Sum(A2:D6)/x but that doesn't work well as x could be 1 or 20 depending on the data entered.
I want excel to work out 'x' by itself and calculate the real average total for me.

Tezmac June 4 2008 7:40 AM EDT

You can always put the average function on another sheet in the same workbook and use =average(Sheet1!A1:ZZ65000) or whatever the max is in Excel, I cant recall.

Daz June 4 2008 7:42 AM EDT

=SUM(A1:A20)/COUNT(A1:A20)

I guess thats what you're asking for. not terribly sure :P

Daz June 4 2008 7:43 AM EDT

Oh, of course, the =average works, which is why i was getting confused with what you're asking...

AdminG Beee June 4 2008 7:45 AM EDT

The spreadsheet is quite complicated with numerous worksheets and I want to use the correct formula for working out my averages in many of them.

Anyway, I'm not quite sure I understand what you mean Tez :)

AdminG Beee June 4 2008 7:47 AM EDT

D'oh, posted before I saw your reply Daz.

That does the job just perfectly - thanks !
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=002Rzj">Question on excel</a>