Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dee
 
Posts: n/a
Default Delete part of a formula

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!
--
Thanks!

Dee
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

In the Find text box use a tilde before the asterisk

~*.07

Excel may have converted your .07 to a 0.07, so be sure you put the correct
characters into the Find box

"dee" wrote:

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!
--
Thanks!

Dee

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

dee

Preface the Replace What with ~*0.07

The problem with *0.07 is that Excel views the 8 as a wildcard and replaces
everything.

The tilde ~ shows Excel you are looking for the literal *


Gord Dibben Excel MVP

On Tue, 26 Apr 2005 11:50:06 -0700, dee wrote:

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!


  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Typo alert

"views the 8 as" should read "views the * as"

Gord

On Tue, 26 Apr 2005 12:18:55 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

dee

Preface the Replace What with ~*0.07

The problem with *0.07 is that Excel views the 8 as a wildcard and replaces
everything.

The tilde ~ shows Excel you are looking for the literal *


Gord Dibben Excel MVP

On Tue, 26 Apr 2005 11:50:06 -0700, dee wrote:

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!


  #5   Report Post  
dee
 
Posts: n/a
Default

Thanks so much to both of you! Is this in the help anywhere?

It worked like a charm!
--
Thanks!

Dee


"Gord Dibben" wrote:

Typo alert

"views the 8 as" should read "views the * as"

Gord

On Tue, 26 Apr 2005 12:18:55 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

dee

Preface the Replace What with ~*0.07

The problem with *0.07 is that Excel views the 8 as a wildcard and replaces
everything.

The tilde ~ shows Excel you are looking for the literal *


Gord Dibben Excel MVP

On Tue, 26 Apr 2005 11:50:06 -0700, dee wrote:

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!





  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Search help for "wildcard characters".

From xl2003's help:

Wildcard characters
The following wildcard characters can be used as comparison criteria for
filters, and when searching and replacing content.

Use To find
? (question mark) Any single character
For example, sm?th finds "smith" and "smyth"
* (asterisk) Any number of characters
For example, *east finds "Northeast" and "Southeast"
~ (tilde) followed by ?, *, or ~
A question mark, asterisk, or tilde
For example, fy91~? finds "fy91?"


dee wrote:

Thanks so much to both of you! Is this in the help anywhere?

It worked like a charm!
--
Thanks!

Dee

"Gord Dibben" wrote:

Typo alert

"views the 8 as" should read "views the * as"

Gord

On Tue, 26 Apr 2005 12:18:55 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

dee

Preface the Replace What with ~*0.07

The problem with *0.07 is that Excel views the 8 as a wildcard and replaces
everything.

The tilde ~ shows Excel you are looking for the literal *


Gord Dibben Excel MVP

On Tue, 26 Apr 2005 11:50:06 -0700, dee wrote:

Hi,

I posted this earlier, but it didn't seem to appear in the group.

In any case, I would like to delete only part of a formula throughout my
worksheet.

For example, *.07

The other part of the formula varies, so I can't use a standard Find and
Replace. If I type *.07 in the Find box and Replace with nothing, it removes
the entire formula.

Help!

Thanks!




--

Dave Peterson
  #7   Report Post  
Gord Dibben
 
Posts: n/a
Default

HelpAnswer Wizard "wildcard"

Shows some info including use of the tilde.


Gord

On Wed, 27 Apr 2005 15:45:51 -0700, dee wrote:

Thanks so much to both of you! Is this in the help anywhere?

It worked like a charm!


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
find duplicate entries and delete them? Agnitoood Excel Worksheet Functions 1 February 28th 05 10:53 AM
Formula or not? Alan Excel Worksheet Functions 2 February 20th 05 03:26 PM
formula to delete last word in a column roger_home Excel Discussion (Misc queries) 3 February 16th 05 08:55 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


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