+ Reply to Thread
Results 1 to 6 of 6

Data blending - Retreving data from rows in seperate pages, based on IDs and names

  1. #1
    Registered User
    Join Date
    08-16-2016
    Location
    Oslo
    MS-Off Ver
    2016
    Posts
    3

    Post Data blending - Retreving data from rows in seperate pages, based on IDs and names

    Hi,

    I’m working for a small company, and have been using excel daily for a couple of years. We want our reports to become more automated, and stop using time punching in hours and results to calculate our daily earnings. I have two separate data sources that I use in our daily production. One calculates how many hours we use per project and the other shows the result per project. I use excel to blend these numbers to show statistics on campaigns, agents and revenue. In order to take my report further, I want to be able to copy/paste in the data from our data sources, and have the excel-sheet automatically gather the relevant data and summarize it per campaign and agent. I have tried playing around with vlookup and IF formulas, but I can’t seem to crack the code.

    I have attached a very simplified data set, that shows test numbers for both hours per campaign and results per campaign. The clue is to find a formula or function that would calculate the hours for the two different projects from the first data source, and calculate the results from the second data source.

    I am very grateful for any contributions. Please let me know if any further explanation is needed.

    - Philbert
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Data blending - Retreving data from rows in seperate pages, based on IDs and names

    Welcome to Excel Forum.
    For Hours try the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    For Result try the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: the formula for Data Source 1 column E has been changed to =D6-C6
    Let me know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Data blending - Retreving data from rows in seperate pages, based on IDs and names

    First of all, I had to correct your data source 2. You apparently dragged down N92 so the subsequent cells had N93, N94, etc. I copied down and made them all N92 .

    I also changed the data into Excel Tables. It’s easier to work with column header names than it is column letters. Also tables know how big they are so Table_Data1[Campaign] refers to exactly the number of rows in Table_Data1 and I don’t have to change any formulas when the number of rows change.

    Here’s some information on tables: http://www.utteraccess.com/wiki/inde...ables_in_Excel.

    Other than that, it’s strictly formulas:

    You can look up the campaign name from data source 2: =INDEX(Table_Data2,MATCH(B31,Table_Data2[Campaign NR],0),1)

    The other two formulas are SUMIFS:
    =SUMIFS(Table_Data1[Hours],Table_Data1[Campaign],B31)

    =SUMIFS(Table_Data2[CALLS],Table_Data2[Campaign NR],B31,Table_Data2[DISPOSITION],"Regret") +SUMIFS(Table_Data2[CALLS],Table_Data2[Campaign NR],B31,Table_Data2[DISPOSITION],"Call Completed")
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Registered User
    Join Date
    08-16-2016
    Location
    Oslo
    MS-Off Ver
    2016
    Posts
    3

    Re: Data blending - Retreving data from rows in seperate pages, based on IDs and names

    Thank you so much! The excel sheet turned out great. Im saving countless of hours each week.

    Again, thank you!

    Philbert

  5. #5
    Registered User
    Join Date
    08-16-2016
    Location
    Oslo
    MS-Off Ver
    2016
    Posts
    3

    Re: Data blending - Retreving data from rows in seperate pages, based on IDs and names

    Thank you so much! The excel sheet turned out great. Im saving countless of hours each week.

    Again, thank you!

    Philbert

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Data blending - Retreving data from rows in seperate pages, based on IDs and names

    Thank you for the feedback. As it appears that the solutions satisfy the query, please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. Help translating this VB.NET Script into VBA - Retreving Lotus Notes Data
    By tomlancaster in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-09-2015, 01:32 PM
  2. Replies: 1
    Last Post: 06-04-2013, 12:02 AM
  3. [SOLVED] Need help badly with transposing 3 rows of patterned data into seperate rows
    By unnyb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2013, 02:42 PM
  4. Retreving Data from web and storing it
    By spratay in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2013, 06:31 PM
  5. Move inspection data between pages. find by object names. include x,y,z values
    By Kenny777 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2013, 01:08 PM
  6. Entering data on two seperate pages.
    By Biased Historian in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2011, 08:16 AM
  7. [SOLVED] Retreving data from Web page
    By tech in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2006, 10:45 PM

Tags for this Thread

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