+ Reply to Thread
Results 1 to 3 of 3

Thread: Display value from another workbook, if less than display a blank

  1. #1
    aldutson
    Guest

    Display value from another workbook, if less than display a blank

    I want to display the value of a cell from another workbook. If the cell
    from the other worksheet is empty or the value is "0" then I want to display
    a blank cell rather than a "0"

  2. #2
    Forum Guru VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    12,010
    Hi,

    Use a if statement and isn't blank "<>"

    Adapt the formula to your sheet name and cell ref

    =IF([Book2]Sheet5!$C$7<>"",[Book2]Sheet5!$C$7,"")

    VBA Noob

  3. #3
    David Biddulph
    Guest

    Re: Display value from another workbook, if less than display a blank

    "aldutson" <aldutson@discussions.microsoft.com> wrote in message
    news:45BA6F0B-896F-4443-A3D2-36ABB6B81B10@microsoft.com...
    >I want to display the value of a cell from another workbook. If the cell
    > from the other worksheet is empty or the value is "0" then I want to
    > display
    > a blank cell rather than a "0"


    =IF(OR(ISBLANK([Book2]Sheet1!$A$1),[Book2]Sheet1!$A$1=0),"",[Book2]Sheet1!$A$1)
    --
    David Biddulph



+ 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.2.0