+ Reply to Thread
Results 1 to 3 of 3

Macro to sum values based on looking up a value within a date range

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    13

    Macro to sum values based on looking up a value within a date range

    Hi All,

    I have a VBA or function query.

    I have a spread sheet with the following.

    Column A contains asset names
    Column H to JZ contains cash outflows for each asset
    Row 17 contains a Month&Date value (ie. July2013)

    What i want to do is, from another sheet, is to calculate the sum of all cash outflows for the asset (determined by a cell value) for a date range entered.
    In other words, if i say 1/7/2012 to 30/6/2014, it will look the asset up, and sum the value of cashflows, in colums that fall between those dates for that asset.

    Hope this has given enough information to provide feedback.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Macro to sum values based on looking up a value within a date range

    can you please upload a sample book.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Macro to sum values based on looking up a value within a date range

    please see attached sample
    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)

Similar Threads

  1. Return several values based upon date range
    By tsmor in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2014, 08:47 PM
  2. Need help making a macro to copy range of values based on cell values.
    By zolton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2013, 08:58 AM
  3. Sum Values Based on Date Range
    By footballdj in forum Excel General
    Replies: 1
    Last Post: 12-16-2011, 03:21 AM
  4. Sum of values based on date range
    By titantough in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2011, 01:58 PM
  5. SUM values in a range based on a date
    By phreeezer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2010, 08:25 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