
Signature
Gary''s Student - gsnu200767
Ok so I got the formula you gave me working. But there is a small problem i
am trying to use data from the cell above in my formula. so it looks like
this:
=c1-b2+a2
working with the formula you suggested is ok till i add "c1" to the formula
like the example below:
=IF(OR((A1="0"),(B1="0")),"",C1-A1+B1)
Because the data in cell c1 is copied down and i am back to where i started!
:(
anyone else who can help with this. I would be grateful or if Gary Student
has any other ideas , again thanks
> Hide them with blanks:
>
[quoted text clipped - 21 lines]
> >
> > Thanks in advance
Rich/rerat - 14 Feb 2008 17:37 GMT
Dobbin0_4,
You can add macros and buttons to your sheet to hide/show all the data on
your sheet, until you need to edit it, such as:
Macro#1:
Sub HideRows()
'
Range("A6:G100").Select
Selection.EntireRow.Hidden = True
Range("A1").Select
End Sub
Macro#2:
Sub ShowRows()
'
Range("A6:G100").Select
Selection.EntireRow.Hidden = False
Range("A1").Select
End Sub
Or just hide the column:
Macro#3:
Sub HideColumn()
Columns("G:G").Select
Selection.EntireColumn.Hidden = True
Range("A1").Select
End Sub
Macro#4:
Sub ShowColumn()
'
Columns("G:G").Select
Selection.EntireColumn.Hidden = False
Range("A1").Select
End Sub
You need to adjust the Range information to fit you needs. I am new at
macros, so I had to create to of them. Some one more experienced with them
should be able to, show you how to combine the hide/show macro, so a single
button can be used, to either hide/show rows or columns.

Signature
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) <message rule>
<<Previous Text Snipped to Save Bandwidth When Appropriate>>
Ok so I got the formula you gave me working. But there is a small problem i
am trying to use data from the cell above in my formula. so it looks like
this:
=c1-b2+a2
working with the formula you suggested is ok till i add "c1" to the formula
like the example below:
=IF(OR((A1="0"),(B1="0")),"",C1-A1+B1)
Because the data in cell c1 is copied down and i am back to where i started!
:(
anyone else who can help with this. I would be grateful or if Gary Student
has any other ideas , again thanks
"Gary''s Student" wrote:
> Hide them with blanks:
>
[quoted text clipped - 24 lines]
> >
> > Thanks in advance
Gary''s Student - 15 Feb 2008 11:48 GMT
Use the same approach:
=IF(OR((A2="0"),(B2="0"),(A2=""),(B2=""),(C1="0"),(C1="")),"",C1-A2+B2)
The key is to test ALL of the values that you need. If ANY are zero or
missing, then return blank

Signature
Gary''s Student - gsnu200769
> Ok so I got the formula you gave me working. But there is a small problem i
> am trying to use data from the cell above in my formula. so it looks like
[quoted text clipped - 38 lines]
> > >
> > > Thanks in advance
Dobbin0_4 - 16 Feb 2008 06:04 GMT
Thanks that really helped.
> Use the same approach:
> =IF(OR((A2="0"),(B2="0"),(A2=""),(B2=""),(C1="0"),(C1="")),"",C1-A2+B2)
[quoted text clipped - 44 lines]
> > > >
> > > > Thanks in advance