I have a table for capacity management, that contains information about teams working on project in time. I would like to be able to create a new table, that would basically tell me, which team is overloaded. I guess example would explain it better:
Here is simplified table 1
The number indicates how many resources is needed from the team on given day
Here is the second table, that I need
The numbers in columns is sum of all numbers for the team for the specific day across all projects.
Is this somehow possible? Thanks for any advice!
Create a summary table with the dates in the column headers and the team names in the row headers. Then you can use a SumProduct() formula to calculate the totals per team and date. Refer to the screenshot below.
The formula in cell B13 is
=SUMPRODUCT(($B$1:$H$1=B$12)*($A$2:$A$8=$A13)*$B$2:$H$8)
Copy across and down. The summary table can be on a different sheet. Just make sure that you get the references right and pay attention to the placements of the $ signs.
Related
I'm hoping someone can help with a formula to input the value of Testing for June in cell A20 (FOR EXAMPLE).
So first criteria is the month as Jun-21 and then the next is the word testing.
I need more than a basic sum function as it needs to include the total purely based on the month and the name
If you need to lookup a value using both the row label and column label, using index/match is the formula to use. I assume you only have two different table, so this formula looks up the number in the first table, then looks up the value in the second table and adds them together.
=INDEX(J3:P8,MATCH(B12,J3:J8,0),MATCH(B13,J3:P3,0))+INDEX(A3:G8,MATCH(B12,A3:A8,0),MATCH(B13,A3:G3,0))
Thanks heaps for that!
How about if it were two tables but only some items are in each. So say if testing was only in one table but passing is in both - I hope to be able to use the same sum for all so is there something I can add in to the formula so it knows to just include the one total if it can't see the name testing in the other table?
Would it be somehow incorporating a lookup instead?
I'm trying to calculate the costs of purchased items for each business for every month. The problem I'm experiencing is that it will sum the whole of column B. This is my current formula: =SUMPRODUCT(C:C)+(COUNTIFS(G5,A:A)). This Qty is a negative number as they are being removed from the store room and then charged to the business.
Below is my current table I am working with:
Any help with this much appreciated!
You could just use a pivot table. However, I generally dislike them as I prefer to have more control over them than what Excel gives me.
There is no need to use SUMPRODUCT. SUMIFS is the formula you are looking for:
=SUMIFS($C:$C,$D:$D,$F5,$A:$A,G$4)
I'd suggest not using whole column references, but if it's only a small workbook, it shouldn't cause too much slow down.
I would suggest converting your data to an excel table. You can then refer to the data by column name.
If I understand you want to sum the cost for each Business unit for each month. This formula should work with slight adjustment on your part (since I can't see your columns/rows).
=SUMPRODUCT(($A$2:$A$50=G$2)*($D$2:$D$50=$F3)*($C$2:$C$50*$B$2:$B$50))
- or if column "C" is the total
=SUMPRODUCT(($A$2:$A$50=G$2)*($D$2:$D$50=$F3)*($C$2:$C$50))
Change G2to your month criteria
Change F3to your business criteria
And change your ranges accordingly
To break this down:
(A2:A50=G2) - Gets the cells that match the month criteria
(D2:D50=F3) - Gets the cells that match the business criteria
(C2:C50*B2:B50) - Multiply the Qty * Cost
I am using the excel and pivot tables to generate the data
I want to show the number of issues logged by the department within the specific days.
Here are some formulas I've tried:
=IF(C328<=3,"THREE",IF(AND(C328>=4,C328<=7),"Four to seven","F"))
This one increments by date not the range:
=IF(C330<=3,"THREE",IF(AND(C330>=4,C330<=7),IF(C330<>C329,1,D329+1)))
If I understand you correctly, you want to return a period name (e.g. <3 Days, 4-7 Days, or 8-14 Days, etc.) in Column D based on the Days Count.
If so, you can use the approximate match of VLOOKUP to achieve that, but you will need to create a look up table first. See below screen-shot for details. Please note I have named the look up table as Tbl_Period in my solution.
The formula in cell D2 is =VLOOKUP(C2,Tbl_Period,2,TRUE) and you simply drag it down to apply to the rest.
Then you can create a pivot table and set the values to be the Count of Ticket ID. You will need to manually drag the columns in the pivot table to display them in a desired order.
I did not see Team information in your second screenshot so I guess you may need to add a helper column to look up the Team based on Ticket ID and/or other criteria. Let me know if you have any question on this part. Cheers :)
Basically I envisage having a table of risks in Excel for various projects. Each risk has a score and its project name on one row of the table (amongst various other pieces of information).
What I would like is a formula, repeated in 3 cells with minor adjustments, to return the 1st, 2nd and 3rd highest scored risks for a given project. The project would ideally be selected by a reference in the formula to another cell with a dropdown list of all the projects so you could select the project in the drop down and see the corresponding highest risks.
I have tried using =Large([table array],[1/2/3]), =vlookup and =offset - but this just returns the highest three scores in the whole table - I can't figure out how to make the formula look at only the set of rows pertaining to a given project.
Many thanks for any help or advice offered!
I am using a spreadsheet to count sold items for several teams.
Rows: Individual Seller
In column A I have the specific team the seller belongs to.
In column B I have the amount of items that the seller sold.
In a separate row at the end of the document, I am trying to calculate the total number of items being sold from a specific group.
Can anyone help me write the code needed to return the total number of items sold for each specific team?
The image shows some sample data in A1:C13, and three different ways to sum the amounts by teams. There are many others ways. Of the three I recommend #Jerry’s suggestion of a PivotTable (E2:F6) because it is very easy to set up, very quick in operation and offers a great deal of versatility beyond merely summing amounts by team. For example if your data included dates of sales it could sort and group by week, month, year etc. The second version of it (E8:F14) shows a breakdown by Seller of the 20 total, but by the number of ‘sales’ (rows) rather than number of items sold.
The formula in D20 (copied down to D22) is:
=SUMIFS(B$2:B$19,A$2:A$19,A20)
However SUMIFS was not available as a standard MS Office function before Excel 2007, though SUMIF was, so in B20, also copied down to suit:
=SUMIF(A$2:A$19,A20,B$2:B$19)
SUMIFS allows more conditions than SUMIF, so for example can be changed in D20 to:
=SUMIFS(B$2:B$19,A$2:A$19,A20,C$2:C$19,"Seller1")
to obtain the amount of items comprising the two distinct ‘sales’ by Seller1 as shown by 2 in the lower PivotTable.
Since you are trying to calculate the total from a specific group the above may be more elaborate than your immediate requirement so a version that can be placed almost anywhere in your sheet (if as the example) and even copied around, replaces a variable with a fixed condition, which I have chosen to be teamB:
=SUMIF($A$2:$A$19,"teamB",$B$2:B$19)
and provided the formula is kept out of ColumnA might be further simplified by extending it to consider entire columns:
=SUMIF(A:A,"teamB",B:B)