Update cell with various dates

%3CLINGO-SUB%20id%3D%22lingo-sub-2546865%22%20slang%3D%22en-US%22%3EUpdate%20cell%20with%20various%20dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2546865%22%20slang%3D%22en-US%22%3E%3CP%3EWindows%2010%3C%2FP%3E%3CP%3EMicrosoft%20365%3C%2FP%3E%3CP%3EExcel%20file%20sample%3C%2FP%3E%3CP%3EI%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20J%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20K%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20L%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20M%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20N%3C%2FP%3E%3CTABLE%20width%3D%22687%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22132%22%3E%3CP%3E%3CSTRONG%3EReviewsRequired%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22147%22%3E%3CP%3E%3CSTRONG%3EReviewsCompleted%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22139%22%3E%3CP%3E%3CSTRONG%3EReviewStillNeeded%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22116%22%3E%3CP%3E%3CSTRONG%3EDateCompleted%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3EStart%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2284%22%3E%3CP%3EEnd%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22132%22%3E%3CP%3E42%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22147%22%3E%3CP%3E1%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22139%22%3E%3CP%3E-41%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22116%22%3E%3CP%3E1%2F3%2F2021%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3E1%2F1%2F2020%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2284%22%3E%3CP%3E12%2F31%2F2050%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EIs%20it%20possible%20to%20input%20various%20dates%20in%20column%20L%3F%26nbsp%3B%20My%20date%20range%20is%20in%20Columns%20M%20and%20N%20for%20column%20L.%3C%2FLI%3E%3CLI%3EIf%20I%20enter%201%2F3%2F2021%3B%20it%20counts%20reviews%20completed%20correctly.%26nbsp%3B%20I%20would%20like%20a%20formula%20to%20increase%20column%20J%20each%20time%20a%20different%20date%20is%20entered%20in%20column%20L.%3C%2FLI%3E%3C%2FOL%3E%3CP%3ECurrent%20formulas%3A%20Col%20J%20%3D%20COUNTIF(L2%2C%22%26gt%3B%22%26amp%3BDATE(2020%2C1%2C1))%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Col%20K%20%3D%20J2-I2%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22395%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kJohn985_0-1626268091542.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F295710iEDE18A263D38EAC0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22kJohn985_0-1626268091542.png%22%20alt%3D%22kJohn985_0-1626268091542.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExpected%20result%3C%2FP%3E%3CTABLE%20width%3D%22687%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22132%22%3E%3CP%3E%3CSTRONG%3EReviewsRequired%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22147%22%3E%3CP%3E%3CSTRONG%3EReviewsCompleted%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22139%22%3E%3CP%3E%3CSTRONG%3EReviewStillNeeded%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22116%22%3E%3CP%3E%3CSTRONG%3EDateCompleted%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3EStart%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2284%22%3E%3CP%3EEnd%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22132%22%3E%3CP%3E42%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22147%22%3E%3CP%3E2%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22139%22%3E%3CP%3E-41%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22116%22%3E%3CP%3E2%2F3%2F2021%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3E1%2F1%2F2020%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2284%22%3E%3CP%3E12%2F31%2F2050%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%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-2546865%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-2556038%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20cell%20with%20various%20dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2556038%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103267%22%20target%3D%22_blank%22%3E%40kJohn985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20(fairly)%20sure%20that%20what%20you're%20asking%20can%20be%20done%2C%20and%20(fairly)%20sure%20that%20it%20can%20be%20done%20fairly%20easily.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CEM%3E%3CSTRONG%3EHOWEVER%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FU%3E%2C%20it's%20not%20altogether%20clear%20what%20you%20want%20to%20be%20done%2C%20or%20what%20the%20context%20is.%3C%2FP%3E%3CP%3EFor%20example%3A%3C%2FP%3E%3CUL%3E%3CLI%3Egiven%20the%20date%20range%20of%20thirty%20years%20(!!!!%3B%20is%20that%20real%3F)%2C%20what%20kind%20of%20reviews%20are%20we%20talking%20about%3F%3C%2FLI%3E%3CLI%3Ewhy%20are%20there%20only%2042%20reviews%20expected%20over%20that%20thirty%20year%20period%3F%3C%2FLI%3E%3CLI%3Eare%20they%20on%20a%20schedule%3F%3C%2FLI%3E%3CLI%3Edo%20you%20really%20want%20the%20number%20still%20needed%20to%20go%20down%20by%20one%20each%20time%20a%20new%20date%20is%20entered%3F%3C%2FLI%3E%3CLI%3Ewhat%20does%20the%20entry%20of%20a%20new%20date%20represent%20(given%20the%20thirty%20years)%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3Eetc.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20are%20the%20kinds%20of%20questions%20we'd%20be%20reviewing%20if%20we%20were%20meeting%20face-to-face.%20You%20may%20think%20the%20answers%20are%20obvious%20(or%20that%20the%20questions%20are%20impertinent%3B%20%22just%20tell%20me%20how%20to%20do%20it!%22)...but%20the%20design%20of%20a%20spreadsheet%20to%20accomplish%20desired%20results%20does%2C%20to%20a%20very%20great%20extent%2C%20depend%20on%20what%20those%20results%20are%2C%20how%20well%20the%20full%20process%20has%20been%20explained%20and%20understood.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20if%20you%20can%20humor%20me%2C%20I%20think%20others%20who%20might%20desire%20to%20help%20would%20appreciate%20a%20more%20complete%20description.%20If%20you%20can%2C%20without%20revealing%20any%20proprietary%20or%20confidential%20information%2C%20also%20post%20a%20copy%20of%20the%20actual%20spreadsheet%2C%20that%20would%20be%20helpful%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2565500%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20cell%20with%20various%20dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2565500%22%20slang%3D%22en-US%22%3Egiven%20the%20date%20range%20of%20thirty%20years%20(!!!!%3B%20is%20that%20real%3F)%2C%20what%20kind%20of%20reviews%20are%20we%20talking%20about%3F%20Performance%20reviews%20based%20on%20rating%20period%20of%20employee%3CBR%20%2F%3Ewhy%20are%20there%20only%2042%20reviews%20expected%20over%20that%20thirty%20year%20period%3F%3CBR%20%2F%3Eare%20they%20on%20a%20schedule%3F%20each%20employee%20has%20a%20certain%20number%20of%20reviews%20needed%20during%20the%20rating%20period%3CBR%20%2F%3Edo%20you%20really%20want%20the%20number%20still%20needed%20to%20go%20down%20by%20one%20each%20time%20a%20new%20date%20is%20entered%3F%20Yes%2C%20would%20like%20to%20know%20the%20reviews%20still%20needed%3CBR%20%2F%3Ewhat%20does%20the%20entry%20of%20a%20new%20date%20represent%20(given%20the%20thirty%20years)%3F%20date%20the%20review%20was%20completed%20during%20the%20year.%3CBR%20%2F%3EThanks%20so%20much%20for%20you%20help.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2567101%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20cell%20with%20various%20dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2567101%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103267%22%20target%3D%22_blank%22%3E%40kJohn985%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWell%2C%20I%20appreciate%20your%20answers%20to%20the%20questions.%20You%20missed%20the%20last%20one--%22Etc.%22--which%20was%20actually%20meant%20to%20indicate%20that%20the%20preceding%20questions%20were%20just%20scratching%20the%20surface.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20I'd%20asked%20if%20it%20would%20be%20possible%20for%20you%20to%20attach%20a%20copy%20of%20your%20actual%20spreadsheet.%20Is%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2583026%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20cell%20with%20various%20dates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2583026%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Windows 10

