Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Simplest way to calculate for a cell which embeds text

Hi All,

I've got cells like "200 at 148.25" and I'd like to convert it to
"=200 * 148.25" as a formula to be evaluated. Is there a simple way
to do that in Excel 2003 SP3 running on Win XP-Pro/SP3?

Thanks in Advance,
Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Simplest way to calculate for a cell which embeds text

On Feb 6, 7:26*am, RichardOnRails
wrote:
Hi All,

I've got cells like "200 at 148.25" and I'd like to convert it to
"=200 * 148.25" as a formula to be evaluated. *Is there a simple way
to do that in Excel 2003 SP3 running on Win XP-Pro/SP3?

Thanks in Advance,
Richard


1- Select all cells where the evaluation needs to happen, then type
Crtl+H replace all "at" to "*" then press Replace All.
2- again type Crtl+H replace all "200" to "=200" then press Replace
All.

This should solve the problem.

Thanks,
Thyag
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Simplest way to calculate for a cell which embeds text

On Feb 5, 9:39*pm, Thyag wrote:
On Feb 6, 7:26*am, RichardOnRails

wrote:
Hi All,


I've got cells like "200 at 148.25" and I'd like to convert it to
"=200 * 148.25" as a formula to be evaluated. *Is there a simple way
to do that in Excel 2003 SP3 running on Win XP-Pro/SP3?


Thanks in Advance,
Richard


1- Select all cells where the evaluation needs to happen, then type
Crtl+H replace all "at" to "*" then press Replace All.
2- again type Crtl+H replace all "200" to "=200" then press Replace
All.

This should solve the problem.

Thanks,
Thyag


Hi Thyag,

That was a lot better than the VBA function I dreamed up (but hadn't
been able to apply yet) after I posted my question.

It turns out you solution was even simpler than we imagined. The
minute I transformed the "at" to "*", the arithmetic was immediately
applied, so there was nothing left to do.

Great solution!!

Many thanks,
Richard
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
What is the simplest IPC from Excel VBA to a .NET app? John Brock Excel Discussion (Misc queries) 5 November 9th 09 10:59 PM
Simplest Question James8309 Excel Programming 2 July 18th 08 07:05 AM
Calculate value in a text filled cell D-- Excel Worksheet Functions 6 July 12th 07 02:05 AM
What is the simplest way famdamly Excel Discussion (Misc queries) 4 February 16th 06 10:23 PM
Need a formula that will calculate a cell of text. Dixie Excel Programming 4 September 2nd 05 12:54 AM


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