+ Reply to Thread
Results 1 to 7 of 7

Addition of cells and plotting on graph

  1. #1
    Registered User
    Join Date
    06-04-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    59

    Addition of cells and plotting on graph

    Evening Guys , Please could someone be so kind to assist with this excel issue im encountering i cannot figure out a way to make a formula work.

    I basically have a monetary values entered in column "B" These can be zero , negative values or positive values

    Column "F" is just a cumulative of them values as they are added in the cells in column "B"

    what the problem is , i need the future cells in column "F" to remain at #N/A as my graph in sheet "COMB" plots from this and #N/A prevents forward plotting in the future.

    At the moment it works fine providing the data entered in the B cells is a positive value , as soon as i enter a negative or zero value it dosent populate the F cell at all.
    It waits for the next positive value to be entered into B and then it populates all the cells correctly in F that its missed .

    Its hard to explain

    TIA will
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Addition of cells and plotting on graph

    Hi,

    Try this in F2 and down:

    =IF(SUM(B3:B$33)=0,NA(),SUM(B$3:B3))

  3. #3
    Registered User
    Join Date
    06-04-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Addition of cells and plotting on graph

    Hi Belinda , Thanks for the reply , no it does not seem to work , i think it is impossible as sometimes the value in column B can be returned at zero , this then returns N/A in column f
    im not sure how to do it ?

    thanks will

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Addition of cells and plotting on graph

    Try this in F3 and down:

    =IF(AND(SUM(B3:B$33)=0,B3:B$33=0),NA(),SUM(B$3:B3))
    This is an array formula, so you shuld press CTR+SHIFT+ENTER
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-04-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Addition of cells and plotting on graph

    Hi Belinda , Thanks for this latest effort , this now handles and works with negative values in column B . The only thing now is that if the value returned in column B is zero then the corresponding cell in column F
    stays as #N/A.

    thanks will

  6. #6
    Registered User
    Join Date
    06-04-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Addition of cells and plotting on graph

    Hi Belinda , No actually this works i had not copied it down all cells, i have just tried it again and all works good !! , thanks for your help

  7. #7
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Addition of cells and plotting on graph

    Great, glad it helps.
    Let me correct myself with one thing - though I said it is an array formula this is a standard formula, no need of the curly brackets.

    If your problem is solved, please go to Thread Tools and select Mark This Thread Solved
    Thanks.

+ 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. [SOLVED] Ignore blanks (" ") cells when plotting Bar Graph
    By sgreenprice in forum Excel General
    Replies: 3
    Last Post: 10-18-2017, 04:34 AM
  2. [SOLVED] Plotting a standard bar graph on the same axes as a stacked bar graph
    By Shearwater in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-01-2014, 04:59 AM
  3. Need Help with plotting a graph
    By dbhushan in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-15-2013, 10:29 PM
  4. [SOLVED] Excel 2007 : Hide Empty Cells when Plotting a Graph
    By HangMan in forum Excel General
    Replies: 13
    Last Post: 06-22-2012, 04:48 AM
  5. Exclude Blank cells while plotting a graph
    By kapilrakh in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-24-2011, 10:46 AM
  6. plotting a line graph on a bar graph
    By mufan in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-02-2009, 03:29 PM
  7. [SOLVED] Plotting graph directly onto the cells
    By DaveCKW in forum Excel General
    Replies: 1
    Last Post: 09-06-2005, 09:05 PM

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