numbers with grams next to them

CVRIII

New Member
Joined
Jan 24, 2019
Messages
1
I have a spread sheet with numbers w/ grams at the end (ex 1.183g) how do i formulate excel to disregard the G after each number?;)
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi

Don't write the g in the cell.

Write just the number and use a format like

0.000"g"

You'll still see 1.103g in the cell but the value of the cell will only be the number.
 
Upvote 0
Hi,

If the cell(s) are Custom formatted to show g (grams), then you don't need to do anything, as the actual Value of the cell do Not include the letter g.

If the Text letter g is actually in the cell, you can use this:


Book1
AB
11.183g1.183
Sheet498
Cell Formulas
RangeFormula
B1=LEFT(A1,LEN(A1)-1)+0
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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