+ Reply to Thread
Results 1 to 7 of 7

Extracting daily data from a table, dynamically and daily

  1. #1
    Registered User
    Join Date
    08-06-2016
    Location
    Southampton, England
    MS-Off Ver
    2013
    Posts
    29

    Extracting daily data from a table, dynamically and daily

    I have created a simple table of daily staff numbers for different business areas. The table has twelve months worth of staff numbers, with each row of data representing a specific day (date) of the year, and each column a different office area. I want to - on a different worksheet but in the same workbook - display the CURRENT day's staff numbers only (so, for instance, senior management can just check that worksheet for daily numbers across our offices without having to scroll through a huge table of data). Crucially, I want this single-day worksheet to update automatically, based on today's date.

    (And, if possible, having below that single current-day row, a seven-day forecast (i.e. the next seven days listed), however, I'll settle for an answer to the above).

    Many thanks in advance! (PS - this is my very first post, so apologies if I inadvertently haven't followed correct procedure).

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,738

    Re: Extracting daily data from a table, dynamically and daily

    Welcome to the Forum.

    It would help if you attached a sample Excel workbook, so we can see how your data is laid out.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and you will see the filename listed on screen. Click on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Pete

  3. #3
    Registered User
    Join Date
    08-06-2016
    Location
    Southampton, England
    MS-Off Ver
    2013
    Posts
    29

    Re: Extracting daily data from a table, dynamically and daily

    Hi Pete,

    Thanks for the feedback, very valuable. I've created and attached a small workbook (EXAMPLE 1) which is very similar (though pared down) to what I'm working towards. Basically, every 24 hours the summary should change (Sheet 2: Daily Summary), to reflect the current day's figures (contained with Sheet 2: Daily Staff Numbers). Any help greatly appreciated!
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,738

    Re: Extracting daily data from a table, dynamically and daily

    You can put this formula in C4 of the Summary sheet:

    =VLOOKUP($B4,'Daily Staff Numbers'!$B:$I,COLUMNS($B:C),0)

    then copy across.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    08-06-2016
    Location
    Southampton, England
    MS-Off Ver
    2013
    Posts
    29

    Re: Extracting daily data from a table, dynamically and daily

    Thanks Pete, much appreciated, and I'm guessing just after midnight is when I'll see if it works! (in dynamically updating, I mean).

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,738

    Re: Extracting daily data from a table, dynamically and daily

    You could just type in another date directly to B4 to test it out, and then return to the =TODAY() formula when you are satisfied that it does what you want it to.

    Pete

    P.S. If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

  7. #7
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Extracting daily data from a table, dynamically and daily

    Hi,

    Alternatively, you can do it using Pivot Tables - please see attached.
    With the "Daily" you select the day.
    With the forecast you select the next 7 days.
    Will this work for you?

    Regards

    peterrc
    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. [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
  2. Create daily transactions using daily prices table
    By ajob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2014, 05:05 AM
  3. [SOLVED] Recreate daily transaction using daily pricing table
    By ajob in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2014, 12:48 AM
  4. Daily Allowance Calculation From Previous Daily Spending Against A Daily Budget
    By WillYoung351 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-03-2014, 05:00 PM
  5. Replies: 4
    Last Post: 02-01-2014, 10:37 PM
  6. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  7. Replies: 2
    Last Post: 11-19-2010, 07:49 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