Forum Discussion
jenna2605
May 14, 2022Copper Contributor
How can I define 36B als 36 Billion?
Hi Guys,
I wrote the numbers in my sheet as "36 M" instead of 36.000.000 and "36 B" instead of 36 billion.
How can excel recognize this as numbers?
Thanks in advance
5 Replies
- SergeiBaklanDiamond Contributor
If return result into the same cell that's with VBA programming. If into another cell that could be formula like
=--SUBSTITUTE(D4, " M", "000000")
- jenna2605Copper Contributor
thanks sergei. But if I substitute M by 000000, "3,4 M" are 3400000 which is one 0 to much? SergeiBaklan
- SergeiBaklanDiamond Contributor
Sorry, didn't think about decimals. As variant
=LEFT(A1, FIND(" ",A1) - 1 )*LOOKUP( RIGHT(A1), {"B","M"}, {1e9,1e6} )