Results 1 to 5 of 5

Find value for last day of month with data

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,176

    Find value for last day of month with data

    I have a table with daily data for past three years. I trying to find an easy way to find the value for the last day of each month with data and populate a monthly table.

    For example, the last three days of Jan-2008 are as follows:
    1/29 = 5000
    1/30 = 5500
    1/31 = 6000

    The last three days of May-2008 are as follows:
    5/29 = 12000
    5/30 = 13000
    5/31 =

    For this example, I want to populate the closing value for each month. For January, the closing value is 6000; for May, the closing value is 13000 (there is no data for 3/31, so it uses the next prior day with data.

    Attached is sample of data table and monthly table (monthly table includes sample of desired output). Thank you in advance for any comments.
    Attached Files Attached Files
    Last edited by maacmaac; 08-09-2010 at 10:17 AM.

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