Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2006

Tip: Looking for answers? Try searching our database.

Nested IF statement Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kastnna - 07 Dec 2006 15:41 GMT
I have two sheets in a workbook (Sht1 & Sht2). I have a list of names
in column A of Sht1. I want Column A in Sht2 to mirror Column A in
Sht1. I entered "='Sht1'!A2" in Sht2 cell A2 and this works, but if the
cell in Sht1 is blank, then the cell in Sht2 displays 0.

I need help getting around this. I figured an IF statment could
probably do it, but need help with the formula.

Thanks
Ian - 07 Dec 2006 15:53 GMT
One option is to disable the display of zero values on Sht2, unless this
conflicts with something else in the workbook.

Select Sht2 then go to Tools>Options>View and deselect Zero values. The
disables the display of zero values just on the selected sheet (Excel 2002),
but may differ in other versions.

Signature

Ian
--

>I have two sheets in a workbook (Sht1 & Sht2). I have a list of names
> in column A of Sht1. I want Column A in Sht2 to mirror Column A in
[quoted text clipped - 5 lines]
>
> Thanks
kastnna - 07 Dec 2006 16:07 GMT
Good idea, but the sheet will have numbers in it and cells that only
display zeros.
Gord Dibben - 07 Dec 2006 16:12 GMT
=IF(Sht1!A1="","",Sht1!A1)

Gord Dibben  MS Excel MVP

>I have two sheets in a workbook (Sht1 & Sht2). I have a list of names
>in column A of Sht1. I want Column A in Sht2 to mirror Column A in
[quoted text clipped - 5 lines]
>
>Thanks
kastnna - 07 Dec 2006 16:21 GMT
Thank you. That did it.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.