A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Blank" cells showing unwanted data



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 01:01 PM posted to microsoft.public.excel.misc
Ed O'Brien
external usenet poster
 
Posts: 65
Default "Blank" cells showing unwanted data

I inherited a workbook for energy usage in which the formula below was
entered weekly as each week's readings were entered. Rather than do this
each week I dragged the formulae down each column so all I would need to do
was enter the reading each week. Simple? Yes, I thought so too.

However, I changed the =SUM formulae to =IF(L29=" "," ",7*2.466*0.21294)
to prevent blank readings such as #VALUE showing when there are no entries
in the row.

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 - the last entry made in row 13 of that
column displays when the cell should be blank. All other cells behave as
expected - blank.

All the rows and columns are identical except, of course, the cell numbers
within the formulae.

Can anyone explain how this happens and if there is a way I can cure it?

TIA or any help.

  #2  
Old April 19th, 2010, 01:22 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default "Blank" cells showing unwanted data

Hi,

I'm a bit confused by the terminology here

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 -


I'm not sure I understand that, when dragging 'down' isn't it 'Rows'?

However if the formula doesn't show blank that means there is something in
the cell being referred to and if someone has written a formula like yours
than that could be the answer. Your formula

=IF(L29=" "," ",7*2.466*0.21294)

Doesn't look for a blank it looks for a space and would be better written
like this

=IF(L29="","",7*2.466*0.21294)

Note we are now looking for a null string "" ( and not " ") and returning a
null string. the problem in doing it your way is if a cell contains a space,
it 'looks' blank but to Excel it's not.


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Ed O'Brien" wrote:

I inherited a workbook for energy usage in which the formula below was
entered weekly as each week's readings were entered. Rather than do this
each week I dragged the formulae down each column so all I would need to do
was enter the reading each week. Simple? Yes, I thought so too.

However, I changed the =SUM formulae to =IF(L29=" "," ",7*2.466*0.21294)
to prevent blank readings such as #VALUE showing when there are no entries
in the row.

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 - the last entry made in row 13 of that
column displays when the cell should be blank. All other cells behave as
expected - blank.

All the rows and columns are identical except, of course, the cell numbers
within the formulae.

Can anyone explain how this happens and if there is a way I can cure it?

TIA or any help.

  #3  
Old April 19th, 2010, 01:30 PM posted to microsoft.public.excel.misc
Bernard Liengme
external usenet poster
 
Posts: 516
Default "Blank" cells showing unwanted data

Sorry, Ed, but this is not clear.
What was the original SUM formula? The one you will always return the same
value.
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Ed O'Brien" wrote in message
...
I inherited a workbook for energy usage in which the formula below was
entered weekly as each week's readings were entered. Rather than do this
each week I dragged the formulae down each column so all I would need to
do was enter the reading each week. Simple? Yes, I thought so too.

However, I changed the =SUM formulae to =IF(L29=" "," ",7*2.466*0.21294)
to prevent blank readings such as #VALUE showing when there are no entries
in the row.

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 - the last entry made in row 13 of
that column displays when the cell should be blank. All other cells behave
as expected - blank.

All the rows and columns are identical except, of course, the cell numbers
within the formulae.

Can anyone explain how this happens and if there is a way I can cure it?

TIA or any help.


  #4  
Old April 19th, 2010, 02:01 PM posted to microsoft.public.excel.misc
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default "Blank" cells showing unwanted data

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ed O'Brien" wrote in message
...
I inherited a workbook for energy usage in which the formula below was
entered weekly as each week's readings were entered. Rather than do this
each week I dragged the formulae down each column so all I would need to do
was enter the reading each week. Simple? Yes, I thought so too.

However, I changed the =SUM formulae to =IF(L29=" "," ",7*2.466*0.21294)
to prevent blank readings such as #VALUE showing when there are no entries
in the row.

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 - the last entry made in row 13 of
that column displays when the cell should be blank. All other cells behave
as expected - blank.

All the rows and columns are identical except, of course, the cell numbers
within the formulae.

Can anyone explain how this happens and if there is a way I can cure it?

TIA or any help.


  #5  
Old April 19th, 2010, 06:55 PM posted to microsoft.public.excel.misc
Ed O'Brien
external usenet poster
 
Posts: 65
Default "Blank" cells showing unwanted data

Thanks, Mike.

I understand now. However, using "","", causes the last entry to repeat in
every cell down the whole column. I decided this is because the L29 entry
is from it's own formula - not typed in. I resolved it by selecting a cell
in the row where the entry is typed and not the outcome of a formula.

Sorry for slowness in coming back. I've just upgraded the PC to Windows 7
only to find I can't get the newsgroups. I'm having to dig out my old laptop
(XP).

Seems a backward step to me!

Ed





"Mike H" wrote in message
...
Hi,

I'm a bit confused by the terminology here

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 -


I'm not sure I understand that, when dragging 'down' isn't it 'Rows'?

However if the formula doesn't show blank that means there is something in
the cell being referred to and if someone has written a formula like yours
than that could be the answer. Your formula

=IF(L29=" "," ",7*2.466*0.21294)

Doesn't look for a blank it looks for a space and would be better written
like this

=IF(L29="","",7*2.466*0.21294)

Note we are now looking for a null string "" ( and not " ") and returning
a
null string. the problem in doing it your way is if a cell contains a
space,
it 'looks' blank but to Excel it's not.


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Ed O'Brien" wrote:

I inherited a workbook for energy usage in which the formula below was
entered weekly as each week's readings were entered. Rather than do this
each week I dragged the formulae down each column so all I would need to
do
was enter the reading each week. Simple? Yes, I thought so too.

However, I changed the =SUM formulae to =IF(L29=" "," ",7*2.466*0.21294)
to prevent blank readings such as #VALUE showing when there are no
entries
in the row.

My problem is, dragging the formula down the columns 5 to 57, 3 out of 6
columns - in the same rows, 34 to 46 - the last entry made in row 13 of
that
column displays when the cell should be blank. All other cells behave as
expected - blank.

All the rows and columns are identical except, of course, the cell
numbers
within the formulae.

Can anyone explain how this happens and if there is a way I can cure it?

TIA or any help.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.