How to creat a reference to a cell in another worksheet and keep f

  • Thread starter Thread starter PhilRobinson
  • Start date Start date
P

PhilRobinson

I am creating a reference to a cell in another worksheet in the same work
book but cells that are blank in the original workshhet are returned with a 0
in the new worksheet. How do I prevent this. I need to keep the same formats
in the second sheet as in the first sheet

Usinx Office Home & Student 2007 on Windows VISTA
 
Use this approach:

=IF(Sheet2!A1="","",Sheet2!A1)

Note that a formula cannot return a format, so you will have to set
these manually. You can use Paste Special | Formats to copy a range of
formats from one sheet to another.

Hope this helps.

Pete
 
Sorry, it still doen't work

Pete_UK said:
Use this approach:

=IF(Sheet2!A1="","",Sheet2!A1)

Note that a formula cannot return a format, so you will have to set
these manually. You can use Paste Special | Formats to copy a range of
formats from one sheet to another.

Hope this helps.

Pete
 
I don't see why it didn't work, unless you typed it in incorrectly. In
what way did it not work? Did you get an error message?

Pete
 
Back
Top