If I make an equation:

' on cell A2
=A1

Is there a way to make A2 have the exact same formatting as A1 and not just the value?

EDIT:

i.e. I want a FORMULA that copies both the value and the format/including conditional formatting of the original/source cell

link|improve this question

80% accept rate
1  
I think what you're saying is that you want a formula which will calculate a value based on a source cell and also set the formatting of the destination cell based on the formatting of the source cell. Your use of the word "copy" is confusing the issue, since that usually refers to a copy/paste operation. I also don't think you can do what you want because formulas are designed to affect the value of a cell, not its format. The best you can do is apply the same conditional formats to the destination cell that are applied to the source. – davidcl Jan 22 '10 at 2:17
feedback

5 Answers

up vote 1 down vote accepted

There doesn't exist any standard Excel function that does what you are asking. You need a user defined function to be built via VBA

link|improve this answer
feedback

Not sure what you're asking here. Are you asking for -right-click-on-cell-, copy, some other cell, paste special, paste formatting ?

link|improve this answer
Nope, I want a formula that copies both the value and the format of the original/source cell – dassouki Jan 21 '10 at 13:11
@dassouki - I'm sure I'm still missing something, but won't regular copy/paste do exactly that ? – ldigas Jan 21 '10 at 13:22
Not when there's conditional formatting involved – dassouki Jan 21 '10 at 13:29
The normal copy/paste does copy conditional formatting. – Lunatik Jan 21 '10 at 13:54
feedback

Need to use the paintbrush tool to copy the conditional formatting.

link|improve this answer
I was hoping for a formula – dassouki Jan 21 '10 at 15:56
@dassouki - I don't get it. How can you "formulate" a copy/paste operation ? Could you at least tell us what you need something like that for; it will help us understand the problemy you're having ... – ldigas Jan 21 '10 at 17:18
feedback

I am not sure entirely what you are asking for but if what you are trying to do is copy a cell with a formula that references a specific cell through multiple cells that will still reference back back to the one cell (I.E. A2 + B2 = C2, copied to next row down to be A3 + B2 + C3) you will need to include $ before the cells you are wanting a fixed reference on in the formula. Is this the right direction or am i mis reading your question? Try this link for more help http://office.microsoft.com/en-us/excel/HP101023421033.aspx

link|improve this answer
feedback

This may not be what you are after, but possibly the camera tool could be useful as a way to return content and formatting, if you are trying to just visually monitor a cell.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.