Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    May 2002
    Posts
    409
    Thanks
    1
    Thanked 0 Times in 0 Posts

    daily and monthly data (Excel 2002)

    I am in the process of manipulating some daily data using monthly data. For each day of the year, I would like to take the corresponding monthly value and subtract it from the daily value. Using the following dataset as an example, for 10/28/32 through 10/31/32, I would like to subtract -2.85 from the daily value and for 11/1/32 through 11/3/32, I would like to subtract -1.85 from each daily value. My data set runs from 10/1/1932 through 9/30/2004. Is there a way to do this with a formula, or am I best off just getting a larger hammer and beating my through it?

    Thanks!

    Date ------- Daily Value ------- Year ------- Month ------- Monthly Value
    10/28/32 ------- 309 -------1932 -------10 ------- -2.85
    10/29/32 ------- 278 ------- 1932 ------- 11 ------- -1.85
    10/30/32 ------- 258 ------- 1932 ------- 12 ------- 4.15
    10/31/32 ------- 242 ------- 1933 ------- 1 ------- 3.776
    11/1/32 ------- 226 ------- 1933 ------- 2 ------- -0.01607
    11/2/32 ------- 214 ------- 1933 ------- 3 ------- -0.368
    11/3/32 ------- 196 ------- 1933 ------- 4 ------- 2.992933

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: daily and monthly data (Excel 2002)

    See if the attached workbook does what you want. It uses some auxiliary columns, and VLOOKUP formulas.

  3. #3
    4 Star Lounger
    Join Date
    May 2002
    Posts
    409
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: daily and monthly data (Excel 2002)

    Thanks! I had gotten as far as knowing it could be done with a lookup table, but I hadn't figured how to get the date right for the lookup table. Your efforts are appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •