+ Reply to Thread
Results 1 to 3 of 3

Getting a #Value instead of a blank cell.

  1. #1
    Registered User
    Join Date
    12-19-2008
    Location
    CA
    Posts
    64

    Lightbulb Getting a #Value instead of a blank cell.

    D4 is linked to a cell in 'anotherworkbook'. It's also part of a formula in 'mainworkbook'. Not wanting to get an error, I tried:

    =IF(D4=0, "", G4/D4)


    D4's value is:

    ='[anotherworkbook.xls]Sheet1'!F5

    But when anotherworkbook.xls, has nothing input for Sheet1, F5... then I get a #Value returned instead of the "" blank spot I wanted.

    How should I fix this to return a blank cell instead of #Value?
    Last edited by Lizabeta; 04-27-2009 at 07:25 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,787

    Re: Getting a #Value instead of a blank cell.

    Try

    =IF(ISERR(G4/D4),"",G4/D4)

  3. #3
    Registered User
    Join Date
    04-07-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Getting a #Value instead of a blank cell.

    Hi,

    use this formula

    =IF(ISERROR(G4/D4),"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1