Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brett Patterson
 
Posts: n/a
Default Format Column with Same Function

Hey guys.

I'm trying to format all the cells in column G with the following function:
=E2-F2

How would I format the column so that when data is entered into E2 & F2, G2
would automatically update with the value?

I have tried
=$E2-$F2
and
=E$2-F$2

Both don't work. Any help would be greatly appreciated.
------------------------
Brett Patterson
UMBC EHS Management Major
  #2   Report Post  
Max
 
Posts: n/a
Default

Maybe just ..

Put in G2: =E2-F2
Copy G2 down
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Brett Patterson" wrote in
message ...
Hey guys.

I'm trying to format all the cells in column G with the following

function:
=E2-F2

How would I format the column so that when data is entered into E2 & F2,

G2
would automatically update with the value?

I have tried
=$E2-$F2
and
=E$2-F$2

Both don't work. Any help would be greatly appreciated.
------------------------
Brett Patterson
UMBC EHS Management Major



  #3   Report Post  
Brett Patterson
 
Posts: n/a
Default

Problem with that is that I want G* to be the value of E*-F*. So the numbers
are variable, while the columns aren't.

~Brett

"Max" wrote:

Maybe just ..

Put in G2: =E2-F2
Copy G2 down
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Brett Patterson" wrote in
message ...
Hey guys.

I'm trying to format all the cells in column G with the following

function:
=E2-F2

How would I format the column so that when data is entered into E2 & F2,

G2
would automatically update with the value?

I have tried
=$E2-$F2
and
=E$2-F$2

Both don't work. Any help would be greatly appreciated.
------------------------
Brett Patterson
UMBC EHS Management Major




  #4   Report Post  
Max
 
Posts: n/a
Default

"Brett Patterson" wrote:
Problem with that is that I want G* to be the value of E*-F*. So the numbers
are variable, while the columns aren't.


But that's exactly what you should get when you copy down the formula from
G2 ??

In G2: =E2-F2
copied down, you'll get:
In G3: =E3-F3
In G4: =E4-F4
and so on

when you copy down, what are you getting in G3, G4 ?

perhaps calc mode is inadvertently set to "Manual"?
Press F9, does it compute properly now in G3, G4, etc ?

To check / change the calc mode:
Click Tools Options Calc tab
Ensure "Automatic" is checked OK

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
  #5   Report Post  
Brett Patterson
 
Posts: n/a
Default

That's great, you were right. But what I'm trying to do is automate it so
that I don't have to copy any of the forumla or cell for each line. So is
there a way to automate the display so that it will always show "$0.00" and
then when values change, the amount changes. But I don't want to have to
copy the cell manually as the data will be spread over numerous pages and
manual copying would take too long.

"Max" wrote:

"Brett Patterson" wrote:
Problem with that is that I want G* to be the value of E*-F*. So the numbers
are variable, while the columns aren't.


But that's exactly what you should get when you copy down the formula from
G2 ??

In G2: =E2-F2
copied down, you'll get:
In G3: =E3-F3
In G4: =E4-F4
and so on

when you copy down, what are you getting in G3, G4 ?

perhaps calc mode is inadvertently set to "Manual"?
Press F9, does it compute properly now in G3, G4, etc ?

To check / change the calc mode:
Click Tools Options Calc tab
Ensure "Automatic" is checked OK

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----



  #6   Report Post  
Max
 
Posts: n/a
Default

"Brett Patterson"

That's great, you were right.


You're welcome !

But what I'm trying to do is automate it so
that I don't have to copy any of the forumla or cell for each line. So is
there a way to automate the display so that it will always show "$0.00"

and
then when values change, the amount changes. But I don't want to have to
copy the cell manually as the data will be spread over numerous pages and
manual copying would take too long.


sorry, I'm not sure on this new Q of yours
do hang around awhile for insights from others
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----


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
how do I format a pivot table column - permanently? fnov Excel Discussion (Misc queries) 3 May 19th 23 07:44 PM
How do I unhide the cell format function in Excel 2000 Len Melcer Excel Worksheet Functions 2 December 15th 04 06:49 PM
how to enter a formula using column() function for a range Mike Peter Excel Worksheet Functions 6 December 8th 04 07:11 AM
Naming column in Index Function mlkpied Excel Worksheet Functions 3 December 7th 04 12:20 AM
Excel - option to extend function in cell to column kjoshua777 Excel Worksheet Functions 2 November 18th 04 01:08 AM


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