?
Solved

Adding values from spreadsheet and importing that value into existing workbook

Posted on 2013-11-24
5
Medium Priority
?
309 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

864 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