ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   HP and Functions (https://www.excelbanter.com/excel-worksheet-functions/130990-hp-functions.html)

Mike S.

HP and Functions
 
I'm trying to replace all instances of "HP2-" in a column of text with
"COC3-". Each time I run the Replace command, I get an error saying that the
formula is invalid.

I get the same error when I use "HP2" and "HP". When I try searching the
help files for "HP in Functions", I get a list of text functions and issues -
none of which show HP in the description.

What's happening? (I tried using MS Tech Support, but I'm not allowed to
pay the $50 fee and the free period is over. Grrrrr!)

--
Mike S.

Mike S.

HP and Functions
 
btw, I'm using Excel 2003.
--
Mike S.


"Mike S." wrote:

I'm trying to replace all instances of "HP2-" in a column of text with
"COC3-". Each time I run the Replace command, I get an error saying that the
formula is invalid.

I get the same error when I use "HP2" and "HP". When I try searching the
help files for "HP in Functions", I get a list of text functions and issues -
none of which show HP in the description.

What's happening? (I tried using MS Tech Support, but I'm not allowed to
pay the $50 fee and the free period is over. Grrrrr!)

--
Mike S.


Dave Peterson

HP and Functions
 
What else is in those cells?

Any chance that after the change, whatever is left looks like a formula and
doesn't make sense to excel?

Any chance that you're getting a "formula too long" message? This can happen
when there's lots and lots of text in the cell.

Mike S. wrote:

I'm trying to replace all instances of "HP2-" in a column of text with
"COC3-". Each time I run the Replace command, I get an error saying that the
formula is invalid.

I get the same error when I use "HP2" and "HP". When I try searching the
help files for "HP in Functions", I get a list of text functions and issues -
none of which show HP in the description.

What's happening? (I tried using MS Tech Support, but I'm not allowed to
pay the $50 fee and the free period is over. Grrrrr!)

--
Mike S.


--

Dave Peterson

Billy Liddel

HP and Functions
 
If the data is in column c use the SUBSTITUTE formula

=SUBSTITUTE(C1,"HP2-","COC3-") and copy down.

Or you can use the Edit, Replace function (Crtl + H) and type the values in
the form.

Peter

"Mike S." wrote:

I'm trying to replace all instances of "HP2-" in a column of text with
"COC3-". Each time I run the Replace command, I get an error saying that the
formula is invalid.

I get the same error when I use "HP2" and "HP". When I try searching the
help files for "HP in Functions", I get a list of text functions and issues -
none of which show HP in the description.

What's happening? (I tried using MS Tech Support, but I'm not allowed to
pay the $50 fee and the free period is over. Grrrrr!)

--
Mike S.


Mike S.

HP and Functions
 
This worked great! Many thanks.
--
Mike S.


"Billy Liddel" wrote:

If the data is in column c use the SUBSTITUTE formula

=SUBSTITUTE(C1,"HP2-","COC3-") and copy down.

Or you can use the Edit, Replace function (Crtl + H) and type the values in
the form.

Peter

"Mike S." wrote:

I'm trying to replace all instances of "HP2-" in a column of text with
"COC3-". Each time I run the Replace command, I get an error saying that the
formula is invalid.

I get the same error when I use "HP2" and "HP". When I try searching the
help files for "HP in Functions", I get a list of text functions and issues -
none of which show HP in the description.

What's happening? (I tried using MS Tech Support, but I'm not allowed to
pay the $50 fee and the free period is over. Grrrrr!)

--
Mike S.



All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com