Excel Formula for Millions and Billions

rebel123

Active Member
Joined
Apr 18, 2017
Messages
359
Office Version
  1. 365
Platform
  1. MacOS
Hello,

Thanks for your help.
I am looking to do a spreadsheet on stocks.
On Yahoo Finance, the data copies over as M and B for Billions.

Please check the attachment, and it shows these cells:
Columns C thru I
And Rows 360 thru 374

So, if you can please provide a formula for all of the green
highlighted cells in rows H and I want to copy and paste
that formula all of the way down.

Although you cannot see all of the way down, the numbers
appear like this (starting at cell G1363):

999.08M
996.78M
994.32M
994.09M
991.77M
990.90M
989.90M
987.90M
986.53M
98.35M
98.12B
98.03B
978.99M
972.92M
972.00M
969.83B
967.71M
964.30M
962.14M
96.44B
956.70M
956.42M
95.89B
946.91M
937.87M
931.18M
927.95M
92.79B
915.73M
915.04M
914.54M
913.43M
908.44M
907.96M
90.92B
90.80M
90.73B
9.96B
9.94B
9.94B
9.93B
9.83B
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
IMAGE
 

Attachments

  • Screen Shot 2020-06-17 at 9.11.35 AM-min.jpg
    Screen Shot 2020-06-17 at 9.11.35 AM-min.jpg
    186.6 KB · Views: 29
Upvote 0
Upvote 0
Try

=IFERROR(SUBSTITUTE(SUBSTITUTE(G2,".",""),"M","0000")+0,SUBSTITUTE(SUBSTITUTE(G2,".",""),"B","0000000")+0)
 
Upvote 0
First one didnt work...
I may have moved my cells but its the same column
 
Upvote 0
Image
 

Attachments

  • Screen Shot 2020-06-17 at 9.55.59 AM.jpg
    Screen Shot 2020-06-17 at 9.55.59 AM.jpg
    131.2 KB · Views: 25
Upvote 0
1st one here
 

Attachments

  • Screen Shot 2020-06-17 at 9.54.57 AM.jpg
    Screen Shot 2020-06-17 at 9.54.57 AM.jpg
    133.4 KB · Views: 24
Upvote 0
You need to change the row number to reflect the first cell you put the formula in.
 
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,135
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