number value formatting issue

londa_vba

Board Regular
Joined
May 11, 2023
Messages
61
Office Version
  1. 365
Platform
  1. Windows
Hello
I have a whole number with no decimal place entered into F3 but I need the formula answer to format the number out to one decimal place even though I am combining it with text.
If F3= 790, I am looking for answer = 438.9 uL. Is this possible?

Excel Formula:
=IF(F3="","",CONCAT(F3*10/18," uL"))
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I split the formula into two parts and was able to get the deserved answer = 438.9 uL
Excel Formula:
=IF(F3="","",(F3*10/18," uL"))
and then
Excel Formula:
=TEXT(C4,"0.0"&" uL")

Is this the best way?
 
Upvote 0
How about
Excel Formula:
=IF(F3="","",TEXT(F3*10/18,"0.0 uL"))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
You could also just divide by 1.8 and get the same answer.

=IF(F3="","",TEXT(F3/1.8,"0.0 uL"))
 
Upvote 0
If you just want to show that result in another cell then you can achieve this just by formatting the cell like so:

1703592520476.png
 
Upvote 0

Forum statistics

Threads
1,223,098
Messages
6,170,100
Members
452,301
Latest member
QualityAssurance

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