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)
Related
I have an excel sheet that I am working on that lists all the incidents reported in the office. There are multiple sheets, the original data sheet and others that extract that data.
I have a formula that currently counts how many incidents were logged as "Advertising" and "Call" for example. But I need this sheet to produce a monthly report, and I can do that by using the filter dates in the original sheet. However, when I filter the original sheet, the other sheet does not reflect the change (presumably the COUNTIFS function ignores unfiltered(hidden) records and counts them anyway.
Here's my current forumala;
=COUNTIFS(GES_OOH_Incidents!C2:C2004,"Call",GES_OOH_Incidents!D2:D2004,"Advertising")
Having looked around the web for a while, the only options I could really find was to create another column to return a value but I don't really want to do that.
Any suggestions/guidance/examples would be much appreciated.
Thanks
This could work:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(GES_OOH_Incidents!C1,ROW(GES_OOH_Incidents!C:C)-ROW(GES_OOH_Incidents!C1),0)),(GES_OOH_Incidents!C:C="Call")*(GES_OOH_Incidents!D:D="Advertising"))
It's a slow formula applied on whole columns though.
Got information from here
We have been having this problem for a little while, but I know that once I figure out the solution it will save me loads of time. I have a data pull of sales from a chain of grocery stores with dates on top and products on the side. Shown here: View of the data
We would like to show sales for these products between specific date ranges. These ranges are shown for Current Year and Last Year. I tried the Last Year's sales with a sumif, but sadly that is the #VALUE that you see here: Hopeful Output
I thought this equation would solve my problem, but no:
=SUMIFS(Input!B2:NB51,Input!A2:A51,Output!A2,Input!B1:NB1,">="&Output!D2,Input!B1:NB1,"<="&Output!E2)
Google Docs of the spreadsheet here: https://docs.google.com/spreadsheets/d/1rdoGKliu3suu7mfDTB7Ckj83EzeZGmhw5yZnQ7u5X94/edit?usp=sharing
Thank you so much for your help!
That happens because column array and row array are different and can't be used together in these formulas even if they have the same length.
You can use this formula at your Output F2 (close it with ctrl+shift+enter)
=SUM(INDIRECT("Input!"&ADDRESS(MATCH(A2,Input!A:A,0),MATCH(D2,Input!$1:$1,0))&":"&ADDRESS(MATCH(A2,Input!A:A,0),MATCH(E2,Input!$1:$1,0))))
Sheet Output
F2=SUMPRODUCT((Input!$A$2:$A$1000=Output!$A3)* (Input!$B$1:$ABA$1>=Output!D3)* (Input!$B$1:$ABA$1<=Output!E3)*(Input!$B$2:$ABA$1000))
I am certain that there is an easy way to do this, but for some reason this one is sitting in my blind spot...
I have a price catalogue that lists all possible part numbers, and their prices. I have a separate stock list that has been produced by a third party which lists all of the parts that they hold in stock. I need to write a formula that checks if the parts on the stock list are in the price catalogue, and if they are, add the price to the stock list.
For example, if the price catalogue has part number in column A and price in Column B, and I add the part numbers from the stock check to column C, I need to check if they are in A, and if they are, add the price into column D.
Does that make sense?
Thanks!
VLOOKUP is one formula which can help you resolve your problem.
A combination of INDEX-MATCH-MATCH is another formula which can get you the same result.
VLOOKUP is a VOLATILE function and takes longer time to work. However, this can be experienced only in large files.
Some experts have compared the working results of both these and have concluded that VLOOKUP is about 13 times slower than the INDEX-MATCH-MATCH formula combination.
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.
I needed some help with Excel functions as I am not really sure how to achieve this.
Basically, this picture shows my data structure:
I am aware that I can use Index& Match excel functions together for columns but I am not sure if it is possible use Index&Match together on two row conditions.
Requirement:
I have three products, product A, product B and Product C. I want to be able to quickly calculate the actual revenue and and you can see the data structure in the image above. My top-most row is month. For each month, I have 4 columns, of which 2 need to be calculated should the condition match.
This is the condition. An example, for product A, calculate the total sumproduct(multiples column actual customers x Price Actuals) for yearMonth 201501.
So basically,first, for product A, it would need to find YearMonth 201501, and when it is found, it should find columns Actual Customers and Price Actuals and return the SUMPRODUCT of Actual Customers and Price Actuals.
Is it possible to do this?
I have searched the Internet a bit and I have not found a solution.
Update:I thought I could post the follow-up question in the same thread insted of Cristiano duplicates... For the accepted answer, in the excel formula, how can it be divided by the total amount of "actual customers" for that month?
Simply adding "actual customers" with a slash before IT does not work.
You need a cell where you specify the month you want to look up. Give that cell the name "TheMonth".
You need a cell where you specify the product you want to look up. Give that cell the name "TheProduct".
Then, assuming your screenshot starts in cell A1, you can use
=SUMPRODUCT($B$3:$I$5*($B$1:$I$1=TheMonth)*(($B$2:$I$2="Actual Customers")+($B$2:$I$2="Price - Actuals"))*($A$3:$A$5=TheProduct))
Next time, please post a link to a workbook. It's not much fun typing in the text and numbers from a screenshot in order to verify a formula.
Here is the workbook with the formula in action.