|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Word. Removing the decimal point and numbers following it using the replace function
Hi all
Help please ! I receive data at work that is churned out into a word document. This includes a list of currency amounts i.e. £100.67 £2,377.87 £1.60 £20.44 I am trying to remove the decimal points and the numbers after them, just leaving it like this £100 £2,377 £1 £20 I asked someone I work with and they said use Replace function. Using “^#^#.” and leaving the second box blank. I thought this was the key but I have reviewed the results and it was not giving accurate results Can anyone help please. The data is not in a table in the Word document. Thanks very much in advance Steve, London, UK |
#2
|
|||
|
|||
What result are you getting with those settings?
Replace using wildcards by Graham Mayor, MVP How to Ask Questions In this Forum (to get the best and quickest answers) |
#3
|
|||
|
|||
Hi Charles
The results place the two digits after the point, in front of the point Example £1084.67 becomes £1067 Close but not good enough |
#4
|
|||
|
|||
Thank you for the link also.
I was really hoping there would be an easy way of removing the decimal numbers from a word document. It sounds like something that people would want to do previously but I cannot find anything. If anyone knows somewhere I may be able find the answer I would really appreciate , and so would everyone in my department !! |
#5
|
|||
|
|||
I have worked it out. The answer is
.^#^# I had the decimal point in the wrong position. It works perfectly now Thanks anyway all |
#6
|
||||
|
||||
You put the decimal point in the wrong place. Move it to the start of the search string instead of putting it at the end
“.^#^#” Ahh, I see you worked it out before I posted my answer
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia Last edited by Guessed; 04-03-2024 at 03:18 PM. Reason: Too slow |
#7
|
|||
|
|||
Thanks for the reply though
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a decimal point in an already existing column of numbers | wheddingsjr | Excel | 3 | 07-26-2019 07:41 AM |
How to create a decimal point after each number in a numbered list in excel | wondermuse | Excel | 1 | 03-06-2017 03:42 AM |
Pulling 2 digits before a decimal point from adjoining cell then zeros after decimal | jadess916 | Excel | 1 | 06-26-2014 03:48 AM |
Align Mail Merged Numbers to the Decimal Point | HangMan | Mail Merge | 1 | 12-11-2013 02:32 PM |
Merge, Too many Numbers right of the Decimal Point | ohdearme | Mail Merge | 0 | 10-25-2009 05:10 PM |