LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default AVERAGE / OFFSET FUNCTIONS, TODAY..

Hi! thanks. If average works, may be simple answer. Equations new for me..
maybe getting caught up in them.. will need to know if 2 days prior average
is less or more than todays output.. sounds like that will work ha.. thanks..

"RagDyeR" wrote:

What am I missing here?

If you're going to continually use *only* B5 & B6, alternating between them
each day,
What's wrong with:

=AVERAGE(B5:B6)

If you're entering data all the way down Column B, one cell per day,
The exact, same formula, copied down Column E, would *still* give you 2 day
averages,
consecutively.

Care to elaborate on your question?
--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"nastech" wrote in message
...
I have an equation can't quite figure out. Will take advice on how to setup
if I am on wrong track. Trying to get a running average over a 2 day period
(if can? using same 2 cells for each subsequent day for input, in same row).

For now example is in column format.
cell E4, enter number: 2
cell E5, enter: =AVERAGE(OFFSET(B5,-E$4+1,0,E$4,1))
and drag down a few rows.
in cell B5 "down", can put sequential numbers: 1, 2, 3, 4...

The above works as intended. What I need is to only use 2 cells in "B"
column, so equation only goes back 1 day? you get it..

Equation dragged down shows 3 results, before #DIV/0!
Example: need to put Input for, monday, in 1st cell (B5), tues in cell B6,
BUT wed uses cell B5. Is that possible?
Result needed is for a 2 day average: "Up" or "Down" to show in 1 cell.

Don't know where to start on equation. Do I need something like TODAY(), or
will a minus 1 somewhere work..
Other idea was a 5 day & WEEKDAY / WORKDAY, would be nice to figure out, but
may be more days than can use now.
Thanks for Help...



 
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
Using the OFFSET and COUNT functions to get a moving total Eduardo Excel Discussion (Misc queries) 2 November 1st 05 01:58 AM
Help with IF & Average Functions Cybertech Excel Worksheet Functions 5 August 23rd 05 06:52 AM
AVERAGE and STDEV functions with logic t-rung Excel Worksheet Functions 1 May 26th 05 07:11 PM
MIN, MAX, AVERAGE functions Allen7575 Excel Worksheet Functions 4 April 12th 05 04:02 PM
Offset and Indirect functions Thrava Excel Discussion (Misc queries) 4 December 23rd 04 05:07 PM


All times are GMT +1. The time now is 10:09 PM.

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"