How do I join result of two formulae in 1 cell?

Carty

Board Regular
Joined
Mar 3, 2009
Messages
76
Hi. I have a formula that returns a value A (e.g. 2.3E-03) and a different formula that returns value B (e.g. 4.5E-03). I would like the cell to read (2.3E-3 - 4.5E-03). I know that text can be CONCATENATED but this doesn't work for numbers/formulae. Is there away to do this?

Thanks

Paul
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi WBD

The result in column C is exactly what I am looking for, however the result of the formulae do not appear in it's own cell. In column C I would like to be able to write something like this:

print "(",formula A, " - ", formula B,")"

Paul

Just thought differently - can I substitute the formula where you have the cell reference or does the &TEXT prevent this?
 
Last edited:
Upvote 0
Replace A1 and B1 in my formula with the formulas that produce the results.

Code:
="("&TEXT({first formula here},"0.0E+00")&" - "&TEXT({second formula here},"0.0E+00")&")"

WBD
 
Upvote 0
Hi WBD

.. I would like to be able to write something like this:

print "(",formula A, " - ", formula B,")"

Hello what version of Excel do you have? Are you looking for something like this:

=FORMULATEXT(A1)&" - "&FORMULATEXT(B1)
 
Upvote 0
WBD - Thank you. That works perfectly

Joyner - Thank you. I am using Excel 2013. When I substituted the formula for A1 an B1 it returned a #VALUE error. Of course the error could be mine!
 
Upvote 0
WBD - How do I remove the scientific notation formatting to display (1234 - 5678) for instance?

Paul

Edit: I just change the formatting of the cell, doh

2nd edit: Changing the cell format works if I am using only 1 formula but not if I am trying to join the formulae together
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top