Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 2
Default function in a cell

hello
i want to know, if it is possible to compute a function in same cell
where I insert the variable.
ex: Cell A1: = x * 20 //where x is the variable to insert.

best regards Markus
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default function in a cell

Markus,

If I understand you correctly, no, a cell cannot hold the value and a
formula. It can only hold one. You would need to put the formula in an
adjacent cell, or if it was a consistent rule (such as multiply the input by
20) then you could VBA worksheet change event.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"max" wrote in message
...
hello
i want to know, if it is possible to compute a function in same cell
where I insert the variable.
ex: Cell A1: = x * 20 //where x is the variable to insert.

best regards Markus



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default function in a cell

Hi
only possible if you use VBA (process the worksheet change event). I
would recommend using an adjacent cell to store the formula result

--
Regards
Frank Kabel
Frankfurt, Germany

max wrote:
hello
i want to know, if it is possible to compute a function in same cell
where I insert the variable.
ex: Cell A1: = x * 20 //where x is the variable to insert.

best regards Markus


  #4   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 2
Default function in a cell

Frank Kabel wrote:

Hi
only possible if you use VBA (process the worksheet change event). I
would recommend using an adjacent cell to store the formula result

--
Regards
Frank Kabel
Frankfurt, Germany

max wrote:

hello
i want to know, if it is possible to compute a function in same cell
where I insert the variable.
ex: Cell A1: = x * 20 //where x is the variable to insert.

best regards Markus




thanks for your comments.
I knew the second alternative, but I think that the second is better
too. I would just know, if it is possible or not.

Markus
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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
Copy Excel Function from a Cell Through a Function Sheikh Saadi Excel Worksheet Functions 0 October 15th 09 04:22 PM
I want result of a function in the cell and not the function itsel Rana Excel Worksheet Functions 4 July 2nd 07 06:20 AM
Function to detemine whether function or value in cell nc Excel Discussion (Misc queries) 5 December 1st 06 03:33 PM
Can function in one cell change value or function in another cell? me Excel Worksheet Functions 4 February 27th 06 01:04 PM


All times are GMT +1. The time now is 11:31 AM.

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"