+ Reply to Thread
Results 1 to 5 of 5

Ignore cells with no value (blank but not 0) in calculation

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    Ignore cells with no value (blank but not 0) in calculation

    example A1="" B1=2 C1=3 IN F1: =A1-(B1/10)-(C1/10)

    answer should be -.01

    Need to skip which ever cell of the three is blank and only do the next part of the calculation

    So the A1- part is skipped in the calculation because A1 is blank (in the example). But any cell of the 3 could be blank.
    Last edited by JJGF; 11-17-2013 at 05:49 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Ignore cells with no value (blank but not 0) in calculation

    Please Login or Register  to view this content.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ignore cells with no value (blank but not 0) in calculation

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    Re: Ignore cells with no value (blank but not 0) in calculation

    Quote Originally Posted by mehmetcik View Post
    Please Login or Register  to view this content.
    Doesn't work, results in -.05 instead of -.01 due to the 0 replacing the blank cell in A1

  5. #5
    Forum Contributor
    Join Date
    12-06-2012
    Location
    sacramento,calif
    MS-Off Ver
    Excel 2010
    Posts
    217

    Re: Ignore cells with no value (blank but not 0) in calculation

    Quote Originally Posted by newdoverman View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Seems to work according to example I provided, now what if 2 of 3 cells are blank, if not too much trouble, how would you modify this formula?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How can I make a macro ignore blank cells? - Blank Cells have formulas
    By mz1161 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2013, 08:54 AM
  2. Ignore blank cells
    By bmunoz64 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-31-2009, 11:52 AM
  3. Ignore blank Cells
    By blackstar in forum Excel General
    Replies: 3
    Last Post: 10-27-2006, 04:53 AM
  4. How to ignore blank cells
    By MattBeckwith in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 02-19-2006, 07:25 PM
  5. [SOLVED] how do you ignore blank cells
    By Kerry in forum Excel General
    Replies: 1
    Last Post: 02-16-2005, 10:42 AM

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