Microsoft 365

Excel file sample

I                                           J                                         K                                       L                                 M                  N

ReviewsRequired

ReviewsCompleted

ReviewStillNeeded

DateCompleted

Start

End

42

1

-41

1/3/2021

1/1/2020

12/31/2050

 

 

  1. Is it possible to input various dates in column L?  My date range is in Columns M and N for column L.
  2. If I enter 1/3/2021; it counts reviews completed correctly.  I would like a formula to increase column J each time a different date is entered in column L.

Current formulas: Col J = COUNTIF(L2,">"&DATE(2020,1,1))

                           Col K = J2-I2

 
 kJohn985_0-1626268091542.png

 

 

Expected result

ReviewsRequired

ReviewsCompleted

ReviewStillNeeded

DateCompleted

Start

End

42

2

-41

2/3/2021

1/1/2020

12/31/2050

 

 

6 Replies

@kJohn985 

 

I'm (fairly) sure that what you're asking can be done, and (fairly) sure that it can be done fairly easily. 

 

HOWEVER, it's not altogether clear what you want to be done, or what the context is.

For example:

  • given the date range of thirty years (!!!!; is that real?), what kind of reviews are we talking about?
  • why are there only 42 reviews expected over that thirty year period?
  • are they on a schedule?
  • do you really want the number still needed to go down by one each time a new date is entered?
  • what does the entry of a new date represent (given the thirty years)? 
  • etc.

 

