combine a formatted number in a cell with another cell containing non formatted numbers

650nmWolf

New Member
Joined
Dec 26, 2017
Messages
14
I have a cell (L3) with a value of 2,620,000 that is formatted to read 2.62. I have another cell (R3) that has a value "1280 x 1024 at 100 fps" and that is no formatting.

I would like to combine the two into one cell that reads 2.62 B (1280 x 1024 at 100 fps). My first stab at it does not work since it returns the full value 2,620,000 and not 2.62. My incorrect formula looks like this:

=L3&" B ("&R3&")"

this yields: 2620000 B (1280 x 1024 at 100 fps)

Is there a way to keep the formatted 2.62? Again, it should read: 2.62 B (1280 x 1024 at 100 fps)

Thank you for any help! This board has always been very helpful to me!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
650nmWolf, Good evening.

Try to use:

=TEXT(L3/(10^6),"0.00") & " B (" & R3 & ")"

Is that what you want?

I hope it helps.
 
Upvote 0
Marcilio, Thank you very much. This was perfect. I added a comma after the 0.00 and it was just what I needed. Thank you for putting me on the right path!
 
Upvote 0
650nmWolf, Good evening.

Using this way, you can try:

=TEXT(L3,"0.00,,") & " B (" & R3 & ")"

It's a short way to solve the question.

Glad to have helped you.

Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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