Solved

Adding values from spreadsheet and importing that value into existing workbook

Posted on 2013-11-24
5
258 Views
Last Modified: 2013-11-24
I have to track gas usage using an excel 2007 workbook.  In the master workbook i have each piece of equipment and a gas card number for that specific piece of equipment in one row.  I download the expenses for the month from our creditor (in excel format) that has the same gas card number as in my workbook however, they are in no specific order.  I want to rename the spreadsheet from the creditor to the month that it pertains to (i.e. January) and import the data into the master workbook.  The creditor doesnt add all the expeditures for each gas card.  It has each purchase on an individual row.  I would like to use a formula in a cell in the master workbook that looks in January for the gas card number in column A and adds all the values it finds that are in column D together for that specific card.
0
Comment
Question by:prodatahs
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:Lawrence Barnes
ID: 39673515
Sounds like you need the sumifs function.  Do you intend for all of the months to be in different tabs and to add to the formula for each month or have the master sheet have columns for each month?  If it is a low row count (ten thousands per month) then the gas purchase data could all be in one sheet so long as each row has a date on it.

If you upload a sample spreadsheet I can post the formulas directly.
0
 

Author Comment

by:prodatahs
ID: 39673558
In the master, each month has its own tab.  Each device is on it own row.  I will have worksheets from the creditor for each month as seperate files such as January, february, etc.
The master takes the whole years expenses for each piece of equipment.
0
 
LVL 5

Accepted Solution

by:
Lawrence Barnes earned 500 total points
ID: 39673577
Attached is a file with one sheet posing as the Master January and the other sheet posing as as the creditor (Fuel Records January).  If you are using separate files you can edit edit the formula to point to a different spreadsheet.
SUMIFExample.xlsx
0
 

Author Comment

by:prodatahs
ID: 39673595
That was it exactly.  Thank you for your help!!
0
 
LVL 5

Expert Comment

by:Lawrence Barnes
ID: 39673603
Thanks for the points!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now