copy and paste formulas

J

Jim

HI,

I currently use this formula:

=SUMPRODUCT(--(AM3:AM10000>=TIME(0,0,0)),--(AM3:AM10000<=TIME(0,29,59)),--(AO3:AO10000=1))

How do I paste this into another cell without changing the formula? The
paste special function > formulas is changing the destination.
 
C

ChrisJ

You need to modify the cell references in your formula - i.e. cell "A3" needs
to be referenced as "$A$3". A formula like that can be copied anywhere
without changing the source cells in the process. Hope that is what you are
looking for.

ChrisJ
 
T

tjtjjtjt

Another way:
Double-Click on the cell and Copy the data from the Formula Bar.
Press Escape.
Double-Click on the destination cell and Paste.
Press Enter.

tj
 
T

tjtjjtjt

Here's a method for doing this that I took out of a post from a frequent
poster, "RagDyer".

The trick to copying and pasting formulas to other locations without having
the cell references change, is to "unformulate" the formulas.
They then become simple "text', which will paste *exactly* to the new
locations.
You then "re-formulate" them so that they return to active formulas.

You do this by simply changing the equal sign at the beginning of the
formula to something else, so that XL doesn't recognoze them as formulas.

Select the formulas you wish to copy, then:
<Edit> <Replace>
In the "Find What" box enter " = " (no quotes),
In the "Replace With" box enter " ^^^^= " (no quotes),
Then <ReplaceAll>

Now, just copy and paste to the new location, and then reverse the process
to re-install the solitary equal sign, thus re-activating the formulas.


tj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top