G
Guest
In Excel2002 or newer versions
Is it possible to have destination cells to respect/follow the format of
referenced cells?
If yes HOW? If no WHY?
Here is an example
In a1 I have -1234,00 with red fontcolor
In a2 I have 31/05/2007
In b1 I have "a1" without quotes
In b2 I have "a2" without quotes
In c1 I have =INDIRECT(b1) and it gives -1234 in black fontcolor
In c2 I have =INDIRECT(b2) and it gives 39233
In d1 I have =a1 and result is the same as in c1
In d2 I have =a2 and result is 39233,00
The question is:
What I have to use in order without copy paste formats cell by cell (since
target cells can be anywhere in my worksheets) to obtain in destination cells
(c1,c2 and/or d1,d2 in the example) the same format as their references (a1
and a2 in the example)
Thank you in advance for your time.
PS I am using Excel2002 and/or Excel2003 and I am in Europe (separator “;â€
decimal-separator “,†and date-formats dd/mm/yyyy)
Is it possible to have destination cells to respect/follow the format of
referenced cells?
If yes HOW? If no WHY?
Here is an example
In a1 I have -1234,00 with red fontcolor
In a2 I have 31/05/2007
In b1 I have "a1" without quotes
In b2 I have "a2" without quotes
In c1 I have =INDIRECT(b1) and it gives -1234 in black fontcolor
In c2 I have =INDIRECT(b2) and it gives 39233
In d1 I have =a1 and result is the same as in c1
In d2 I have =a2 and result is 39233,00
The question is:
What I have to use in order without copy paste formats cell by cell (since
target cells can be anywhere in my worksheets) to obtain in destination cells
(c1,c2 and/or d1,d2 in the example) the same format as their references (a1
and a2 in the example)
Thank you in advance for your time.
PS I am using Excel2002 and/or Excel2003 and I am in Europe (separator “;â€
decimal-separator “,†and date-formats dd/mm/yyyy)