![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
|
I am trying to replace a cell value text string the cell value is " 1 ASD 4 PIZZA 00000 3 Dogs" i want a formula in the next cell that strips off all the 0's... without a VB code. to leave " 1 ASD 4 PIZZA 3 Dogs" any ideas? |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
How about =SUBSTITUTE(A1,"0","") |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
|
Perfect.
thanks dave.. Stupid me was looking for replace not substitute. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|