Spreadsheet formula for order subtotal - excel

I am trying to figure out a basic way to have a spreadsheet with a few columns, A: Account name, B: Product code, C: Quantity. Then elsewhere, perhaps on another worksheet, I would like to display a total area with all products and respective quantities for each listed.
** One other thing I would like to add to that, is the ability to have a fourth column, D: Driver, which I could then list a delivery driver/route, so that I could just display the sub totals just for a specific driver.
I have been trying this unsuccessfully in Google Sheets, but I do have the most recent MS Office Excel as well, if there is some other feature that might make this an easier endeavor. Hopefully this makes sense, and thanks for any suggestions!!

Wonder is Pivot is the item that what your looking for?
EDITTED :
Table at sheet 1:
Editted base on question change:
Is this what you need?

Related

Find, Sum, and Remove Duplicates in 3 different subsets of data in a spreadsheet

I have a spreadsheet that contains truck load data. The spreadsheet contains each portion of the delivery cycle; Month-Year, Supplier(VDH_Columns) to Vendor Pickup(VPK_Columns) to Receiver(CUST_Columns) and Tons delivered(Tons). If the Vendor Pickup Columns are populated, the cycle goes VPK to CUST. If the Vendor Pickup Columns are not populated, the cycle goes VDH to CUST.
I want to maintain the spreadsheet exactly how it is and not make a CUST sheet, VPK Sheet, and VDH Sheet.
The ultimate goal is to have 1 Month_Year for each Receiver(CUST) and sum either the VDH or the VPK. Below is a piece of the spreadsheet(What it looks like now) and I manually created what I want it to look like.Spreadsheet Example
I tried a pivot table with a Month_Year filter but the problem is that I can't see once I try to add all the other columns it becomes so busy that I end up quitting. I've thought about Consolidate but I have no experience with that. I'm assuming VBA code would be able to accomplish it but I have no experience there either.
Thanks for any help
A Pivot Table is the way to do this. You need to drag all of your columns to the "Rows" field, and then drag the Tons column to Values. It should automatically use a SUM summarization:
Then, you would select a Tabular layout from the Design tab.
This will give you the desired output:
You can get rid of the (blank) values by using Conditional Formatting on the Pivot Table. Use custom number format ;;;

PIvot and Formula function to show unique plus multiple results

