#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Stopping an Entry

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed

  #2   Report Post  
Posted to microsoft.public.excel.misc
CM CM is offline
external usenet poster
 
Posts: 136
Default Stopping an Entry

=if(AW4="","",AVERAGE(AU4,AW4))


"Ed O'Brien" wrote:

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Stopping an Entry

Hi,
not sure if I understood what you want, if you want the formula to show
blank if AW4 is empty use

=if(AW4="","",=AVERAGE(AU4,AW4)

if AW4 is empty you want the value from AU4, use

=if(AW4="",AU4,=AVERAGE(AU4,AW4)

"Ed O'Brien" wrote:

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Stopping an Entry

=IF(AW4="","",Average(AU4,AW4)


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 16:42:55 +0100, "Ed O'Brien"
wrote:

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Stopping an Entry

Thanks, Gord, and everyone else.

None appear to work completely... Probably something I've done.

I used your formula, Gord but all I get is the word "True" when AW4 has a
figure inserted.

Most peculiar...

Any ideas?

Ed



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(AW4="","",Average(AU4,AW4)


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 16:42:55 +0100, "Ed O'Brien"
wrote:

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell
AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1
to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Stopping an Entry

Gord's formula is missing a parenthesis, so you presumably didn't use his
formula? I don't know what modification you did to his formula to get the
result showing TRUE, but what I'm sure he intended to say was
=IF(AW4="","",AVERAGE(AU4,AW4))
--
David Biddulph

"Ed O'Brien" wrote in message
...
Thanks, Gord, and everyone else.

None appear to work completely... Probably something I've done.

I used your formula, Gord but all I get is the word "True" when AW4 has a
figure inserted.

Most peculiar...

Any ideas?

Ed



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(AW4="","",Average(AU4,AW4)


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 16:42:55 +0100, "Ed O'Brien"
wrote:

I have a cell (AW4) into which one types a figure representing a previous
period's accumulated average. (The sheet is cleared after each period and
restarted)

I have another cell (AU4) which provides a current average across
numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell
AW4.
When this happens the average shown in cell AU1 is only current and not a
perpetual reading, which can be misleading, so in this event, I want AU1
to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Stopping an Entry

Thanks David


Gord

On Thu, 1 Oct 2009 18:54:23 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

Gord's formula is missing a parenthesis, so you presumably didn't use his
formula? I don't know what modification you did to his formula to get the
result showing TRUE, but what I'm sure he intended to say was
=IF(AW4="","",AVERAGE(AU4,AW4))


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Stopping an Entry

Thank you, David.

I don't know either. I merely copied and pasted the formula.

This works fine. Thanks a million.

Ed



"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Gord's formula is missing a parenthesis, so you presumably didn't use his
formula? I don't know what modification you did to his formula to get the
result showing TRUE, but what I'm sure he intended to say was
=IF(AW4="","",AVERAGE(AU4,AW4))
--
David Biddulph

"Ed O'Brien" wrote in message
...
Thanks, Gord, and everyone else.

None appear to work completely... Probably something I've done.

I used your formula, Gord but all I get is the word "True" when AW4 has a
figure inserted.

Most peculiar...

Any ideas?

Ed



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(AW4="","",Average(AU4,AW4)


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 16:42:55 +0100, "Ed O'Brien"
wrote:

I have a cell (AW4) into which one types a figure representing a
previous
period's accumulated average. (The sheet is cleared after each period
and
restarted)

I have another cell (AU4) which provides a current average across
numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell
AW4.
When this happens the average shown in cell AU1 is only current and not
a
perpetual reading, which can be misleading, so in this event, I want
AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do I
adjust the formula to prevent a figure (from only AU4) appearing in cell
AU1?

TIA for any help.

Ed





  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Stopping an Entry

If you merely copied and pasted Gord's formula, Excel would have said that
it was invalid and refused to accept it until the formula was changed.
--
David Biddulph

"Ed O'Brien" wrote in message
...
Thank you, David.

I don't know either. I merely copied and pasted the formula.

This works fine. Thanks a million.

Ed



"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Gord's formula is missing a parenthesis, so you presumably didn't use his
formula? I don't know what modification you did to his formula to get
the result showing TRUE, but what I'm sure he intended to say was
=IF(AW4="","",AVERAGE(AU4,AW4))
--
David Biddulph

"Ed O'Brien" wrote in message
...
Thanks, Gord, and everyone else.

None appear to work completely... Probably something I've done.

I used your formula, Gord but all I get is the word "True" when AW4 has
a figure inserted.

Most peculiar...

Any ideas?

Ed



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(AW4="","",Average(AU4,AW4)


Gord Dibben MS Excel MVP

On Thu, 1 Oct 2009 16:42:55 +0100, "Ed O'Brien"
wrote:

I have a cell (AW4) into which one types a figure representing a
previous
period's accumulated average. (The sheet is cleared after each period
and
restarted)

I have another cell (AU4) which provides a current average across
numerous
rows. (There are about 40 rows)

A third cell (AU1) shows a perpetual average from these two cells.

This formula, in cell AU1, is simple enough - =AVERAGE(AU4,AW4).

However, there are times when the user will not enter a figure in cell
AW4.
When this happens the average shown in cell AU1 is only current and not
a
perpetual reading, which can be misleading, so in this event, I want
AU1 to
remain blank. In other words. if nothing is entered in cell AW4 how do
I
adjust the formula to prevent a figure (from only AU4) appearing in
cell
AU1?

TIA for any help.

Ed







  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Stopping an Entry

Actually when I paste the formula into a cell Excel suggests a correction by
adding the missing parens.


Gord

On Thu, 1 Oct 2009 20:40:32 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

If you merely copied and pasted Gord's formula, Excel would have said that
it was invalid and refused to accept it until the formula was changed.




  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Stopping an Entry

Yes, but with that correction I don't believe that the formula can return a
result of TRUE, can it, Gord?
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Actually when I paste the formula into a cell Excel suggests a correction
by
adding the missing parens.


Gord

On Thu, 1 Oct 2009 20:40:32 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

If you merely copied and pasted Gord's formula, Excel would have said that
it was invalid and refused to accept it until the formula was changed.




  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Stopping an Entry

No reason for a TRUE that I can see.


Gord



On Thu, 1 Oct 2009 21:39:59 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

Yes, but with that correction I don't believe that the formula can return a
result of TRUE, can it, Gord?


  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Stopping an Entry

Well, Gentlemen, I have tried to recreate the situation but can't. I
definitely got "True" after copying and pasting but I guess when deleting
something must have got left behind.

Sorry for all th fuss.

Ed


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
No reason for a TRUE that I can see.


Gord



On Thu, 1 Oct 2009 21:39:59 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

Yes, but with that correction I don't believe that the formula can return
a
result of TRUE, can it, Gord?



Reply
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
Stopping a CountIf Don Kline[_2_] Excel Worksheet Functions 5 May 22nd 09 04:39 PM
stopping code Jase Excel Discussion (Misc queries) 1 October 6th 08 05:42 PM
Stopping a formula Roachy Excel Discussion (Misc queries) 3 July 1st 08 03:31 PM
Stopping Calculation Kelly Excel Discussion (Misc queries) 2 March 15th 06 10:56 PM
Stopping free text entry in validation cell smf Excel Discussion (Misc queries) 2 December 15th 05 06:44 PM


All times are GMT +1. The time now is 01:13 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"