+ Reply to Thread
Results 1 to 3 of 3

if no data, then show empty cell

Hybrid View

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    Raglan
    MS-Off Ver
    Excel 2003, 2007
    Posts
    28

    if no data, then show empty cell

    I'm using Excel 2003 and have a main workbook which stores the quotes, invoice, worksheet and contact details. In order to email only the invoice to a customer I have created another workbook which replicates whatever is shown in the open invoice tab of the main workbook. A macro from the main workbook then opens outlook.

    I attach a sample of both for information.

    My problem is this - You will note that on the email invoice that any entries where there is no cost in the main workbook, that it shows "£ -".

    Can anyone tell me how to get it to show an empty cell if no value in the main workbook?

    Any help or advice appreciated.
    Attached Files Attached Files
    Last edited by BongoBill; 07-31-2009 at 12:02 PM. Reason: Solved

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: if no data, then show empty cell

    Try changing the custom number format to this:
    _-"£"* #,##0.00_-;-"£"* #,##0.00_-;"";_-@_-
    
    1st section if: postive values:   _-"£"* #,##0.00_-
    2nd section if: negative values:  -"£"* #,##0.00_-
    3rd section if: zero values:      ""
    4th section if: text:            _-@_-

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    02-11-2009
    Location
    Raglan
    MS-Off Ver
    Excel 2003, 2007
    Posts
    28

    Re: if no data, then show empty cell

    Ron, Thank you so much. Exactly what I needed. It's been bugging me for days (no pun intended).

+ 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