Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Entering Formulas

I want to be able to enter a value into C2, for example, and have a formula
that will take that value and multiply it by .02, for example. The result to
be reflected in C2. Can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default Entering Formulas

Not without VBA coding.
A cell can either hold a value (2 or .02 or Hello) or it can hold a formula
that may or may not reference other cells, as:
=2 * 2
or
=.02 * C2
or
=SUM(A1:A104)

So if you were to put a formula into C2 such as =.02 * C2, the first thing
you would get is a warning from Excel that you have a Circular Reference,
meaning a cell is dependent on itself or part of itself for a result (well,
it gets even worse, but that's simplified). Even if you ignore that error,
then the second you type something into that cell, the formula disappears.

So to take a value that was entered into C2 and find out what that value
multiplied by .02 is, you put the formula =C2 * .02 into some other cell.

"Nickydad" wrote:

I want to be able to enter a value into C2, for example, and have a formula
that will take that value and multiply it by .02, for example. The result to
be reflected in C2. Can I do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Entering Formulas

You cannot have a formula in a cell then enter a value into that cell.

One or the other.

Use another cell for the calculated value as RD suggests.

OR we can provide VBA event code to do all in one cell.


Gord Dibben MS Excel MVP

On Tue, 19 Sep 2006 16:28:02 -0700, Nickydad
wrote:

I want to be able to enter a value into C2, for example, and have a formula
that will take that value and multiply it by .02, for example. The result to
be reflected in C2. Can I do this?


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 to Evaluate Dynamic DDE Formulas MArcus Baffa Excel Worksheet Functions 5 September 12th 06 10:35 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
locking formulas?? Rob Excel Discussion (Misc queries) 1 July 27th 05 09:27 AM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


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