I've been racking my brain how to accomplish this but what I am trying to do is use a a pivot table to identify how many IDs only have the 1 skill and by which site.
I also want to show if they have more than one skill. For example they have Maths and Writing, by site.
I am also trying to do this via a formula.
Might sound a bit silly and i'm sorry but was hoping someone may be able to help.
I have shared my Google sheet showing this (i'm assuming I can do the same in excel).
https://docs.google.com/spreadsheets/d/1btkhhYyVG_GYrz_SYXwO4wUsxq3ay3eZv5AOF7h95o4/edit?usp=sharing
As per the sample data provided, it seems that the ID's have just one site, so showing the order ID\Site\Skills, therefore I would suggest the PivotTable layout below, adding a subtotal to count the quantity of skills per ID, remove the Grand Totals as they are not required.
You may also want to sort the Data by the Skills count in ascendant order to show first the ID's with just one skill.
So this is your PivotTable:
Another Layout:
You can do it in excel. Either you make a PivotTable and make something like this.
or you can just copy the ID, site and insert the skills like I have done in this picture.
Then use these formulas in the field. In the first column No Skills (Number of skills) I use the following formula: COUNTIF(A:A;F2) Where A:A are the first column ("ID") in your original table and then in the rest cells I use the following formula COUNTIFS($A:$A;F2;$B:$B;I$1) where A:A are the same as above and B:B is the second column "Skills" in your original table and I1 is the Skills in the new table..
Is this the result you want?
If so, it was just a matter of moving "Site" above "skill" under the Column section of the Pivot Table Editor. See below:

How to do running sum for inventory purposes in Excel?

I have a problem I can't figure out for the life of me. It seems very straight forward but...
I have two columns as you see Qty ordered and On Stock. I would like to add a third column titled Remaining stock.
On the Stock column is the current status of inventory and it's repeated for all apples from our software. In the third column, I would like to be able to see how it's consumed and when it goes out. I tried SUMIFS and VLOOKUPs but that's all my knowledge of Excel functions.
Hope somebody can help.
SUMIF function should work:
=C2-SUMIF($A$2:A2,A2,$B$2:B2)

VBA form control to create input values

I am a warehouse lead that is trying to set up a better system for keeping track of the tractor trailers I have coming in and out of the facility every day.
The way I have this spreadsheet set up currently is Column A is the Tractor Trailer numbers.
Then columns B:D are the different location they come from.
I have countif statements at the bottom of all the B:D columns to count for the value X.
I have a hidden column in F that has the following countif statement: =COUNTIF(B3:D3,"X")
and then in column E I have the following if statement:
=IF(F3=1,"","X").
Is there any way I could use VBA to make a form control automatically get an X value put into rows B:D based on matching the information in Column A with the correct facilities the tractor trailers are coming from?
You don't need the VBA accomplish this. Excel worksheet functions are made for this. If you could post a screen shot I'll try and help you out.
The two biggest problems I see is that you are calculating a lot of blank cells. Also try and avoid overlapping formulas.
You would make your life a whole hell of a lot easier if you'd watch 4 or 5 videos on Excel a week. ExcelIsFun is a great free resource. His video are 5mins to about 20 minutes. In a month your co-workers will be asking you for help.

inventory management with excel

My previous post seemed to have been unclear so I am posting this again and will try to explain the problem more clearly using screenshots.
https://www.dropbox.com/s/4x8wktbdo7jc21m/excel-screenshot.jpg?dl=0
Now, let me explain the screenshots.
Let's take just one of the raw materials in the table, say Rosin (Column B).
Whenever we buy more rosin, I mention the quanity bought and the date(Column A)
and I have the total quantity of rosin bought at the bottom using the formula "=sum(b80:b91)".
You will also notice that the number of rows at present is 11 i.e. 80 to 91.
But we will still be buying more rosin, even when I have entered the data in these rows. i.e. when I enter the dates and the quantity bought.
The problem is that I'll have to keep inserting more rows in there after every few days.
And if I keep doing that then the column for Rosin(as well as for the other raw materials) will become so long that I'll be scrolling forever.
So, is there a way that I could just enter the amount of rosin bought and the date without having to insert more rows.
Here's a link to the excel sheet that I created - https://www.dropbox.com/s/iod5y7jae6grmyz/brc%20goods%20received%20STOCK11.xlsx?dl=0
If you think MS Excel is not the right tool for this, then please recommend the correct tool for this.
I was learning some python and know some programming basics - just for your information.
P.S. Hope I have been able to explain the problem clearly this time.
I admit that the excel sheet looks very confusing and haphazardly done, but I wanted to start doing the calculations and improve the looks of the sheet later on.
basically, you need to use pivot tables to organize and sum your data.
here is an example sheet done for you to illustrate how it is done in your case.
therefore, you need to put each distinct data type in different sheets. In my example, I have put all of the incoming chemicals into one sheet and created a pivot table for it in another sheet. you need to repeat this for chemicals used in a separate sheet, and create a pivot table in the same/separaate sheet. And finally, in another sheet, you can make a table of total chemicals at present, simply by refering to the data in your pivots tables.
Every time you update your data sheets, come back to its pivot table and click refresh to get the latest and update your data across the table.
you can look up some help across tutorial sites on how to create a pivot table, here is one from microsoft
the best solution here would be not to keep multiple tables which you plan to extend on the same sheet, i looked at your file and it is way too confusing and clogged up, separate all the datasets you have into separate sheets, give good descriptive names to these sheets. I noticed you use total rows below each dataset, what you can do(as long as you are in Excel 2007+), create the dataset and then format it as a table from the menu, which makes your data a lot easier to read and handle, it also gives you the option of total row, more to read up on these tables you can here: Format an Excel table

Resources