These are the kinds of questions we'd be reviewing if we were meeting face-to-face. You may think the answers are obvious (or that the questions are impertinent; "just tell me how to do it!")...but the design of a spreadsheet to accomplish desired results does, to a very great extent, depend on what those results are, how well the full process has been explained and understood.

 

So if you can humor me, I think others who might desire to help would appreciate a more complete description. If you can, without revealing any proprietary or confidential information, also post a copy of the actual spreadsheet, that would be helpful as well.

given the date range of thirty years (!!!!; is that real?), what kind of reviews are we talking about? Performance reviews based on rating period of employee
why are there only 42 reviews expected over that thirty year period?
are they on a schedule? each employee has a certain number of reviews needed during the rating period
do you really want the number still needed to go down by one each time a new date is entered? Yes, would like to know the reviews still needed
what does the entry of a new date represent (given the thirty years)? date the review was completed during the year.
Thanks so much for you help.

@kJohn985 

 

Well, I appreciate your answers to the questions. You missed the last one--"Etc."--which was actually meant to indicate that the preceding questions were just scratching the surface.

 

Also, I'd asked if it would be possible for you to attach a copy of your actual spreadsheet. Is it?

@mathetes 

 

Mathetes, hopefully I provided what is needed this time.
1. Given the date range of thirty years (!!!; is that real?), what kind of reviews are we talking about?
2. Why are there only 42 reviews expected over that thirty year period?
3. Are they on a schedule?
4. Do you really want the number still needed to go down by one each time a new date is entered?
5. What does the entry of a new date represent (given the thirty years)?
6. Etc
Answers:
1. I am trying to created a performance review dashboard. Each employees has a rating period based on the last digit of the SSN. For example, 0 – 01/01/2020 to 12/31/2021
2. Based on the rating period each employee has a specific number of ratings to be completed during rating period. For example, Lead Case Advocate need 42 QERL reviews completed during 01/01/2020 to 12/31/2021
3. Yes, each employee has a different rating period based on the last digit of their SSN.
4. Yes, I need to know the Reviewstillneeded column K to be reduced each time a new date is entered in column L
5. The entry of a new date represents the date the review was completed and should be counted in column J
6. If I completed reviews on 1/2/21, 2/14/21, 4/14/21 dates.
I would like to enter that date in column L
Then have it count toward reviews completed in column J
Next, reduce the reviews still needed in column K.

@kJohn985 

 

It's still not really clear what it is that you want to do here, but what I'm sending back is one way that can at least illustrate a possibility for you. In this case I've created a randomly generated set of dates in a hypothetical "history db" showing dates connected to the first several "names". Because I'm using RANDBETWEEN to generate those dates, it will generate a new set of dates each time you use function key F9 (recalculate).....

 

And then in column J we count the number of dates associated with that employee; column K subtracts that number from the number expected; column L shows the last date (the highest date) associated with that employee.

 

You need something like the history of all dates for any given employee in order to have the count change for each time a new date is entered.

 

For help in understanding how FILTER works, which is a new function at the heart of this potential solution--and which requires the most recent release of Excel to work--please refer to this excellent YouTube video.

https://www.youtube.com/watch?v=9I9DtFOVPIg

 

Learn everything about our brand-new Dynamic Arrays and how you can use them to build advanced spreadsheets. Arrays (CSE) have long been present in Excel, bu...