I am trying to count the number of issues that we have per month, e.g., how many products are off condition in January, February, etc. These two are in a different sheet (sheet 1 = data, sheet 2 - trending). I used =COUNTIF(Data!F:F, "Off Condition") but this doesn't include month and only gives total issues for whole timeline.
Now I need the excel to automatically generate data or number of how many issues I have when I start to fill the form and add the issues. For 1 issue that we face, I'll fill all column in one row in Sheet 1, so Sheet 2 should be automatically filled with data from Column A and Column F.
Please help. Thank You so much in advance.
I used =COUNTIF(Data!F:F, "Off Condition") but this doesn't include month and only gives total issues for whole timeline.
The COUNIFS function supports multiple parameters.
=COUNTIFS(Data!F:F,"Off Condition",Data!G:G,"January")
Related
I'm looking for some help on trying to combine functions.
I think I need VLOOKUP & COUNTIF.
I have Sheet 1 with a list of clients, column A, I then have 12 other tabs Jan-Dec same table format on each, client listed in column C.
On sheet 1, I want to count from every month tab how many times listed (invoices sent)
Not every client in the list will appear on the month invoice tabs , others more than once.
Please see screenshot attached
Any advice would be appreciated.
Thank you
Amy
You only need CountIf. Just reference the client on Sheet 1:-
=countif(January!C3:C100, Sheet1!A3). Copy this down to reference the client on each row.
You could also consider the following for a better working and easier spreadsheet:-
-Define ranges and reference those instead
-Copy all your monthly data with the year into one sheet. Have a column for month and year then just autofilter to get the month you want - using countif to also reference the month and year if you just want a particular one in question
You'll find it easier to grown your spreadsheet and build formulae if your data is tidy and less dispersed.
Hope this helps,
Phil
need some help on my excel production report.
I want to Lookup for the daily unique ID, gram and pieces from Sheet 1 into Sheet 2.
The daily unique ID consists of up to 5 categories.
Each day, there could be up to a maximum of 3 unique ID produced with each one having different categories (some have 2 same categories with different grams and pieces. It need to be shown in a separate column in Sheet 2), grams and pieces.
I came out with an excel formula but it only works IF there is only one daily unique ID per day. If there is more than one unique ID, this formula fails as it only captures the first one.
Please see my formula below
I2:I100 is the gram in Sheet 1
E2:E100 is the "unique code-category" in Sheet 1
D11 is the unique code in Sheet 2
P11 is the type of categories
{=IFERROR(INDEX('A'!$I$2:$I$100,SMALL(IF(($D$11&"-"&$P$11)='A'!$E$2:$E$100,MATCH(ROW('A'!$E$2:$E$100),ROW('A'!$E$2:$E$100)),""),ROWS($A$1:$A1))),"")}
Is there a way I could capture everything?
Can I do it with excel formula or a VBA is required?
I have tried many different formulas but nothing came out right, please help :(
Please let me know if my explanation isn't clear. Thanks.
Sheet 1
Sheet 2 (Final Report)
I need some help regarding an issue that I was not able to solve. I tried to figure it out but without reaching my goal. This is what I have:
In sheet 1 I have estimated active customers for a period of time, where columns are months and rows are departments/states:
Sheet 1
Then, in sheet 2, I'm forecasting sales and need excel to return values from sheet 1 depending on which month we are kicking-off for each department:
Sheet 2
Of course, the kick-off month may vary for each department and values from sheet 1 should accommodate according to the selected month on column B in sheet 2.
And within C2:I4 I have used this formula:
=IFERROR(IF(C$1>=$B2,INDEX(Sheet1!$B$2:$F$4,MATCH($A2,Sheet1!$A$2:$A$4,0),MONTH(C$1)-MONTH($B2)+1),""),"")
The formula above actually works great when departments are not repeated in sheet 1 but, what would happen if departments are repeated (as shown in sheet 1) and I have to sum values from the same department and show the result on each cell in sheet 2?
I look forward to your kind help!
Thanks!
Try using SUMIF like this:
=IFERROR(IF(C$1>=$B2,SUMIF(Sheet1!$A$2:$A$4,$A2,INDEX(Sheet1!$B$2:$F$4,0,MONTH(C$1)-MONTH($B2)+1)),""),"")
Please try this formula, designed for your Sheet2!C2 cell.
=IFERROR(SUMIF(INDEX(Rodrigo,,1),$A2,INDEX(Rodrigo,,MONTH(C$1)-MONTH($B2)+1)),"")
In order for this formula to work you should declare a named range comprising of your range Sheet1!A2:F4. My formula calls the range Rodrigo. If you choose another name please change the name in the formula accordingly.
You can exclude zero results by adding a further IF condition to the formula. I would prefer to do that via cell formatting, like 0;0;; where the third semi-colon determines that a zero will not be shown. You can also suppress display of zeros for the entire sheet in the worksheet options.
Hy Every One, I need help in excel formula, I have two sheets, sheet1 for sale tracker, sheet two for goals tracker, I used Now() to enter date automatically, and its working fine, Next in goal sheet, I use =Sumif() to calcualte various category totals and refer them in cell. Its also working fine. But I want to track record according to month and category. Like I have 6 categories detail is as under,
Sales Tracker
In the First picture Column Date consist of formula "=IF(ISBLANK(B5),"-",TODAY())" and it display the name of month like "October"
While in second picture there is a drop down list of "Month" Column.
1- I want to use if statement like =if(Date=Month, Sum(Revenue Secure column Data), "-") But its not working the formula I wrote here is an example....
2- I want when I select any month from second sheet like January, February, It should calculate sum from picutre one data and only show the sum of january etc.
Please help me, this is eating my brain a huge,,,,,,:)
Thanks in advance....
In short my question is how can I use If statement to compare value of cell that contain formula and other that contain drop down list?
Or use the MONTH function to change your date to a number 1 to 12 corresponding to the month. Then have the combo return a number for the month chosen. It might be faster using integers than test
I Believe you have to compare the month and not the whole date.
You can do TEXT(NOW();"mmmm") to get the full month name of the current data (in the language of excel) and then compare it to your drop down.
If you replace the NOW() with any data it works as well.
Dears,
I Would like to ask you how to transferred values automatically from multiple tables in multiple sheets, where this value will be under the same column's name
For Example, I designed a worksheets of month sales Report and create 4 sheets and named it " week 1, Week 2, Week 3,Week 4" this sheet have the same table columns with different contents based the sales information of each week, so in separate sheet I would like to make a summary to some of this columns from each sheet to combine the data in one table with specific columns
Please, Anyone Help ? I'd Be Thankful
Your data architecture is the wrong way around.
You have several sheets for data entry and you want to consolidate them into one report. That will always be hard work. Pivot tables won't work, formula solutions will be almost impossible, so you will need VBA and even then you probably won't be able to avoid constant manual adjustments.
Unless...
... you change the data architecture and enter all data into one sheet, with a column for date (or week number or some such). Then you can quickly and easily create a pivot table and report on all kinds of aspects of the data, filter by week or other date ranges. You don't need to know anything about VBA or even formulas.
Work with Excel, not against it.
In my opinion, it is nearly doable - just use some tweaks.
What you can do is input the sheet names into one column, say column A: Week 1, Week 2, etc. and then you can use the INDIRECT() function to turn the strings/values in column A (Week 1, week 2, etc.) into a variable.
My source: https://www.xlsoffice.com/excel-functions/lookup-and-reference-functions/convert-text-string-to-valid-reference-in-excel-using-indirect-function/
Since OP said the tables in each sheet are all the same, you'd easily be able to ctrl+d down the same cell value, but for different sheet names.
For example, if your values were in cell B2 in sheet "Week 1" and sheet "Week 2":
Column A Column B
Week 1 =INDIRECT(A1&"!$B$2")
Week 2 =INDIRECT(A2&"!$B$2")