LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,953
Default complex averaging

If we assume B2 is blank (if not, make it so)

=AVERAGE(IF((B2:B36<"")*(B3:B37<""),B3:B37))
Entered with Ctrl+Shift+Enter

--
Regards,
Tom Ogilvy


"belvy123" wrote:

Hi All

I have a sheet with production numbers for work
there are 3 columns of 35 rows.
the fields are B3 - B37 C3-C37 D3-D37
in each of these columns the first entry may or may not be in the first row
and there may be a gap from one entry in a column to the next.

What I want to be able to do is have a formula that will do the following.
find the second non blank cell in a column. And then also if there is gap in
between one cell and the next to look at the second non blank cell after that
and continuw to do this through row #37 of each column and then find the
average of sum of those numbers.



Example

A
1 15
2 27
3
4 35
6 23
7 11
8
9 16
10 18

etc etc etc till row 37
in this example the formula would skip
A1 A4 and A9 and give the average of the rest which I calculate to be
27+23+11+18=79
79/4= 19.75

I hope I was able to explain this well enough and also hope that someone can
help me with this

Thanks for all the help
Dan N
--
cruchnin numbers

 
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
Averaging elusiverunner Excel Discussion (Misc queries) 4 December 3rd 06 07:15 PM
Complex Index Match Help (or at least complex to me) Jennifer Reitman Excel Discussion (Misc queries) 3 August 10th 06 08:51 PM
Help with averaging... lherndo Excel Discussion (Misc queries) 2 April 5th 06 02:54 PM
Complex Averaging John Excel Worksheet Functions 3 February 16th 05 07:39 PM
More Averaging Reggie Excel Worksheet Functions 2 December 30th 04 11:46 AM


All times are GMT +1. The time now is 02:57 AM.

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"