View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_] Don Guillett[_2_] is offline
external usenet poster
 
Posts: 1,522
Default How do I average every 3rd cell in a column of a spreadsheet?

One way looking at the store number. ARRAY formula that must be entered
using ctrl+shift+enter

=AVERAGE(IF((RIGHT(B2:B7,1)="1"),A2:A7))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Sean" wrote in message
...
I have a spreadsheet with headers of the days of the week. Below that is
the
date, then location 1's sales then below that is location 2's sales. It
is a
running year long listing and I want to calculate the Average Sales for
each
day of the week.

For Example:

Monday Location
12/20/2010
$3,523.12 store #1
$4,632.12 store #2
12/27/2010
$3,322.12 store #1
$4,545.12 store #2

I just picked 2 dates that are a week apart. In the example above, I want
to average $3523.12 and $3322.12 and so forth (this would be location1)
and
then separately I want to average $4632.12 and $4545.12 and so forth (this
would be location2). Columns for Tue through Sat are between the columns
in
the example above.

The date being in there throws off using sumif and countif (with location
being the criteria for the count). I hope I'm making sense.