+ Reply to Thread
Results 1 to 4 of 4

Macro which picks out dates and the data relating to them

  1. #1
    Registered User
    Join Date
    12-17-2007
    Posts
    38

    Macro which picks out dates and the data relating to them

    Hi,

    I was wondering if someone could help me, I am new to Excel Macros.

    At the moment all our work is logged by codes eg. A1Misc, B5Change, N9Important. As well as the codes, we enter the date in the column next to the code along with another Column to show the amount.

    I need a Macro to look at the date column and only take dates which have Sept then go to the column next to it and pick up the codes individually and sum up all the amounts for the codes.

    I have attached an example which shows from A13 downwards what I need the macro to show when finished.

    As I mentioned I am very new to Macros, so if there is any details I have missed out please let me know and I will try to give as much information.

    Thanks in advance for any help you can give.
    Attached Files Attached Files
    Last edited by Newton1234; 10-29-2008 at 06:23 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You don't need a macro, use a PivotTable.

    The dates column is grouped by Months.
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    12-17-2007
    Posts
    38
    Thanks very much for your help, that works perfect :-)

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you learn to use PivotTables you will find them extremely useful. This might help

    http://www.excel-it.com/pivot_tables.htm

+ 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