Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default referring to formula in a non active cell from active cell

Is there a way to refer to the formula from (not value of) a non
active cell into a formula in an active cell?

For example,

A1: =A2+A3 [non active cell]

Would like to insert above formula (A2+A3) into active cell's formula
by referring to A1, non active cell.

B1: = ?function?(A1) + B4 + B5 [active cell]

Here are the values of cells:
B2 = 2
B3 = 3
B4 = 4
B5 = 5

So the value of B1 would be 2+3+4+5 or 14.

Thanks in advance for any guidance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default referring to formula in a non active cell from active cell

There's not a function in excel that lets you look at the formula.

You'd have to use some sort of macro.

If I were doing this for a single cell, I'd just select A1 and select the
formula in the formula bar and hit ctrl-c (to copy it).

Then select the other cell and position the cursor in the formulabar right after
the equal sign and ctrl-v.

You may want to avoid copying the leading equal sign and you may want to add ()
around the portion of the formula you pasted.

nickname wrote:

Is there a way to refer to the formula from (not value of) a non
active cell into a formula in an active cell?

For example,

A1: =A2+A3 [non active cell]

Would like to insert above formula (A2+A3) into active cell's formula
by referring to A1, non active cell.

B1: = ?function?(A1) + B4 + B5 [active cell]

Here are the values of cells:
B2 = 2
B3 = 3
B4 = 4
B5 = 5

So the value of B1 would be 2+3+4+5 or 14.

Thanks in advance for any guidance.


--

Dave Peterson
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
how to use the active cell in an Excel formula EPMMGR06 Excel Worksheet Functions 3 May 15th 23 07:45 PM
Active cell village_idiot Excel Discussion (Misc queries) 17 April 19th 07 06:30 PM
Active Cell To Change Formula PaulW Excel Discussion (Misc queries) 7 September 21st 06 04:03 PM
how to copy a trendline formula into an active cell ? bushra Excel Discussion (Misc queries) 0 July 7th 06 04:57 PM
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. ragman10 Excel Discussion (Misc queries) 1 December 13th 04 11:52 PM


All times are GMT +1. The time now is 10:20 AM.

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"