+ Reply to Thread
Results 1 to 8 of 8

Calculating Daily Quantities

  1. #1
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Calculating Daily Quantities

    Hello,

    I have 3 worksheets: Income; Expense; Consolidate.

    In the first two sheets i am entering, by dates, quantities that are getting in and out of the warehouse.

    My code copies that information in the consolidated sheet.

    What I need is to make a code that Calculates the "Daily Quantities" and "Rent", based on quantity in the warehouse, that I am paying each day.

    I am attaching a sample file.

    Thnans for the help!
    Attached Files Attached Files
    Last edited by Bob@Sun; 11-22-2009 at 04:45 PM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculating Daily Quantities

    Hi Bob,

    This approach doesn't involve any VBA, but it does provide a solution. Hope it works for you.

    Cheers,
    Attached Files Attached Files
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Calculating Daily Quantities

    That I think could work, but how do you make it " - " in the cells where there is no information?
    When I do it, it shows zeros and "0-Jan" when my column with the Date is empty??

    Sorry if my question sounds stupid for you, but can not figure it out

    Thanks anyway, your suggestion helps me a lot

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculating Daily Quantities

    Not a problem Bob. Just have a look at the cell formatting (or, right-click "Format Cells...").

    Cheers,

  5. #5
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Calculating Daily Quantities

    Well I tried to incorporate this in my original file, but it does not seem to do the righ thign.

    I am attaching my orriginal file. Can you please check in the Calculaton's Sheets why this formula is not working properly?

    Thanks in advance!
    Attached Files Attached Files

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculating Daily Quantities

    The date you have in Calculation!A3 is 1900-01-01. Change it to 2009-01-01.

    Cheers,

  7. #7
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Calculating Daily Quantities

    You are The Man!



    Thanks A lot !!!

  8. #8
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculating Daily Quantities

    Thanks Bob,

    On the Calculation sheet, you also have a couple broken cell references to the Date column that need to be fixed. They're in the income and expense columns.

    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