Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Buce
 
Posts: n/a
Default Another of Excel's idiosyncrasis

In the formula "=ROUND(Data!G242*0.975*0.5*0.975,0)", if I need to do an
edit, replace to eliminate the portion "*.975,0)" and replace that with
",0)", Excel insists on screwing up the whole formula and resulting cell
entry is ",0)"

This is so stupid of Excel to do it that way, when I am only wanting a
portion replaced. How do I get around this most inconvenient indiosyncracy of
Excel in this case?

Thanks,



  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Buce wrote...
In the formula "=ROUND(Data!G242*0.975*0.5*0.975,0)", if I need to do an
edit, replace to eliminate the portion "*.975,0)" and replace that with
",0)", Excel insists on screwing up the whole formula and resulting cell
entry is ",0)"

This is so stupid of Excel to do it that way, when I am only wanting a
portion replaced. How do I get around this most inconvenient indiosyncracy of
Excel in this case?


* and ? are wildcard characters, * matching any text, ? matching any
single character. If you try to find

*.975,0)

the * will match all characters to the left of .975,0), so you're
matching the entire formula. You need to use ~* to represent a literal
asterisk. So search for

~*0.975,0)

[note: you need to include the 0 to the left of the decimal place].

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

Buce

Not an idiosyncracy, but a question of search wildcards.

The asterisk "*" is a wildcard in a find and replace.

To find and replace an * you must preface with a tilde(~)

Try finding "~*0.975,0)" and replacing with ",0"

Same for finding a ? mark. "~?" must be used.


Gord Dibben Excel MVP

On Wed, 22 Jun 2005 14:43:17 -0700, "Buce"
wrote:

In the formula "=ROUND(Data!G242*0.975*0.5*0.975,0)", if I need to do an
edit, replace to eliminate the portion "*.975,0)" and replace that with
",0)", Excel insists on screwing up the whole formula and resulting cell
entry is ",0)"

This is so stupid of Excel to do it that way, when I am only wanting a
portion replaced. How do I get around this most inconvenient indiosyncracy of
Excel in this case?

Thanks,



  #4   Report Post  
Bruce
 
Posts: n/a
Default

Thanks, I should of remembered things like that, but I run into that
situation to infrequently to remember I guess.

Bruce

"Harlan Grove" wrote:

Buce wrote...
In the formula "=ROUND(Data!G242*0.975*0.5*0.975,0)", if I need to do an
edit, replace to eliminate the portion "*.975,0)" and replace that with
",0)", Excel insists on screwing up the whole formula and resulting cell
entry is ",0)"

This is so stupid of Excel to do it that way, when I am only wanting a
portion replaced. How do I get around this most inconvenient indiosyncracy of
Excel in this case?


* and ? are wildcard characters, * matching any text, ? matching any
single character. If you try to find

*.975,0)

the * will match all characters to the left of .975,0), so you're
matching the entire formula. You need to use ~* to represent a literal
asterisk. So search for

~*0.975,0)

[note: you need to include the 0 to the left of the decimal place].


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
Excel's Fourier Analysis should be a function, so that results upd BobM Excel Worksheet Functions 4 January 30th 06 03:06 PM
Getting Excel's charting capabilities from Access vince Excel Discussion (Misc queries) 1 March 26th 05 04:29 PM
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. stvermont Excel Discussion (Misc queries) 1 February 17th 05 01:34 AM
Excel's Dialog Box Dialog Box Excel Discussion (Misc queries) 1 February 12th 05 12:53 PM
Excel's column width format box rly2rys New Users to Excel 2 December 15th 04 03:17 AM


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