Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Have a column of data containing from the left any number of dots
followed by a number. The columns can contain anywhere from none, to up to 25 dots, and followed by a number ranging from 1 to 2500. Am looking for a formula to display just the number without the dots in a column on another worksheet For example: ..........64 would display as 64 ...456 would display as 456 ......................22 would display as 22 Looked at SUBSTITUTE, LEN, TRIM, and all I'm getting for results is a partial or a headache. Thanks for any ideas. Rick |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Rick wrote:
Have a column of data containing from the left any number of dots followed by a number. The columns can contain anywhere from none, to up to 25 dots, and followed by a number ranging from 1 to 2500. Am looking for a formula to display just the number without the dots in a column on another worksheet For example: .........64 would display as 64 ..456 would display as 456 .....................22 would display as 22 Looked at SUBSTITUTE, LEN, TRIM, and all I'm getting for results is a partial or a headache. Thanks for any ideas. Rick SUBSTITUTE should work. =SUBSTITUTE(A1,".","") If not, describe your results. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Your problem is the ellipses. The default for MS Office products is to change
3 consecutive periods with an ellipses(sp?). Thereby the ... becomes 1 single character. You need a nested substitution. =SUBSTITUTE(SUBSTITUTE(A1,"€¦",""),".","") Hope this helps. -- John C "Rick" wrote: Have a column of data containing from the left any number of dots followed by a number. The columns can contain anywhere from none, to up to 25 dots, and followed by a number ranging from 1 to 2500. Am looking for a formula to display just the number without the dots in a column on another worksheet For example: ..........64 would display as 64 ...456 would display as 456 ......................22 would display as 22 Looked at SUBSTITUTE, LEN, TRIM, and all I'm getting for results is a partial or a headache. Thanks for any ideas. Rick |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Jul 15, 9:23*am, Glenn wrote:
Rick wrote: Have a column of data containing from the left any number of dots followed by a number. The columns can contain anywhere from none, to up to 25 dots, and followed by a number ranging from 1 to 2500. Am looking for a formula to display just the number without the dots in a column on another worksheet For example: .........64 would display as 64 ..456 would display as 456 .....................22 would display as 22 Looked at SUBSTITUTE, LEN, TRIM, and all I'm getting for results is a partial or a headache. Thanks for any ideas. Rick SUBSTITUTE should work. =SUBSTITUTE(A1,".","") If not, describe your results.- Hide quoted text - - Show quoted text - Glenn, thank you. Works fine. I think I was missing a widget in the formula. Rick |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Jul 15, 9:36*am, John C <johnc@stateofdenial wrote:
Your problem is the ellipses. The default for MS Office products is to change 3 consecutive periods with an ellipses(sp?). Thereby the ... becomes 1 single character. You need a nested substitution. =SUBSTITUTE(SUBSTITUTE(A1,"…",""),".","") Hope this helps. -- John C "Rick" wrote: Have a column of data containing from the left any number of dots followed by a number. The columns can contain anywhere from none, to up to 25 dots, and followed by a number ranging from 1 to 2500. Am looking for a formula to display just the number without the dots in a column on another worksheet For example: ..........64 would display as 64 ...456 would display as 456 ......................22 would display as 22 Looked at SUBSTITUTE, LEN, TRIM, and all I'm getting for results is a partial or a headache. Thanks for any ideas. Rick- Hide quoted text - - Show quoted text - John, that worked fine as well. Thanks for taking a look at it. Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
How to replace "#N/A" w "0"when vlookup couldn't find the match? | Excel Discussion (Misc queries) | |||
Replace dialog should put focus on "Find What" not "Replace With" | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Can you replace "TRUE" with " " in an exact formula? | Excel Worksheet Functions |