Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Find and Replace wildcards


Hi All

I need a little help.

What would be the codes to enter in the Find and Replace boxes so that
the second decimal place in any number would be replaced with a given
number?

For example

5.97
16.23
22.64
9.66
105.26

Would become

5.95
16.25
22.65
9.65
105.55

if I wanted to search and replace the second digit to a 5.

Grateful for any advice.



Best Wishes
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default Find and Replace wildcards

Hi

You can not use Find/Replace for this. Use a helper column to calculate the
the desired values, copy values in the helper column, and use paste special
to replace the original values:

=(INT(A1*10)+0.5)/10

Regards,
Per


"Colin Hayes" skrev i meddelelsen
...

Hi All

I need a little help.

What would be the codes to enter in the Find and Replace boxes so that the
second decimal place in any number would be replaced with a given number?

For example

5.97
16.23
22.64
9.66
105.26

Would become

5.95
16.25
22.65
9.65
105.55

if I wanted to search and replace the second digit to a 5.

Grateful for any advice.



Best Wishes


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Find and Replace wildcards

=FLOOR(A1,0.1)+0.05


"Colin Hayes" wrote:


Hi All

I need a little help.

What would be the codes to enter in the Find and Replace boxes so that
the second decimal place in any number would be replaced with a given
number?

For example

5.97
16.23
22.64
9.66
105.26

Would become

5.95
16.25
22.65
9.65
105.55

if I wanted to search and replace the second digit to a 5.

Grateful for any advice.



Best Wishes
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace with wildcards PDA Excel Discussion (Misc queries) 2 November 11th 09 01:20 PM
find and replace \n wildcards like word julesgf Excel Discussion (Misc queries) 4 February 12th 09 03:11 AM
Find and Replace with wildcards? Colin Excel Discussion (Misc queries) 4 January 20th 08 09:05 PM
Why not accept wildcards for REPLACE as well as FIND ? The Blue Max Excel Discussion (Misc queries) 5 August 10th 07 08:59 AM
Replace using Wildcards Stella Excel Worksheet Functions 1 June 23rd 06 06:48 PM


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"