+ Reply to Thread
Results 1 to 8 of 8

Capacity Column Formula Is Not Calculating

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Angry Capacity Column Formula Is Not Calculating

    The Capacity column is not calculating properly. It has worked for years and now, for some reason, something has changed and it is not working properly.

    Please show your correction so if it happens again, I can make the change.

    Excel 2013

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Capacity Column Formula Is Not Calculating

    Ummm... How can we change anything without seeing something...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    04-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Capacity Column Formula Is Not Calculating

    Glenn: I'm sorry but I don't understand what you are asking me. I've sent a copy of the actual spreadsheet. The "Capacity"
    column of the spreadsheet does not calculate. What more information do you need?

    I have scrolled down, but do not see "Go Advanced and then scroll down to Manage Attachments.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,399

    Re: Capacity Column Formula Is Not Calculating

    I don't understand -- or it is so simple that I feel I am missing something.

    The current formula in the "capacity" column (column U) is tank size-blank column (columnV-columnX). Because Excel treats blank cells as if they were the value 0, the formula in column U is correctly return the value from tank size (column V).

    If this is not correct, what should the capacity column/column U be doing?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Capacity Column Formula Is Not Calculating

    It is difficult to follow what your problem is without knowing what you expect.

    In Col X you have a formula which returns 12177 on row 229 (because you have no values in F229:O229.
    In rows 230 to 235, the values in Col G and Col K are causing your OFFSET formula to look at a blank cell.
    Should Col F and Col H be blank? Others have a formula! This maybe your issue.

    I hope this helps, please let me know!

    Regards,

    David

    If this has been helpful
    - Please click on the *Add Reputation button at the bottom left.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  6. #6
    Registered User
    Join Date
    04-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    11

    Question Re: Capacity Column Formula Is Not Calculating

    I have attached a larger section of my spreadsheet.

    As you can see in the sections above the "Non Working Section" at the bottom
    of the Metro Spreadsheet tab, the figures in the "Capacity" column are supposed to calculate the amount the tank can hold based
    on on the last inventory reading entered in the Inventory tab. For example, in the 2nd "This Section Works" section at the top
    of the Metro Spreadsheet tab, 6091 was entered at 5 pm. The figure is subtracted from the tank size of 17800. 17800 - 6091 =
    11709. The figure you see in the "Capacity" column.

    Now look at the "Non Working Section" at the bottom of the Metro Spreadsheet tab. 2140 is the 5 pm figure found in the 0274/1970
    row. The 5 pm figure should be subtracted from the tank size. 10450 - 2140 = 8310 should be the capacity reading but the cell
    shows 10450, the tank size. Why are the cells in this section not calculating properly?
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,399

    Re: Capacity Column Formula Is Not Calculating

    First observation: I was wrong earlier when I said that column X was empty. Column X only looks empty because you have white font on white background, and you have the "do not show zero values" option checked in options. I find that spreadsheets are more difficult to debug when I hide pertinent data. First thing I would suggest is to make sure that all pertinent data is readily visible to you, the programmer, so that you can see what is going on.

    By making column X visible and making 0 values visible throughout the worksheet, I can see that X324 is returning 0, not 2140. Column X contains an OFFSET() function with some counting function. The logic in the counting functions inside of this offset function appears to be causing the OFFSET() function in X324 to return the 0 value in J324. (If you are unfamiliar with Excel's debugging tools, this can be seen using the Evaluate Formula tool on the Formula tab: https://support.office.com/en-us/art...6-A70AA409B8A7 ).

    It appears to me that something is wrong with your logic here. In all the previous sections, the nonzero values in E:O of a given a row are to the left, and all the zero values are to the right. In the non-working section, this is no longer true. The logic in the OFFSET() function seems to be expecting that all zero values are in the leftmost columns and any zero values are in the rightmost columns.

    It seems to me that something is different about how columns E:O are populated in the non-working rows, or the OFFSET() logic is incorrect for these rows. I cannot tell what the overall logic for these rows should be, so I am not sure what correction to suggest. I would suggest reviewing the formulas that populate E:O and make sure they are correct. If they are correct, then you need something different in your OFFSET() function.

    Can you further clarify what should be going on here?

  8. #8
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Capacity Column Formula Is Not Calculating

    As I suggested in Post #5 - I think some of your problem is due to Col F and Col H having blanks whereas everywhere else, there is a formula.

    I agree with the other comments from MrShorty. It is quite a difficult worksheet to follow as presented.

    I hope this helps, please let me know!

    Regards,

    David

    If this has been helpful
    - Please click on the *Add Reputation button at the bottom left.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


+ 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. Capacity Column Not Calculating After 2nd Daily Inventory Is Entered / Help
    By izgetsmail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2017, 11:38 PM
  2. [SOLVED] Calculating Current Capacity on Fuel Tanks
    By GeminiG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2016, 01:15 PM
  3. table calculating complex capacity with variables
    By eli_88 in forum Excel General
    Replies: 5
    Last Post: 09-18-2015, 12:43 PM
  4. Formula calculating difference with one column
    By bidiminished in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-13-2013, 08:14 AM
  5. Lot sizes and capacity Formula
    By swiftrain in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2012, 04:28 PM
  6. [SOLVED] Product capacity formula
    By swiftrain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2012, 01:42 PM
  7. Replies: 3
    Last Post: 06-16-2010, 02:38 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