+ Reply to Thread
Results 1 to 7 of 7

a lookup formular in convert my daily data into monthly data

  1. #1
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    103

    a lookup formular in convert my daily data into monthly data

    Hi All,

    I want to build a lookup formular in convert my daily data into monthly data.

    There is a tricky part is here: some of my data does not start to have value on the first couple days of the month, but i want my lookup table to reflect a value of any day in the month

    For example, In colume A, my data starts with 0 for the first of day in may 2026, and then it begins to have value. I want my lookup table in group B to reflect the cell with number on May 2026.


    Many Thank
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,140

    Re: a lookup formular in convert my daily data into monthly data

    Are you still using Excel 2013?

    In F3 copied down:

    =SUMIFS($B$3:$B$336,$A$3:$A$336,">="&E3,$A$3:$A$336,"<"&EDATE(E3,1))
    Attached Files Attached Files
    Last edited by AliGW; 04-30-2023 at 01:48 AM. Reason: Workbook added.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    103

    Re: a lookup formular in convert my daily data into monthly data

    H Ali,

    Thank you. But it is a monthly sum. I would like it to be a match between my daily data with my monthly data.

    Hope you can help. Many thank

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,140

    Re: a lookup formular in convert my daily data into monthly data

    OK. This is why you should always show expected results in your sample workbook!

    Are you still using Excel 2013?

    Try this:

    =MAX(IF($A$3:$A$336>=E3,IF($A$3:$A$336<EDATE(E3,1),$B$3:$B$336)))

    Array formulae are not entered in the same way as 'standard' formulae. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files
    Last edited by AliGW; 04-30-2023 at 02:00 AM. Reason: Typo fixed.

  5. #5
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    103

    Re: a lookup formular in convert my daily data into monthly data

    Hi Ali,

    Thank you. It works.

    Have a wonderful day

    Regards,

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,140

    Re: a lookup formular in convert my daily data into monthly data

    Could you please answer my question? Are you still using Excel 2013???

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks for the rep.

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,296

    Re: a lookup formular in convert my daily data into monthly data

    Power Query
    Please Login or Register  to view this content.
    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. Convert Daily Data to Monthly Data
    By JohnArrow21 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-28-2021, 03:48 PM
  2. Convert monthly row data into single column daily data
    By chsaleem in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2019, 04:17 AM
  3. Convert monthly row data into single column daily data
    By chsaleem in forum Excel General
    Replies: 3
    Last Post: 11-29-2019, 04:16 AM
  4. Replies: 11
    Last Post: 06-06-2018, 05:08 PM
  5. Convert daily sales data into monthly for many years
    By ibrahimdaas in forum Excel General
    Replies: 4
    Last Post: 04-11-2018, 04:35 PM
  6. [SOLVED] Formula to Group analytical data imputed daily into daily weekly and monthly analysis.
    By tianasamour in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2015, 06:10 PM
  7. Replies: 3
    Last Post: 10-01-2013, 05:05 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