I need to measure the performance of task completed per job. i am currently using formula:
=COUNTIF(H3:N3,"DONE")/COUNTA($H$2:$N$2).
It gives me 100% when text in each field is DONE.
Few tasks are not required to be performed for each job, and needs to be left blank. That time i do not get 100%. Please help.
Enter following formula in Cell O2
=COUNTIF(H2:N2,"DONE")/(COUNTA(H2:N2)-COUNTIF(H2:N2,"Not Available"))
Drag/Copy down as required. See image for reference.
Related
Could you please help me in below calculations?
Problems are highlighted in red colour in the snapshot below.
I put 1/Jul/21 in B1 and 1/Jul/23 in C1,
Then this:
YEAR(C1)-YEAR(B1)
gives the result 2.
Use month() etc to complete the others, as you provided an image I just did one.
I have following sample data and want to auto filter them based on status condition Complete using formula only. I know how to filter using array formula and VBA custom function. Right now I am filtering it using following array formula. Due to some limitation, I want to ignore VBA and array formula. Is there any function combination to achieve it as non-array formula?
{=IFERROR(INDEX($B$4:$E$13,SMALL(IF($E$4:$E$13="Complete",ROW($E$4:$E$13)-ROW($E$3)),ROW(1:1)),COLUMN(A$1)),"")}
============================= Sample Data =================================
ID User Task Status
----------------------------------------------
Emp-001 Harun Prepare Document Complete
Emp-002 Rahim Print Complete
Emp-003 Karim Binding Progress
Emp-004 Jadhu Packaging Complete
Emp-005 Madhu Prepare Document Hold
Emp-006 Rahima Print Progress
Emp-007 Shila Binding Hold
Emp-008 Kaniz Packaging Complete
Emp-009 Jamila Prepare Document Progress
Emp-010 Rina Print Complete
Screenshot:
Any help is greatly appreciated.
Use the following formula in G3 cell then drag and drop to down and right as needed. Hope this will help you.
=IFERROR(INDEX($B$3:$E$12,SMALL(INDEX(ROW($A$1:$A$10)-($E$3:$E$12<>"Complete")*(1E+99)*-1,, ),ROW(1:1)),COLUMN(A$1)),"")
Snapshot:
In K4 enter:
=MATCH("Complete",E:E,0)
In K5 enter:
=IFERROR(MATCH("complete",INDEX(E:E,K4+1):INDEX(E:E,9999),0)+K4,"")
and copy downward. Column K defines the rows of interest.
In G4 enter:
=IFERROR(INDEX(B:B,$K4),"")
copy this both across and downward:
My formula does not work. I have a time in and time out. I want a formula that will tell me if the employee will be there during that time.
Below is my formula
=IF(AND(C2>=$D$16,C2<$E$16),"Yes","No")
I want a formula to be able to give me the result in the attached picture.
Thank you for your help.
Spreadsheet Screenshot
Try using MEDIAN(starttime, endtime, time) like this:
=IF(C2=MEDIAN($D$16,$E$16,C2),"Yes","No")
In this example, C2 is the cell with the time you wish to examine.
I have a requirement where i need to enter the value of a SubTotal in each row for the corresponding group. Below is a snapshot of the subtotals in in Column Q and this value manualy entered by me in Column M. I'm happy to create a Macro to do this or a Formula, but i can not seem to think of the logic on how to achieve this. Can anyone advise please.
Many thanks
Put the following Array Formula in M5:
=IF(A5<>"",INDEX($Q5:$Q$1000,MATCH(0,IF($A5:$A$1000="",0,1),0)),"")
Press Ctrl-Shift-Enter instead of Enter or Tab to exit edit mode. Then copy down.
This formula worked for me:
=IF(ISBLANK(A5),"",IF(OR(ISBLANK(A4),A4="Ship-to Pt"),INDEX(Q:Q,MATCH(A5,A:A,0)+COUNTIF(A:A,A5)),M4))
Drag down the dataset.
You can set specific row limits if desired.
I want the output of the formula to, get an answer, fill in one cell, then if it has more outputs move on to subsequent cells and fill them in order (A1, A2, A3...). If this is not possible then have the output able to list the results in one cell. Example if you are tracking tasks and have dates completed for each of these similar tasks and you want a list of tasks that aren't completed or out of date to be generated for easy cut and paste to send in an email.
Formulas or User Defined Functions (UDF) are by design meant to only return a result and not modify other elements. Of course people have figured out workarounds to circumvent this restriction but I don't think that's an approach you want to take.
What you could use is an array formula that would output more than 1 result. You would write the formula out highlighting multiple cells and complete by pressing CTRL + SHIFT + ENTER. You would have to know the maximum number of expected results and scale your formula to the same number of cells. For more info on Array Formulas you can visit: https://support.office.com/en-au/article/Guidelines-and-examples-of-array-formulas-3be0c791-3f89-4644-a062-8e6e9ecee523
Otherwise I will have to agree with Mr. Bananas that it will require a custom VBA script. Hope this helps.