ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   edit a record like 17.00 gbp so it becomes 17.00 using a formula (https://www.excelbanter.com/excel-discussion-misc-queries/65583-edit-record-like-17-00-gbp-so-becomes-17-00-using-formula.html)

John

edit a record like 17.00 gbp so it becomes 17.00 using a formula
 
I have cut and paste a lot of data from a web site, but it all has 'gbp'
after each amount i.e. 17.00 gbp. I need to get rid of the gbp so I can do a
SUM calculation. I hope someone can help.

pinmaster

edit a record like 17.00 gbp so it becomes 17.00 using a formula
 
You could try find and replace. Start by selecting your data then go to
Edit/Replace:

find what: gbp
replace with: ...leave blank
hit Replace All

HTH
JG

"John" wrote:

I have cut and paste a lot of data from a web site, but it all has 'gbp'
after each amount i.e. 17.00 gbp. I need to get rid of the gbp so I can do a
SUM calculation. I hope someone can help.


Ken Johnson

edit a record like 17.00 gbp so it becomes 17.00 using a formula
 
Hi John,
assuming your first one is in A2, =VALUE(LEFT(A2,LEN(A2)-4)) in row 2
of any other column could be filled down to produce a column of number
values.
I'm also assuming that it is a single space between the number and the
g.

Ken Johnson



All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com