Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default REPLACE FUNCTION_ change 3.000 to 3...

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default REPLACE FUNCTION_ change 3.000 to 3...

Select column A
Format as General (anything but Text).
Edit|Replace
what: . (decimal point)
with: .
replace all

Excel should see the value as a number and will display 3.000 as 3 (in General
format).



Aline wrote:

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default REPLACE FUNCTION_ change 3.000 to 3...

Hi Dave,

Thank for your response. I tried but a pop-up says: Microsoft Excel cannot
find matching data to replace...

I also tried with other things but not working.
what: *.*** (decimal point)
with: *.*** (and also . )

Any suggestions on how to fix this problem.

Thanks,
Aline




--
Aline


"Dave Peterson" wrote:

Select column A
Format as General (anything but Text).
Edit|Replace
what: . (decimal point)
with: .
replace all

Excel should see the value as a number and will display 3.000 as 3 (in General
format).



Aline wrote:

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default REPLACE FUNCTION_ change 3.000 to 3...

This could be it.

Find what : .000
Replace with :

Thank you again for your help.
Aline
--
Aline


"Aline" wrote:

Hi Dave,

Thank for your response. I tried but a pop-up says: Microsoft Excel cannot
find matching data to replace...

I also tried with other things but not working.
what: *.*** (decimal point)
with: *.*** (and also . )

Any suggestions on how to fix this problem.

Thanks,
Aline




--
Aline


"Dave Peterson" wrote:

Select column A
Format as General (anything but Text).
Edit|Replace
what: . (decimal point)
with: .
replace all

Excel should see the value as a number and will display 3.000 as 3 (in General
format).



Aline wrote:

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default REPLACE FUNCTION_ change 3.000 to 3...

another possibility - just in case not all of your data has a decimal so you
can use find/replace.

select the column in question, change the format of the cells to general.
with your column still selected, click data/text to columns, select
delimited, click next, uncheck any delimiter options that may be checked,
click next, select general under the format options, click finish.



"Aline" wrote:

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default REPLACE FUNCTION_ change 3.000 to 3...

Thank you so much. It works!
--
Aline


"JMB" wrote:

another possibility - just in case not all of your data has a decimal so you
can use find/replace.

select the column in question, change the format of the cells to general.
with your column still selected, click data/text to columns, select
delimited, click next, uncheck any delimiter options that may be checked,
click next, select general under the format options, click finish.



"Aline" wrote:

There's a column with results (1.000, 2.000, or 3.000, the Format Cells... is
Text) I would like to replace with 1, 2 or 3.

Is there a easier way to do it? I have tried =REPLACEB(A1, 2,4," "), but
it's not working. In the end I had to use Find function : find 3.000 and
replace 3; find 2.000 and replace 2, find 1.000 and replace 1.
(I've also tried change Format Cells from Text to General, and Number...)

A B
Level Obtained Level
3.000 3
2.000 2
2.000 2
3.000 3
1.000 1

Thanks,
Aline
--
Aline

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
Change Default Setting-Find & Replace-How? Roy Sprunger Excel Discussion (Misc queries) 7 February 17th 08 06:19 PM
why can't I change the date with find and replace in this formula MLTDebbie Excel Worksheet Functions 0 January 30th 08 08:52 PM
how to use Replace function to change worksheet names rizello Excel Discussion (Misc queries) 2 October 4th 06 08:41 PM
Using replace box to change a character into a CR (Alt-Enter char) Excel user Excel Discussion (Misc queries) 2 June 9th 06 12:26 PM
use replace command to change the contents of formulas Jordan Excel Discussion (Misc queries) 3 June 27th 05 04:51 PM


All times are GMT +1. The time now is 11:16 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"