Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Shirley M.
 
Posts: n/a
Default replace number from a range with single value

I have a list of numbers in one column, e.g. 3.1, 3.4, 2.3 4.3 etc. Does
anybody know if I can replace numbers within a range with one value i.e. all
numbers between 3.1 and 3.5 to become 3B all numbers between 2.0 and 2.5 to
become 2B and numbers between 4.0 and 4.5 to become 4B, the list would then
become 3B, 3B, 2B, 4B. Is it possible to do this without going to individual
cells, similar to the find and replace function?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default replace number from a range with single value


Use Find and Replace

.* in Find
Replace with B


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=551954

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default replace number from a range with single value

Maybe in a helper column use this, copied down.....

=INT(A1)&"B"

Then Copy PasteSpecial Values on the helper column to get rid of the
formulas and delete the original column if desired.

Vaya con Dios,
Chuck, CABGx3



"Shirley M." wrote:

I have a list of numbers in one column, e.g. 3.1, 3.4, 2.3 4.3 etc. Does
anybody know if I can replace numbers within a range with one value i.e. all
numbers between 3.1 and 3.5 to become 3B all numbers between 2.0 and 2.5 to
become 2B and numbers between 4.0 and 4.5 to become 4B, the list would then
become 3B, 3B, 2B, 4B. Is it possible to do this without going to individual
cells, similar to the find and replace function?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Shirley M.
 
Posts: n/a
Default replace number from a range with single value

Thank you to both of you for your replies but I dont think I explained myself
properly. The replacement would not always be a B. I would have As, Bs and
Cs. Is there anyway of saying all numbers between 3.0 and 3.3 will be 3C all
between 3.4 and 3.6 would be 3B and all between 3.7 and 3.9 will be 3A Thank
you again and I am grateful for all suggestions.

"CLR" wrote:

Maybe in a helper column use this, copied down.....

=INT(A1)&"B"

Then Copy PasteSpecial Values on the helper column to get rid of the
formulas and delete the original column if desired.

Vaya con Dios,
Chuck, CABGx3



"Shirley M." wrote:

I have a list of numbers in one column, e.g. 3.1, 3.4, 2.3 4.3 etc. Does
anybody know if I can replace numbers within a range with one value i.e. all
numbers between 3.1 and 3.5 to become 3B all numbers between 2.0 and 2.5 to
become 2B and numbers between 4.0 and 4.5 to become 4B, the list would then
become 3B, 3B, 2B, 4B. Is it possible to do this without going to individual
cells, similar to the find and replace function?

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
A Challenge: Detection of first and Last +ve number in a range Chris Gorham Excel Worksheet Functions 1 May 17th 06 03:44 PM
Replace variable row number in formulas Ldub Excel Discussion (Misc queries) 0 November 3rd 05 10:25 PM
Formula to determine whether number falls within range?? Cat Excel Worksheet Functions 4 September 17th 05 03:01 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 06:47 AM


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