View Single Post
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

A formula can't return the formatting from another cell, only the value.
Perhaps you could use conditional formatting to change the appearance,
based on the formula results.

Twitty Kitty wrote:
Is it possible to copy the format of a cell from one worksheet to another
within a statement? for example if I want to copy the formatting of the text
in cell Go!B1 when Cell Go!A1 is null I know I can check for the condition
using:

If(Go!A1="",Go!B1,Go!A1)

This statement will put the text of either Go!A1 or Go!B1 into the selected
cell depending on if cell Go!A1 is empty or not. If it is empty, then this
is a header row and the text is in B1 so I want to copy that text (and its
formatting if possible) to the summary sheet.

The Summary sheet is dynamic so the rows can change, which is why I want to
link the data rows via statements rather than hardcoding them.

Is there any way to include the formatting of the text in the "copy" process
of the statement when the cell being copied is the header?

Any and all help and ideas are appreciated!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html