Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / July 2006

Tip: Looking for answers? Try searching our database.

how to get formula content of a cell?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
muster - 28 Jul 2006 15:34 GMT
For example

A1: =b2+c2, result is 5

I'd like to get "=b2+c2", not 5, without VBA.

Thank you.
Alan - 28 Jul 2006 15:51 GMT
Press Ctrl and ` together (key to the left of 1 on the left side of the
keyboard),
Regards,
Alan.

> For example
>
[quoted text clipped - 3 lines]
>
> Thank you.
muster - 28 Jul 2006 16:25 GMT
Thank you. What I really want is to reference to the formula in another
cell.

> Press Ctrl and ` together (key to the left of 1 on the left side of the
> keyboard),
[quoted text clipped - 8 lines]
> >
> > Thank you.
David Biddulph - 28 Jul 2006 15:55 GMT
> For example
>
> A1: =b2+c2, result is 5
>
> I'd like to get "=b2+c2", not 5, without VBA.

Tools/ Options/ View:  Formulas
Signature

David Biddulph

Kevin Vaughn - 28 Jul 2006 16:37 GMT
I interpreted this differently than the other 2 responders to your question.  
If my interpretation is correct, there is absolutely no way (that I know of)
to get the formula contents of a cell (returned into another cell; this is
where my interpretation differs,) without using VBA.

I qualified my answer to include the phrase that I know of just in case.  
Due to the slight possibility that someone will pipe up with an answer that I
never heard of.  But if such a solution exists, I wonder why I haven't heard
of it before.
Signature

Kevin Vaughn

> For example
>
[quoted text clipped - 3 lines]
>
> Thank you.
muster - 28 Jul 2006 16:52 GMT
You interpret right. That's why I ask in worksheetfunctions group.
Thank you.

> I interpreted this differently than the other 2 responders to your question.
> If my interpretation is correct, there is absolutely no way (that I know of)
[quoted text clipped - 15 lines]
> >
> > Thank you.
Beege - 28 Jul 2006 18:41 GMT
Muster,

I know you said "no VBA", but this might help to address your question:

http://www.mvps.org/dmcritchie/excel/formula.htm

Beege

> For example
>
[quoted text clipped - 3 lines]
>
> Thank you.
Beege - 28 Jul 2006 19:02 GMT
Muster,

Found this, too... and no VBA

http://www.mcse.ms/archive144-2005-5-1637686.html

Beege

> For example
>
[quoted text clipped - 3 lines]
>
> Thank you.
muster - 28 Jul 2006 19:50 GMT
Thank you.

> Muster,
>
[quoted text clipped - 11 lines]
> >
> > Thank you.
Beege - 28 Jul 2006 19:54 GMT
muster,

you/re welcome...

Beege

> Thank you.
>
[quoted text clipped - 13 lines]
>> >
>> > Thank you.
Kevin Vaughn - 28 Jul 2006 20:57 GMT
I'm glad I qualified my answer.  However, I believe that there is a potential
problem with this solution.  I tested it and it did work, however, this is
probably a function leftover from Excel's previous macro language (the name
of which escapes me, something like xmla,) which I have read can cause (I
believe) a crash if copied to other worksheets  in certain versions of Excel
(something like that.)  If someone reads this and knows the exact scenario,
hopefully they'll respond with the specifics.
Signature

Kevin Vaughn

> Muster,
>
[quoted text clipped - 11 lines]
> >
> > Thank you.
Ragdyer - 28 Jul 2006 22:44 GMT
From XL02 forward, the bug was fixed.

I've used it in past versions, although not on any WB that was put on the
LAN.

Can never trust users to listen to, and follow instructions, especially
pertaining to fatal consequences.

In fact, I've suggested it's use in a post just today, but prefixed it with
the caveat of pre-XL02 usage.
Signature

Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> I'm glad I qualified my answer.  However, I believe that there is a
> potential
[quoted text clipped - 23 lines]
>> >
>> > Thank you.
Peo Sjoblom - 28 Jul 2006 23:17 GMT
The bug was fixed so it wouldn't crash but I believe you can't copy the
formula to another sheet

Signature

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com

> From XL02 forward, the bug was fixed.
>
[quoted text clipped - 34 lines]
>>> >
>>> > Thank you.
RagDyeR - 29 Jul 2006 18:02 GMT
AFAIK Peo, *everything* was fixed!

Copying from WB to WB is no longer a problem.
Signature


Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

The bug was fixed so it wouldn't crash but I believe you can't copy the
formula to another sheet

Signature

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com

> From XL02 forward, the bug was fixed.
>
[quoted text clipped - 33 lines]
>>> >
>>> > Thank you.
Kevin Vaughn - 28 Jul 2006 23:54 GMT
Thanks.  So I would still be affected as I am still using 2000.
Signature

Kevin Vaughn

> From XL02 forward, the bug was fixed.
>
[quoted text clipped - 33 lines]
> >> >
> >> > Thank you.
RagDyeR - 29 Jul 2006 18:21 GMT
You would cause XL to crash *IF* you attempted to *COPY* the formula to
another WB.

Using it is *not* a problem.
Creating (re-writing) it in another WB is *not* a problem.

It has it's place when used properly in the pre-XL02 versions.
Signature


Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

Thanks.  So I would still be affected as I am still using 2000.
Signature

Kevin Vaughn

"Ragdyer" wrote:

> From XL02 forward, the bug was fixed.
>
[quoted text clipped - 32 lines]
> >> >
> >> > Thank you.
Kevin Vaughn - 31 Jul 2006 16:02 GMT
Ah.  It's copying to another workbook?  For some reason, I was under the
impression that it was copying to another worksheet that was the problem.  
Thanks.  So far I haven't felt like testing it (to the extent of trying to
make Excel crash.)
Signature

Kevin Vaughn

> You would cause XL to crash *IF* you attempted to *COPY* the formula to
> another WB.
[quoted text clipped - 47 lines]
> > >> >
> > >> > Thank you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.