Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

You could do it like this:

=A1&" + "&B1&" * "&C1

Hope this helps.

Pete

On Oct 12, 10:31 am, vaso82 wrote:
i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

Thanx for quick reply but i need to have c=7 and a convinent way to
type the formula

On 12 , 13:47, Pete_UK wrote:
You could do it like this:

=A1&" + "&B1&" * "&C1

Hope this helps.

Pete

On Oct 12, 10:31 am, vaso82 wrote:

i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

I don't know what you mean.

Pete

On Oct 12, 10:58 am, vaso82 wrote:
Thanx for quick reply but i need to have c=7 and a convinent way to
type the formula

On 12 , 13:47, Pete_UK wrote:



You could do it like this:


=A1&" + "&B1&" * "&C1


Hope this helps.


Pete


On Oct 12, 10:31 am, vaso82 wrote:


i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

Sorry i must be dumb today, but i need both: the value of D should be
7, and the cell should show "1+2*3"
Can it be done?

On 12 , 15:53, Pete_UK wrote:
I think what you really want is:

=A1+B1*C1

in D1 - this will give you the result of 7 in D1, if you have the
values stated earlier.

Hope this helps.

Pete

On Oct 12, 12:48 pm, vaso82 wrote:

i mean i need to have d equal to the result of a+b*c, not the string
"1+2*3"
And it's rather unconvinient to type all this ampersands and quotes.


On 12 , 14:46, Pete_UK wrote:


I don't know what you mean.


Pete


On Oct 12, 10:58 am, vaso82 wrote:


Thanx for quick reply but i need to have c=7 and a convinent way to
type the formula


On 12 , 13:47, Pete_UK wrote:


You could do it like this:


=A1&" + "&B1&" * "&C1


Hope this helps.


Pete


On Oct 12, 10:31 am, vaso82 wrote:


i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 373
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

vaso,
The cell can have a formula and a value. In order for the cell's value to
be 7, it can have a formula of =A1+B1*C1 or =1+2*3, but not both! If you
want to put in the formula with the numbers for just for the one cell, you
could do it with worksheet_change event code, but you wouldn't want such
events occurring in multiple cells. Or, you could do it for multiple cells
with a standard macro, but it would not update automatically when cells A1,
B1, or C1 are changed. James

"vaso82" wrote in message
oups.com...
Sorry i must be dumb today, but i need both: the value of D should be
7, and the cell should show "1+2*3"
Can it be done?

On 12 , 15:53, Pete_UK wrote:
I think what you really want is:

=A1+B1*C1

in D1 - this will give you the result of 7 in D1, if you have the
values stated earlier.

Hope this helps.

Pete

On Oct 12, 12:48 pm, vaso82 wrote:

i mean i need to have d equal to the result of a+b*c, not the string
"1+2*3"
And it's rather unconvinient to type all this ampersands and quotes.


On 12 , 14:46, Pete_UK wrote:


I don't know what you mean.


Pete


On Oct 12, 10:58 am, vaso82 wrote:


Thanx for quick reply but i need to have c=7 and a convinent way to
type the formula


On 12 , 13:47, Pete_UK wrote:


You could do it like this:


=A1&" + "&B1&" * "&C1


Hope this helps.


Pete


On Oct 12, 10:31 am, vaso82 wrote:


i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Help! cells a=1; b=2;c=3 how to make cell d=a+b*c show 1+2*3

Press Alt F11
Insert New Module
Paste this in the module


Function FormulaIs(myCell As Range)

FormulaIs = "'" & myCell.Formula

End Function

THis ASSUMES only one cell is used in the formula.

IN aqn adgacent cell to your formula, enter

=FormulaIS(A1)

Or other appropriate reference.

You'll get the formula in A1.
--
HTH,
Barb Reinhardt



"vaso82" wrote:

i've searched microsoft.public.excel with keywords "formula
substitute values", but haven't found the answer.
Please help if you know how to do it.
Thanks in advance!


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
Make a cell show the name of the sheet tab LPatt Excel Worksheet Functions 5 September 17th 06 01:29 PM
format cell to show leading zeros and make cell a three digit fiel Kristin Excel Worksheet Functions 2 July 28th 06 09:42 PM
make cell show blank when total is zero Bob L Excel Discussion (Misc queries) 3 May 19th 06 05:04 PM
How can I make a none value cell not show as zero on a chart? cybermrt Charts and Charting in Excel 1 November 7th 05 09:36 AM
How to make a cell show totals Don Excel Discussion (Misc queries) 1 August 4th 05 01:19 PM


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