+ Reply to Thread
Results 1 to 6 of 6

how to get week day wise, date wise value from raw data

  1. #1
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    Question how to get week day wise, date wise value from raw data

    Hello everyone,
    i have a raw data from 1-july-20 to 31-july-20
    how i can get the value as per below requirement
    1. sum of all week day, like sunday, monday tuesday etc
    2. show value from suday to saturday
    3. show value from 1-july-20 to 07-july-20, click a option to change & show from 8-july-20 to 14-july-20 & so on

    attached sample file for your convenience, exception your cooperation.

    thanks in advance for your nice cooperation.

    thanks again
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: how to get week day wise, date wise value from raw data

    Not exactly sure of what your desired output should look like. Would have been nice if you provided a mock up. Here is my best guess. If this works then advise and I will show you how.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    1
    Week of Year Week Totals
    2
    27
    950
    3
    28
    2056
    4
    29
    2039
    5
    30
    1911
    6
    31
    1926
    7
    8
    9
    Week Nr. Sunday Monday Tuesday Wednesday Thursday Friday Saturday
    10
    27
    234
    311
    198
    207
    11
    28
    374
    398
    268
    287
    266
    214
    249
    12
    29
    288
    327
    340
    326
    326
    203
    229
    13
    30
    327
    247
    235
    303
    312
    163
    324
    14
    31
    361
    354
    393
    363
    455
    Sheet: Sheet1
    Attached Files Attached Files
    Last edited by alansidman; 08-25-2020 at 04:14 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    Re: how to get week day wise, date wise value from raw data

    Dear alansidman, its really owo, it will help me, if i get the sum of sunday, monday etc thats will be enough, can you plz show me how i can do this,
    thanks a again, thanks a lot

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: how to get week day wise, date wise value from raw data

    I don't know what "owo" means. As to how I got the weekly totals by Day of the Week. I used Power Query. Here is the Mcode

    Please Login or Register  to view this content.
    Power Query is part of Excel beginning with 2016. It can be downloaded as an add in from MS for your 2010 version.

    Review PQ
    In the attached file in my earlier post
    Click on any cell in the new table
    On the Data Tab, click on Queries & Connections
    In the right window, double click to open Query
    Review PQ steps

    M-code basics:
    - "let" is the start of a query
    - "in" is the closing of a query
    - each transformation step sits in between those 2 lines
    - each step line is ended by a comma, except the last one
    - "Source" is always the first step (Source Data)
    - After "in" you have the last step referenced

  5. #5
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    Re: how to get week day wise, date wise value from raw data

    thanks a lot, but is there have any other way, except macro?

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: how to get week day wise, date wise value from raw data

    This is not a Macro. That would be VBA or Visual Basic Application. This is Power Query. Click on the link in my signature block to learn more about it. There may be other ways, but not with my skill set.

+ 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. Replies: 4
    Last Post: 05-01-2020, 01:10 AM
  2. [SOLVED] How get sales data between dates and item wise customer wise
    By devawad in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-17-2017, 05:54 AM
  3. [SOLVED] need to arrange column wise data to row wise with monthly wise
    By alok.gupta4ever in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-03-2016, 11:11 AM
  4. [SOLVED] Transpose Column wise data into Row wise w.r.t using macro
    By thara.p24 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2015, 05:17 AM
  5. [SOLVED] date wise /name wise total with round function
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2014, 11:37 AM
  6. Excel code to represent data from row wise to column wise
    By sreejeshc in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-12-2013, 03:45 AM
  7. [SOLVED] I want change the data row wise to coloum wise & coloumn wise to row wise.
    By satputenandkumar0 in forum Excel General
    Replies: 3
    Last Post: 12-20-2012, 08:34 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