+ Reply to Thread
Results 1 to 14 of 14

sum current values

  1. #1
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    sum current values

    I have a column that creats data based on formulas. I would like to sum the column at the bottem but I get a circuler ref. error. I think this is because of the formulas but is there a way to sum based on the actual values in the column?

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: sum current values

    The circular reference isn't because of the formulas. You're referring to the cell showing the error in the cell containing the error.

    For example,

    in A10: =SUM(A1:A100)

    will produce a circular reference error
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: sum current values

    If you want it to only sum certain data based on that data, you should be able to use SUMIF, SUMIFS, or SUMPRODUCT. What exactly are you trying to do?

  4. #4
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    one of the formulas we created puts a 0 on the cell if none of the other ref. info. gets filled in. I wasnt to sum the column that contains all those values but get a circuler ref. I thought it was because the 0's dont represent real values only the absense of ref. info.
    If the values in a colum are created through a formula and 0 is imput as an error value how do sum the column's text numbers?

  5. #5
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: sum current values

    Methinks a sample workbook would help. I don't understand what you mean by "text numbers". Numbers should not, generally speaking, be stored as text or inputted in formulas using quotes. There are exceptions, but doing so often causes problems such as not being able to add the numbers later.

    As sweep said, a circular reference occurs when a formula either refers to itself or when two (or more) cells have formulas that refer to each other. It may not be an error with how your formula is set up so much as an error in the range you're using in the formulas.

  6. #6
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    Here is the formula i am using in the cells I want to add (column W). It puts the higher of the two numbers in the cell and puts 0 in the other cell based on the repeat in column D. but if there is no repeat, or number, in D then 0 is also put in W. I want to sum W.
    Sory no sample. dont kow how to create it.....

    =IF(MAX(IF(D6=D7,W7,0),V6,IF(D6=D7,W7,0))=V6,V6,0)

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: sum current values

    You list IF(D6=D7,W7,0) twice.
    We can't really help without seeing the workbook. Can you please scrub all confidential data and post a workbook with a couple lines of fake data, along with expected results, like you did in your last thread?

  8. #8
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    comin right up.

  9. #9
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    sum column W at the bottem of the column. data on page 30.
    Attached Files Attached Files
    Last edited by simpson; 01-20-2010 at 04:45 PM.

  10. #10
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: sum current values

    I'm missing something. Why not use =SUM(W6:W36)? Also, where is the cell that has the circular reference?

  11. #11
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    did you try it? I tried that exact formula and get the circular ref. error. It shows a blue dotted line in W15-W35.

  12. #12
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: sum current values

    Yes, and it works fine for me.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    somethings wrong here. mine shows a circular ref. at W15 to W 36

  14. #14
    Forum Contributor
    Join Date
    06-27-2009
    Location
    montana,USA
    MS-Off Ver
    Excel 2007
    Posts
    190

    Re: sum current values

    Got it! Must have been a formula error. ???

+ 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