+ Reply to Thread
Results 1 to 5 of 5

Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    47

    Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

    Hello,

    I am not sure if this is possible in Excel, but i have a "masterdata" sheet with all my data and have a "Dashboard" sheet that is based on the master sheet.

    In the dashboard sheet, i would want to calculate my numbers based on the date range i give. please see the attachment for more info.
    sample_excel_v1.xlsx

    Would someone be able to please help me with this?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

    1) Fix your date entry cells as shown.

    2) SUMIFS() can take it from there. Note, you have THIS and LAST YEAR in separate columns on the Masterdata sheet, that's not necessary. You can put all the date in one table if you want.
    Attached Files Attached Files
    Last edited by JBeaucaire; 10-16-2015 at 12:52 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

    Hello
    One way would be to change you main data tables to Excel Tables and use Sumifs for the dasboard summary. See the attached example file:

    I don't know if you need your tables split into years but it might be easier if your database was one table.

    Hope this helps.
    DBY

    *Sorry Jerry. Hadn't seen your reply.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-10-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    47

    Re: Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

    Quote Originally Posted by DBY View Post
    Hello
    One way would be to change you main data tables to Excel Tables and use Sumifs for the dasboard summary. See the attached example file:

    I don't know if you need your tables split into years but it might be easier if your database was one table.

    Hope this helps.
    DBY

    *Sorry Jerry. Hadn't seen your reply.
    thanks, this worked! Appreciated!

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculate data from sheet 1 to sheet 2 based on the date range in sheet 2

    Did you see post #2?

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

+ 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] Save sheet to new sheet and name it based on date on first sheet cell
    By dwheggen1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2015, 12:25 PM
  2. Formula to pull data from one sheet to a new sheet based on date range
    By lisajolley11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2015, 08:38 PM
  3. [SOLVED] Commission Sheet - Autopopulate based on Date from Data Sheet
    By noobasaurus in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-28-2014, 01:08 PM
  4. [SOLVED] Macro to copy date to specific sheet based on data from another sheet.
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-09-2013, 11:28 AM
  5. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  6. Replies: 4
    Last Post: 07-24-2012, 07:09 AM
  7. [SOLVED] Copy data from sheet 1 to sheet 2 based on day/date
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-01-2005, 12:05 PM

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