+ Reply to Thread
Results 1 to 6 of 6

Getting a 0 value when formula multiplies 2 cells but 1 is empty

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    2

    Getting a 0 value when formula multiplies 2 cells but 1 is empty

    Hello everybody, just signed up since i cant get it figured out myself.
    Question itself will show i am not really great with excel.



    I am using this in C10 to C18
    =ABS(A10-B10)
    To get the difference between A10:A18 and B10:B18.
    However A16 is 58009 and B16 is blank but C16 is still showing 58009 while it has to be 0.
    Makes sense with the formula used.

    What is a better formula i can use to calculate this?

    Thanks
    Last edited by YvesT; 06-05-2015 at 08:15 AM.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Small probably simple question.

    Hi,
    Welcome to the forum.

    Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Small probably simple question.

    Blank Cell is consider as 0
    58009-0 = 58009
    ABS(58009)= 58009

  4. #4
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Small probably simple question.

    Blank Cell is consider as 0
    58009-0 = 58009
    ABS(58009)= 58009

  5. #5
    Registered User
    Join Date
    06-05-2015
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    2

    Re: Getting a 0 value when formula multiplies 2 cells but 1 is empty

    Sorry totaly missed the reply.
    Problem with this is.
    for example A10 is old value B10 is new value
    which will in turn give the new value to A11.

    This solution this will be a new problem i think.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting a 0 value when formula multiplies 2 cells but 1 is empty

    c10=(or(a10="",b10=""),0,abs(a10-b10)) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. A simple question requiring a simple answer
    By Pedros in forum Excel General
    Replies: 3
    Last Post: 07-18-2006, 06:45 AM
  2. [SOLVED] Simple Simple Excel usage question
    By BookerW in forum Excel General
    Replies: 1
    Last Post: 06-23-2005, 05:05 PM
  3. [SOLVED] a small question
    By Jimmy Pop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2005, 03:05 PM
  4. [SOLVED] NEED HELP, SMALL QUESTION
    By DiskDoctor in forum Excel General
    Replies: 2
    Last Post: 05-19-2005, 09:06 AM
  5. [SOLVED] Simple Cash Flow Small business
    By Ed West in forum Excel General
    Replies: 0
    Last Post: 04-10-2005, 12:07 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