Formula Not Returning Value Needed

%3CLINGO-SUB%20id%3D%22lingo-sub-3300381%22%20slang%3D%22en-US%22%3EFormula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300381%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20spreadsheet%20to%20track%20how%20many%20reports%20each%20associate%20performs%20per%20month.%20At%20times%202%20or%20more%20associates%20work%20on%20a%20report%20together%20but%20my%20formula%20will%20not%20count%20that%20report%20towards%20all%20associates%20listed.%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%202%20associates%20work%20on%20a%20report%20together%2C%20lets%20call%20them%20Bill%20and%20Bob.%20Bill's%20name%20is%20listed%20first%20in%20cell%20G3%20and%20Bob%20is%20listed%20second%20in%20cell%20G4%20so%20both%20Bill%20and%20Bob%20should%20get%20credit%20for%20that%20report%20but%20my%20current%20formula%20will%20only%20give%20credit%20to%20the%20first%20name%20listed%20which%20is%20Bill%2C%20if%20I%20switch%20the%20names%20and%20put%20Bob%20in%20cell%20G3%20and%20Bill%20in%20cell%20G4%20then%20only%20Bob%20gets%20credit.%20What%20formula%20can%20I%20use%20to%20give%20all%20associates%20credit%20for%20the%20report%3F%3C%2FP%3E%3CP%3EI%20am%20currently%20using%20the%20countif%20formula%20to%20count%20how%20many%20times%20an%20associate%20name%20appears%20in%20column%20G%20but%20again%20for%20some%20reason%20only%20the%20first%20name%20listed%20for%20each%20report%20gets%20credit%20for%20that%20report.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3300381%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-3300713%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300713%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1364545%22%20target%3D%22_blank%22%3E%40Kat_000%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20easiest%20and%20most%20correct%20way%20is%20to%20keep%20source%20data%20without%20blanks%2C%20i.e.%20like%20this%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20132px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368627iF574B51445A043A7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHow%20to%20fill%20down%20existing%20data%20is%20explained%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftrumpexcel.com%2Ffill-down-blank-cells-excel%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFill%20Down%20Blank%20Cells%20Until%20the%20Next%20Value%20in%20Excel%20(3%20Easy%20Ways)%20-%20Trump%20Excel%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3300527%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300527%22%20slang%3D%22en-US%22%3EOh%20let%20me%20correct%20myself.%20All%20names%20listed%20get%20credit%20for%20the%20report%20but%20if%20the%20report%20is%20late%20only%20the%20first%20name%20listed%20gets%20a%20late%20report%20counted%20against%20them.%20I%20need%20all%20associate%20names%20listed%20to%20have%20that%20late%20report%20counted%20against%20them%20if%20the%20report%20is%20late.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20working%20with%20multiple%20tabs%20and%20columns.%20I%20have%20tabs%20for%20each%20month%20of%20the%20year%20and%20an%20overall%20summary%20tab.%20For%20the%20month%20tab%20column%20F%20is%20the%20report%20type%2C%20column%20G%20is%20the%20report%20owners%2C%20column%20L%20is%20the%20commit%20date%20for%20the%20report%2C%20column%20M%20is%20the%20actual%20date%20of%20completion%20and%20column%20P%20has%20a%20formula%20to%20tell%20me%20if%20the%20report%20was%20on%20time%20per%20the%20dates%20in%20column%20L%20and%20M%2C%20column%20P%20simply%20states%20%22Yes%22%20for%20on%20time%20and%20%22No%22%20for%20not%20on%20time.%20My%20summary%20tab%20has%20a%20list%20of%20associate%20names%2C%20a%20column%20for%20total%20reports%20for%20the%20month%2C%20total%20on%20time%20and%20total%20late.%20It%20is%20the%20total%20late%20formula%20I%20am%20struggling%20with.%20My%20current%20formula%20is%3DCOUNTIFS('May%202022'!G%3AG%2CSummary!L3%2C'May%202022'!P%3AP%2C%20%22No%22).%20Not%20sure%20what%20I%20am%20doing%20wrong%20or%20why%20my%20formula%20only%20works%20for%20the%20first%20name%20listed%20in%20column%20G%20for%20each%20report.%20I%20will%20provide%20more%20information%20if%20needed%2C%20I%20have%20been%20struggling%20for%20days%20and%20am%20at%20a%20lost.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3300495%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300495%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1364545%22%20target%3D%22_blank%22%3E%40Kat_000%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you.%20And%20what%20is%20output%3F%20You%20say%20%22%3CSPAN%3Ehow%20many%20reports%20each%20associate%20performs%20per%20month%22%2C%20if%20so%20you%20may%20count%20Bill%20by%20name%2C%20doesn't%20matter%20which%20report.%20Or%20you%20count%20how%20many%20associates%26nbsp%3Bper%20report%20or%20something%26nbsp%3Belse%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3300416%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300416%22%20slang%3D%22en-US%22%3EYes%2C%20that%20is%20exactly%20how%20the%20layout%20is.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3300391%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Not%20Returning%20Value%20Needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300391%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1364545%22%20target%3D%22_blank%22%3E%40Kat_000%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20is%20the%20exact%20data%20layout%2C%20like%20this%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20165px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368438i22274D26BD2C4CC6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a spreadsheet to track how many reports each associate performs per month. At times 2 or more associates work on a report together but my formula will not count that report towards all associates listed. 

For example, 2 associates work on a report together, lets call them Bill and Bob. Bill's name is listed first in cell G3 and Bob is listed second in cell G4 so both Bill and Bob should get credit for that report but my current formula will only give credit to the first name listed which is Bill, if I switch the names and put Bob in cell G3 and Bill in cell G4 then only Bob gets credit. What formula can I use to give all associates credit for the report?

I am currently using the countif formula to count how many times an associate name appears in column G but again for some reason only the first name listed for each report gets credit for that report. 

5 Replies

@Kat_000 

What is the exact data layout, like this?

image.png

Yes, that is exactly how the layout is.

@Kat_000 

Thank you. And what is output? You say "how many reports each associate performs per month", if so you may count Bill by name, doesn't matter which report. Or you count how many associates per report or something else?

Oh let me correct myself. All names listed get credit for the report but if the report is late only the first name listed gets a late report counted against them. I need all associate names listed to have that late report counted against them if the report is late.

I am working with multiple tabs and columns. I have tabs for each month of the year and an overall summary tab. For the month tab column F is the report type, column G is the report owners, column L is the commit date for the report, column M is the actual date of completion and column P has a formula to tell me if the report was on time per the dates in column L and M, column P simply states "Yes" for on time and "No" for not on time. My summary tab has a list of associate names, a column for total reports for the month, total on time and total late. It is the total late formula I am struggling with. My current formula is=COUNTIFS('May 2022'!G:G,Summary!L3,'May 2022'!P:P, "No"). Not sure what I am doing wrong or why my formula only works for the first name listed in column G for each report. I will provide more information if needed, I have been struggling for days and am at a lost.

@Kat_000 

The easiest and most correct way is to keep source data without blanks, i.e. like this

image.png

How to fill down existing data is explained here Fill Down Blank Cells Until the Next Value in Excel (3 Easy Ways) - Trump Excel