Hello all,
This is probably a very basic question, but I am new to Excel.
I am pulling information from a finance source (Yahoo! Finance) into a spreadsheet and need to parse the data a little bit.
Yahoo reports income statement figures for companies in billions of dollars (i.e. "1.45b" is the way it is written after import). I need to convert this data to millions if it is in billion or leave it in millions if it's not...so convert 1.45b to 1450 and keep something like 987.7m as 987.7 to then use in another spreadsheet.
I have been doing this by hand by having a separate column dedicated to multiplying every billion figure by 1000 to get millions. Obviously this isn't the ideal way of doing this.
Can I somehow query that entire column for figures that contain "b" OR "m", and if the figure contains "b", strip the "b" out of it, multiply it by 1000 and copy to the next column? Similarly if a figure contains "m", just strip the "m" and copy to next column.
I hope this makes sense...
Thanks in advance!
Bookmarks