+ Reply to Thread
Results 1 to 5 of 5

Match Date and Autimatically Add to Another Sheet

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    29

    Match Date and Autimatically Add to Another Sheet

    Hi

    I would be glad if someone can assist me with the following query.

    Everyday I receive products that could be categorised into one of the five categories A, B, C, D and E. I enter these on a sheet (SHEET 1) along with an expected date of shipment, which could be any date between now and 12 months later.

    In another sheet (SHEET 2), I have months in column A and each product type for each month in column B.

    What I want is to write a formula in SHEET 2 so that every time an entry is made in SHEET 1, it automatically adds 1 to the respective cell in SHEET 2. For example, I received 10 products today (5*A, 2*B, 1*C, 1*D and 1*E). As soon as i made entry in SHEET 1, I wanted respective numbers to appear in SHEET 2.

    Can anyone help?

    Please see attached example.

    Thanks
    NJ007
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Match Date and Autimatically Add to Another Sheet

    Hi,

    Please see the attached workbook. I have inserted a helper column, as dealing with merged cells is a pain. So column A contains the month, but on every row for use in my formula, which is in column E. I have left your column D untouched so that you are able to verify that the results produced are accurate.

    I hope this helps

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Match Date and Autimatically Add to Another Sheet

    Hi NJ007,

    I'd do this problem using a Pivot Table and count the A - E. It is something like the attached where the table grows with each new line using Dynamic Named Ranges (DNR) and an event macro to automatically update the pivot whenever a new row is added. See the attached for the idea.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    09-19-2012
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Match Date and Autimatically Add to Another Sheet

    Awesome Thanks!!!

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Match Date and Autimatically Add to Another Sheet

    No worries!

    Please don't forget to mark this thread as solved, and please click on the * next to any post that has been helpful to say thanks to the poster

+ 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] Match A Date Within A Date Range In Another Sheet
    By AlexRoberts in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2013, 09:54 AM
  2. Sheet1 if date match, copy entire row to new sheet
    By moxman in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2013, 05:51 PM
  3. Mac Mail Macro That DOESN'T Autimatically Send
    By tswilson21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2012, 07:49 AM
  4. Replies: 5
    Last Post: 01-07-2012, 10:17 AM
  5. Match the date on the graph with the date on the sheet.
    By RossPaterson in forum Excel General
    Replies: 2
    Last Post: 04-17-2009, 08:52 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