+ Reply to Thread
Results 1 to 4 of 4

Add/subtract a value based on date

  1. #1
    Registered User
    Join Date
    07-22-2008
    Location
    ctown
    Posts
    35

    Add/subtract a value based on date

    I have an array with rental item names on the x-axis and date on the y-axis. The array contains the amount of inventory for each day. When a certain amount of an item is rented I want the array to be updated so that the amount rented today is subtracted from that days inventory but is also added back to the date of return (which is known at the date of rental).

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Please attach an example of your file, the information you gave is not enough.

    For example: what's the set-up of the table where you keep the real rentals ?
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    07-22-2008
    Location
    ctown
    Posts
    35

    Exclamation More information provided

    I attached the example file. Sheet1 is the Inventory, Date array and Sheet2 is the sheet used to input rented items and the length of time they will be rented for. I want the inventory at any day to be a base quantity minus number of items being rented for that day and everytime one records an item as being rented in an invoice (Sheet2) the array will be upated.
    Attached Files Attached Files

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Take a look at the attached file and find out about =SUMPRODUCT().

    Success,
    Erik
    Attached Files Attached Files

+ 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