Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
how do i use the value of a cell without the dashes?
For example range(A1) = "123456-4434" i want to use that number in an equasion as "1234564434" thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
=SUBSTITUTE(A1,"-","")+1 In article , "Patrick" wrote: how do i use the value of a cell without the dashes? For example range(A1) = "123456-4434" i want to use that number in an equasion as "1234564434" thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
try ret_var=CDbl(Replace(range("A1").value,"-","")) -- Regards Frank Kabel Frankfurt, Germany Patrick wrote: how do i use the value of a cell without the dashes? For example range(A1) = "123456-4434" i want to use that number in an equasion as "1234564434" thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=SUBSTITUTE(A1,"-","")
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Patrick" wrote in message ... how do i use the value of a cell without the dashes? For example range(A1) = "123456-4434" i want to use that number in an equasion as "1234564434" thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to change numbers with dashes to numbers with no dashes | Excel Discussion (Misc queries) | |||
Dashes I want Dashes | Excel Discussion (Misc queries) | |||
how to remove dashes | Excel Worksheet Functions | |||
Replace dashes | Excel Discussion (Misc queries) | |||
What are dashes for | Excel Discussion (Misc queries) |