I am looking to create a formula in excel to show a specific milestone is complete.
Is there a task I can use that takes multiple cells that have dates (not in a range), and marks the milestone complete? I can't seem to figure it out.
For example:
This is a basic capture of what I am looking to do.
#kc1996 if i follow correct this might help. =IF(COUNTA(A2:C2)<=3,"Completed","").. This is under the assumption that you need all three tasks to be be completed. If two tasks are completed it will return a blank. you can always change the range within the COUNTA to reference cells eg. COUNTA(A2,C2, D2)
Related
I'm attempting to write a formula that will show a completion % from multiple columns within a date range on a sheet. I have it working if I put the exact cell range in the formula like this: =COUNTIF(Jason!B2:K31,"COMPLETE")/COUNTA(Jason!B2:K31) Specifically I'm looking for the number of tasks marked complete in all cells over a month and showing a %.
Results
This will be a running document updated daily so I want to be able to use a formula that will filter the results by month.
Daily Log
I have tried using =COUNTIF(FILTER(Jason!B2:K31,(Jason!A2:A31>=Performance!B3)*(Jason!A2:A31<Performance!B4),"None"),"COMPLETE") but apparently you can't use FILTER that way.
Any help is greatly appreciated.
Use Two SUMPRODUCTS
=SUMPRODUCT((Jason!B2:K31="COMPLETE")*(Jason!A2:A31>=Performance!B3)*(Jason!A2:A31<Performance!B4))/SUMPRODUCT((Jason!B2:K31<>"")*(Jason!A2:A31>=Performance!B3)*(Jason!A2:A31<Performance!B4))
We can use LET to get rid of some of the duplicates:
=LET(r,Jason!B2:K31,
ld,Performance!B3,
hd,Performance!B4,
d,Jason!A2:A31,
arr,(d>=ld)*(d<hd),
SUMPRODUCT((r="COMPLETE")*arr)/SUMPRODUCT((r<>"")*arr)
I have a table with a list of tasks in it. Each task can have blockers, which are other tasks in the same list, which must be completed before another can proceed. I have mocked up the table below:
So in the example, the Blocker1, Blocker2... etc columns all have data validation to only allow values taken from the Task column. The Done? column can contain "Yes" or "No". The BlockCount column is meant to count the non-Done Tasks that block each task - that's where the problem is.
I would like to count how many of the blockers have been completed for each task by looking up the value in the Done column for each task that is listed as a blocker.
My best effort so far is this formula:
{=SUM(IF(INDEX([Done?],MATCH(Task[#[Blockers1]:[Blockers5]],[Title],0))="No",1,0))}
I confirmed the formula with Ctrl+Enter, trying to get the Index to work for each of the blockers, but this does not work. If I only take the MATCH() part of the formula, I successfully evaluate a range (shown below), but when I try to use that range to index different rows in the Done? column, it seems to only evaluate once, so I am confused what to do.
Can you help with a formula that will count the blockers in this way? I'm trying to list everything I need to do to fix up my house, and frankly this has started to become an time-consuming obsession that I so far have no prospect of solving!
Try SUMPRODUCT:
=SUMPRODUCT(([Done]="No")*MMULT(--([Task]=Table2[#[Block1]:[Block5]]),ROW($A$1:$A$5)^0))
You could approach this with COUNTIF:
=SUM(COUNTIF(Table1[#[blocker1]:[blocker5]],[task])*([done?]="no"))
If the current row [blocker1:blocker5] mention a task that appears in [task] it returns 1(TRUE), else 0 (FALSE) for each value in the range (array).
Multiplying this array against the array of 1's and 0's returns (1*1=) 1 for each row where the task is found and [done?] says no. All others return 1*0, 0*1, or 0*0 all resulting in 0.
SUM adds up the instances of blocker tasks found that mention no.
Older Excel versions need this formula entered with ctrl+shift+enter
I'm practising MS Excel skills. I have a workbook in which I want to analyses data from different tables.
Each worksheet contains a table with the information from the year. So in worksheet "2017" I have a table named "Table2017". I have this for each year (starting 2015).
After a some research, I finally found a way to count how many times something in a certain place happened.
=SUM(COUNTIFS(Table2018[Place];B3;Table2018[Activity];{"Paid";"Awarded"}))
+SUM(COUNTIFS(Table2017[Place];B3;Table2017[Activity];{"Paid";"Awarded"}))
+SUM(COUNTIFS(Table2016[Place];B3;Table2016[Activity];{"Paid";"Awarded"}))
+SUM(COUNTIFS(Table2015[Place];B3;Table2015[Activity];{"Paid";"Awarded"}))
This works perfectly. It will calculate how many times per place a paid service or an awarded (gifted/sponsored) service was delivered. In the B column, I have a list of places (hence the B3 reference), so after completing the formula, I can select the cell and enlarge/drag to copy it to the rest of the column and apply for every place.
However, the formula is really long and every year upon creating a new worksheet, I need to add a new part to the formula.
Is there a way to compact this? And ideally have the formula search for every table that has the relevant information (like: "Table20??" or "Table 20*"), go in and count the times my conditions are found?
I hope my question is clear enough.
Thanks in advance!
P.S. I have zero experience in VBA/VBS, so I'm hoping to realize this in a normal formula.
There are ways to make it more compact, but they will necessarily make the function more complicated, so it wont be any easy win. See for yourself:
you basically need to be able to cycle through the years inside formula without creating custom formulas. One way to do this is to use ROW inside INDIRECT function. This way you can replace multiple
Table2015[Place]
with one array function containing
INDIRECT("Table"&ROW($A$2015:$A$2018)&"[Place]")
as it is an array function it will essentially cycle through the cells in the ROW function creating Table2015[Place], Table2016[Place], Table2017[Place] and Table2018[Place]. Your whole formula would look something like this
=SUM(COUNTIFS(INDIRECT("Table"&ROW($A$2015:$A$2018)&"[Place]");B3;INDIRECT("Table"&ROW($A$2015:$A$2018)&"[Activity]");{"Paid";"Awarded"}))
and it must be entered using ctrl+shift+enter (you will see {} brackets around the function). This should work to make the function smaller and you will need only to change the cell reference each year instead of adding another sum, but the question is if the separate sums are not easier to read and maintain.
This is my first post and am only creating this post after not being able to find my specific issue. I am trying to count specific items in a certain column if that column has a specific heading.
Example: My work has an Excel file that different team members mark once they've completed a specific task. I then have a table on another spreadsheet that updates how many tasks a specific team member has completed. The team members have to make these marks every quarter.
The above image best illustrates what I mean. I would like the COUNTIFS function to automatically update based on cell A15; IE when i change the date, the counter will update for the corresponding column. Right now, I manually adjust the criteria range for every period. I know there must be a way to tie to cell A15 so when I change the cell value, everything else updates automatically. I just can't figure out how to do it. Hopefully someone can help!
Thanks.
You can look up the index of the column using MATCH and use that to offset the range. For example:
The formula in my example is =COUNTIF(OFFSET(A2:A7, 0, MATCH(A9, A1:C1, 0)-1), "=x"). For you I would use =COUNTIF(OFFSET(A3:A12, 0, MATCH(A15, A2:E2, 0)-1), "=X").
You can do this with multiple criteria using an array formula, e.g.
=SUM(IF(IF(B1:D1=A9,IF(A2:A7=A10,B2:D7))="X",1))
Where
=SUM(IF(IF([Date Range]=[Date Criteria],IF([Team Member Range]=[Team Member Criteria],[All the Xs]))="X",1))
Remember to press Control+Shift+Enter when entering an array formula
My Uncle is asking me to help his police department fix their excel sheet. They track call codes in an excel sheet which looks like this:
.
Rows in the top image are individual calls which are categorized by the numbers in A-B-C 40+ (Radio Signals, bottom image) based on the subject of the call. In my example I've placed 3 call signals from row 46 in Radio Signals as well as row 49. Now what I'd like to see happen is a count of 3 in both E46 and E49.
The issue I'm having is a limited knowledge of programming Excel statements. I know there are IF statements I can use in conjunction with AND and OR statements but this seems very long and tedious. Based on the current setup of this document, could I use a more efficient method to gain a count of signals belonging to this cell?
Any help is greatly appreciated.
Assuming your list of calls is in Sheet1 column A and the comma separated list is in Sheet2, place the following formula in Sheet2:
=SUM(--ISNUMBER(SEARCH(" "&Sheet1!$A$:$A$&","," "&Sheet2!A46&",")))
Make sure to press Ctrl-Shift-Enter when entering the formula!
Using the COUNTIFS statement works well. The following formula worked like a charm for counting occurrences of multiple conditions over a range of cells.
For Cell 46-E
=COUNTIFS(A7:A39,"=37")+COUNTIFS(A7:A39,"=56")+COUNTIFS(A7:A39,"=64")+COUNTIFS(A7:A39,"=65")+COUNTIFS(A7:A39,"=70")+COUNTIFS(A7:A39,"=81")+COUNTIFS(A7:A39,"=91")