Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default On going formula

In Excel 2003 I am wanting to setup a formula where column C minus column B
with the answer in column D.
I wish to repeat this formula in an unknown number of rows where each column
will have a different value, and I also wish to hide the formula.
Can this be done?

Thanks
Stan W.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default On going formula

Stan,

Are you wanting to do this in the worksheet or using VBA? In the worksheet
wouldn't this just be:

in cell D1: =C1-B1

Then drag down to cover the rows you are interested in. I hope this is not
an oversimplification of what you are doing (it probably is). Let me know if
I am misunderstanding.

As for hiding the formulas, select the desired cells, right click and select
"Format Cells" on the pop-up menu, click the "Protection" tab, check the
boxes for "Locked" and "Hidden", click "OK". Then click "Tools" on the menu
bar and select "Tools" then "Protection" then "Protect Sheet" and click "OK"
on the dialogue box that comes up. This should do it. Again let me know if
I am misunderstanding what you want.

Good Luck!

Brandt

"Stan W." wrote:

In Excel 2003 I am wanting to setup a formula where column C minus column B
with the answer in column D.
I wish to repeat this formula in an unknown number of rows where each column
will have a different value, and I also wish to hide the formula.
Can this be done?

Thanks
Stan W.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default On going formula

Hi Brandt,

I was trying to find some way of setting the formula and hiding it at the
same time. Your system of hiding the formula after will do exactly what I
want.

Thanks from a "mature age person".
Stan.

"Brandt" wrote:

Stan,

Are you wanting to do this in the worksheet or using VBA? In the worksheet
wouldn't this just be:

in cell D1: =C1-B1

Then drag down to cover the rows you are interested in. I hope this is not
an oversimplification of what you are doing (it probably is). Let me know if
I am misunderstanding.

As for hiding the formulas, select the desired cells, right click and select
"Format Cells" on the pop-up menu, click the "Protection" tab, check the
boxes for "Locked" and "Hidden", click "OK". Then click "Tools" on the menu
bar and select "Tools" then "Protection" then "Protect Sheet" and click "OK"
on the dialogue box that comes up. This should do it. Again let me know if
I am misunderstanding what you want.

Good Luck!

Brandt

"Stan W." wrote:

In Excel 2003 I am wanting to setup a formula where column C minus column B
with the answer in column D.
I wish to repeat this formula in an unknown number of rows where each column
will have a different value, and I also wish to hide the formula.
Can this be done?

Thanks
Stan W.

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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
copy formula down a column and have cell references change within formula brad New Users to Excel 5 May 13th 07 04:38 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 04:19 AM.

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

About Us

"It's about Microsoft Excel"