+ Reply to Thread
Results 1 to 2 of 2

My formula a calculating blank cells

  1. #1
    Registered User
    Join Date
    06-17-2010
    Location
    Illinois
    MS-Off Ver
    Excel 2003 & 2007 & Mac
    Posts
    1

    Question My formula a calculating blank cells

    I'm creating a spreadsheet to track mileage for 12 vehicles over a one year period. I need to calculate the monthly miles, keep a running (cumulative) total and and average miles.

    My greatest problem is that my formula is calculating blank cells and returning a negative number. How can create a formula that only calculates when data is entered, not on the blank cell?
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: My formula a calculating blank cells

    Hello luderb,

    welcome to the forum.

    You can use a formula like this:

    =IF(F3,F3-D3,"")

    in cell E3. Copy down, then copy the whole block into columns G, I, K, etc.

    cheers

+ 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