Help with Excel formula - Countif - Sumproduct

%3CLINGO-SUB%20id%3D%22lingo-sub-2007227%22%20slang%3D%22en-US%22%3EHelp%20with%20Excel%20formula%20-%20Countif%20-%20Sumproduct%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007227%22%20slang%3D%22en-US%22%3E%3CP%3ETrying%20to%20identify%20how%20many%20items%20have%20been%20completed%20less%20than%201wk%2C%20less%20than%202wk%2C%20On%20time%2C%20greater%20than%203wk%2C%20greater%20than%202wk%20and%20greater%20than%201%20week%20from%20its%20due%20date%20(Column%20P).%20Trying%20to%20use%20Column%20T%20as%20a%20reference%20of%20when%20the%20item%20was%20actually%20closed.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Etrying%20to%20us%20the%20countif%20formula%20but%20I%20do%20not%20know%20how%20to%20start%20it.%26nbsp%3B%20Any%20help%20would%20be%20greatly%20appreciated.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2007227%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008407%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20Excel%20formula%20-%20Countif%20-%20Sumproduct%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008407%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F908659%22%20target%3D%22_blank%22%3E%40soccer85%3C%2FA%3E%26nbsp%3BI%20have%20added%20some%20formulae%20to%20your%20workbook%20and%20made%20one%20fundamental%20change.%20Column%20U%20now%20calculates%20%26nbsp%3B(Close%20date%20-%2F-%20Due%20date)%20%2F%207%20to%20determine%20the%20number%20of%20weeks.%20By%20using%20custom%20formatting%2C%20numbers%20are%20displayed%20as%20%22Greater%22%20(positive)%2C%20%22Less%22%20(negative)%20or%20%22Equal%22%20(zero).%20But%20the%20underlying%20values%20are%20still%20numbers%20that%20are%20used%20in%20the%20table%20at%20the%20botton%2C%20where%20COUNTIF%20is%20used%20to%20summarise%20the%20results%20as%20desired.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2041092%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20Excel%20formula%20-%20Countif%20-%20Sumproduct%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2041092%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20it%20kinda%20make%20sense.%20However%2C%20after%20looking%20this%20over.%20I%20am%20trying%20to%20eliminate%20column%20u%20i%20just%20want%20to%20nest%20the%20formula%20i%20created%20in%20column%20v%20(If%20statement)%20into%20a%20countif%2Fsumproduct%20or%20whatever%20works%26nbsp%3B%20so%20it%20looks%20cleaner.%26nbsp%3B%20The%20formula%20should%20start%20on%20t51.%20Not%20sure%20if%20the%20formula%20in%20column%20U%20can%20be%20simplified%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eat%20the%20end%20of%20the%20day%20i%20just%20want%20to%20create%20a%20column%20graph%20showing%20the%20number%20of%20items%20that%20are%20with%20these%20specific%20tags%22%20Quick%20Turnaround%22%20%22On%20Time%22%20etc....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again.%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
New Contributor

Trying to identify how many items have been completed less than 1wk, less than 2wk, On time, greater than 3wk, greater than 2wk and greater than 1 week from its due date (Column P). Trying to use Column T as a reference of when the item was actually closed. 

 

trying to us the countif formula but I do not know how to start it.  Any help would be greatly appreciated. 

 

 

3 Replies

@soccer85 I have added some formulae to your workbook and made one fundamental change. Column U now calculates  (Close date -/- Due date) / 7 to determine the number of weeks. By using custom formatting, numbers are displayed as "Greater" (positive), "Less" (negative) or "Equal" (zero). But the underlying values are still numbers that are used in the table at the botton, where COUNTIF is used to summarise the results as desired.

@Riny_van_Eekelen 

 

Thanks it kinda make sense. However, after looking this over. I am trying to eliminate column u i just want to nest the formula i created in column v (If statement) into a countif/sumproduct or whatever works  so it looks cleaner.  The formula should start on t51. Not sure if the formula in column U can be simplified?

 

at the end of the day i just want to create a column graph showing the number of items that are with these specific tags" Quick Turnaround" "On Time" etc....

 

 

Thanks again. 

Spoiler
 

@soccer85 Oh my, what a formula! Why not create a lookup table with the options for each status. An example is included in Sheet4. Then you can avoid these horrible nested IF formulae with hard-coded boundaries and descriptions.

Perhaps an approach you want to apply in other areas of your schedule as well. It seems you have made it overly complicated, but that's just my own humble opinion.