Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sg sg is offline
external usenet poster
 
Posts: 32
Default replacing a range of numbers

in a group of cells i would like to replace all example i want to replace all
numbers 10. Everything tells me it cannot identify mty number
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default replacing a range of numbers

Seems to me we're missing some information here. Would this be what you
mean?: "I would like to identify a selected group of cells (eg C5:F10) and
place the character string 'XXX' in any cell of that group whose current
value is 10. If the original looks like this:

C D E F
5 12 9 5 13
6 1 2 3 5
7 5 7 10 14
8 14 12 10 8
9 4 9 16 25
10 1 8 27 64

....afterward it should look like this:

C D E F
5 XXX 9 5 XXX
6 1 2 3 5
7 5 7 10 XXX
8 XXX XXX 10 8
9 4 9 XXX XXX
10 1 8 XXX XXX

Is this possible? When I try, Excel tells me it can't identify my number."

Try to ask your question (whatever it really is, because I doubt it's the
above) more exactly, in this mode.

--- "sg" wrote:
in a group of cells i would like to replace all example i want to replace all
numbers 10. Everything tells me it cannot identify mty number

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sg sg is offline
external usenet poster
 
Posts: 32
Default replacing a range of numbers

yes I know it is possible because i have seen the result, i just don't know how
--
Sarah


"Bob Bridges" wrote:

Seems to me we're missing some information here. Would this be what you
mean?: "I would like to identify a selected group of cells (eg C5:F10) and
place the character string 'XXX' in any cell of that group whose current
value is 10. If the original looks like this:

C D E F
5 12 9 5 13
6 1 2 3 5
7 5 7 10 14
8 14 12 10 8
9 4 9 16 25
10 1 8 27 64

...afterward it should look like this:

C D E F
5 XXX 9 5 XXX
6 1 2 3 5
7 5 7 10 XXX
8 XXX XXX 10 8
9 4 9 XXX XXX
10 1 8 XXX XXX

Is this possible? When I try, Excel tells me it can't identify my number."

Try to ask your question (whatever it really is, because I doubt it's the
above) more exactly, in this mode.

--- "sg" wrote:
in a group of cells i would like to replace all example i want to replace all
numbers 10. Everything tells me it cannot identify mty number

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default replacing a range of numbers

One way
Sub replacemorethan()
mc = "m"
For i = 1 To Cells(rows.Count, mc).End(xlUp).Row
If Cells(i, mc) 10 Then Cells(i, mc) = 1000' or whatever
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sg" wrote in message
...
in a group of cells i would like to replace all example i want to replace
all
numbers 10. Everything tells me it cannot identify mty number


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
Replacing a Range of Numbers Peter Herman Excel Worksheet Functions 1 July 10th 08 10:30 PM
replacing numbers in a cell catspore Excel Worksheet Functions 5 May 8th 07 04:34 PM
Replacing Range Names Jim May Excel Discussion (Misc queries) 2 October 25th 06 12:54 PM
Replacing specific numbers jezzica85 Excel Discussion (Misc queries) 2 May 5th 06 12:16 AM
using treater than and replacing numbers mja Excel Worksheet Functions 1 March 23rd 05 05:59 PM


All times are GMT +1. The time now is 11:17 AM.

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"