PC Review


Reply
Thread Tools Rate Thread

convert formula to text

 
 
=?Utf-8?B?Q2FybWVu?=
Guest
Posts: n/a
 
      4th Aug 2007
I have a very long formula using
sumprodct(--isna(match(.....)),--match(....)). IN this formula, i'm
comparing four columns and these columns are defined in four cells because
they are not constant. The problem with this formula is that it is extremely
slowing down the excel file. Any change made takes a long time to
recalculate, but I can't turn calculation manual because I need other cells
to change.

Now that the formula is set in a cell, can I use a function/macro to convert
the formula to text when this formula is not used and convert it back to
formula when used?

Thanks,

Carmen
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
 
      4th Aug 2007
Maybe this:

Select the cells to be impacted

This will convert formulas to text:
[Ctrl]+H.........a shortcut for <edit><replace>
Find what: =SUMPRODUCT
Replace with: ||=SUMPRODUCT
Click either [Replace] or [Replace All]....depending on the selection

This will make them formulas again:
[Ctrl]+H.........a shortcut for <edit><replace>
Find what: ||=SUMPRODUCT
Replace with: =SUMPRODUCT
Click either [Replace] or [Replace All]....depending on the selection

Note: Depending on your formula structure you may be able to search for:
=SUM or maybe even: =

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Carmen" wrote:

> I have a very long formula using
> sumprodct(--isna(match(.....)),--match(....)). IN this formula, i'm
> comparing four columns and these columns are defined in four cells because
> they are not constant. The problem with this formula is that it is extremely
> slowing down the excel file. Any change made takes a long time to
> recalculate, but I can't turn calculation manual because I need other cells
> to change.
>
> Now that the formula is set in a cell, can I use a function/macro to convert
> the formula to text when this formula is not used and convert it back to
> formula when used?
>
> Thanks,
>
> Carmen

 
Reply With Quote
 
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
 
      4th Aug 2007
One more thought.....if it's only 1 cell with that formula:

Select the cell
[F2]...................to edit the cell
[Ctrl]+[Home].....to move to the beginning of the formula
Type '.....that's an apostrophe.....Press [Enter]

(now the cell is text)

To restore the formula
Follow the same instructions....but, remove the apostrophe.

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"Ron Coderre" wrote:

> Maybe this:
>
> Select the cells to be impacted
>
> This will convert formulas to text:
> [Ctrl]+H.........a shortcut for <edit><replace>
> Find what: =SUMPRODUCT
> Replace with: ||=SUMPRODUCT
> Click either [Replace] or [Replace All]....depending on the selection
>
> This will make them formulas again:
> [Ctrl]+H.........a shortcut for <edit><replace>
> Find what: ||=SUMPRODUCT
> Replace with: =SUMPRODUCT
> Click either [Replace] or [Replace All]....depending on the selection
>
> Note: Depending on your formula structure you may be able to search for:
> =SUM or maybe even: =
>
> Is that something you can work with?
> ***********
> Regards,
> Ron
>
> XL2003, WinXP
>
>
> "Carmen" wrote:
>
> > I have a very long formula using
> > sumprodct(--isna(match(.....)),--match(....)). IN this formula, i'm
> > comparing four columns and these columns are defined in four cells because
> > they are not constant. The problem with this formula is that it is extremely
> > slowing down the excel file. Any change made takes a long time to
> > recalculate, but I can't turn calculation manual because I need other cells
> > to change.
> >
> > Now that the formula is set in a cell, can I use a function/macro to convert
> > the formula to text when this formula is not used and convert it back to
> > formula when used?
> >
> > Thanks,
> >
> > Carmen

 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      4th Aug 2007

You could also consider changing the formula to a Database function (DGet ?).
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Carmen" <(E-Mail Removed)>
wrote in message
I have a very long formula using
sumprodct(--isna(match(.....)),--match(....)). IN this formula, i'm
comparing four columns and these columns are defined in four cells because
they are not constant. The problem with this formula is that it is extremely
slowing down the excel file. Any change made takes a long time to
recalculate, but I can't turn calculation manual because I need other cells
to change.

Now that the formula is set in a cell, can I use a function/macro to convert
the formula to text when this formula is not used and convert it back to
formula when used?
Thanks,
Carmen
 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      4th Aug 2007
Here is another approach. Modify your formulas like this

=IF(P1="",SUMPRODUCT(--($J$2:$J$3100>5),--($K$2:$K$3100=1),--($L$2:$L$3100>51),--($M$2:$M$3100=1),$N$2:$N$3100),"")

then if P1 is anything but blank, the Sumproduct part is not recalculated.
Clear P1 and it recalculates normally. Use any cell you want to control the
calculation.

--
Regards,
Tom Ogilvy


"Carmen" wrote:

> I have a very long formula using
> sumprodct(--isna(match(.....)),--match(....)). IN this formula, i'm
> comparing four columns and these columns are defined in four cells because
> they are not constant. The problem with this formula is that it is extremely
> slowing down the excel file. Any change made takes a long time to
> recalculate, but I can't turn calculation manual because I need other cells
> to change.
>
> Now that the formula is set in a cell, can I use a function/macro to convert
> the formula to text when this formula is not used and convert it back to
> formula when used?
>
> Thanks,
>
> Carmen

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text to Formula Mjones14 Microsoft Excel Worksheet Functions 4 6th Jul 2009 04:51 PM
Convert Text into Formula in VBA =?Utf-8?B?YWs=?= Microsoft Excel Programming 6 14th Apr 2007 04:06 PM
Re: How to convert formula to text vezerid Microsoft Excel Worksheet Functions 0 15th Dec 2006 03:32 PM
how to convert a formula into text in order to display the formula =?Utf-8?B?Q2xhdWRpbyBIYXJ0enN0ZWlu?= Microsoft Excel Misc 2 13th Jul 2006 09:58 AM
how to convert text to formula? =?Utf-8?B?b21hcg==?= Microsoft Excel Programming 6 10th Mar 2005 03:05 PM


Features
 

Advertising
 

Newsgroups
 


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