Trying to redeem myself from being an idiot!

anwaee2

Board Regular
Joined
Sep 13, 2012
Messages
151
Office Version
  1. 2011
Platform
  1. MacOS
I apologize, I really got reamed for my last post (and justifiably so) and I will try to make it right this time as not to waste your time again. I would like to get the number of days between the last two dates in the date column that has the task columns checked (columns C, D, E & etc.). There will be no blank cells in the Date column (A6:A41) as far as it goes. Example: Days between last two yard services would be 45 days.. Date 4/22/19 is in cell A6 and date 9/5/19 is in cell A29. At the very least I need the row number of the last and next to last checked cells in any one column. And in formula form please, I am willing to use helper cells if necessary. And there are many more task columns that I didn't list here. Hope this is enough information. Thank you again for all the help in the past and a big thank you for any help you may provide now.

DateDayMowWeed EatYard ServiceSeeded
04/22/19Monday
05/14/19Tuesday
05/20/19Monday
05/21/19Tuesday
05/30/19Thursday
06/10/19Monday
06/11/19Tuesday
06/17/19Monday
06/24/19Monday
07/09/19Tuesday
07/10/19Wednesday
07/17/19Wednesday
07/22/19Monday
07/23/19Tuesday
07/26/19Friday
07/27/19Saturday
08/01/19Thursday
08/06/19Tuesday
08/08/19Thursday
08/15/19Thursday
08/22/19Thursday
08/29/19Thursday
09/02/19Monday
09/05/19Thursday
Days From Today0 days0 days41 days3 days
Last Day Task Performed09/05/1909/05/1907/26/1909/02/19
Days Between Last Two Tasks

<tbody>
</tbody>
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Something like this?


Book1
ABCDEF
1
2
3
4
5DateDayMowWeed EatYard ServiceSeeded
64/22/2019Monday????
75/14/2019Tuesday????
85/20/2019Monday????
95/21/2019Tuesday????
105/30/2019Thursday????
116/10/2019Monday????
126/11/2019Tuesday????
136/17/2019Monday????
146/24/2019Monday????
157/9/2019Tuesday????
167/10/2019Wednesday????
177/17/2019Wednesday????
187/22/2019Monday????
197/23/2019Tuesday????
207/26/2019Friday????
217/27/2019Saturday????
228/1/2019Thursday????
238/6/2019Tuesday????
248/8/2019Thursday????
258/15/2019Thursday????
268/22/2019Thursday????
278/29/2019Thursday????
289/2/2019Monday????
299/5/2019Thursday????
30????
31????
32Days From Today0 days0 days41 days3 days
33
34Last Day Task Performed9/5/20199/5/20197/26/20199/2/2019
35
36Days Between Last Two Tasks774527
Sheet4
Cell Formulas
RangeFormula
C36=INDEX($A:$A,AGGREGATE(14,6,ROW(C6:C31)/(C6:C31="✔"),1))-INDEX($A:$A,AGGREGATE(14,6,ROW(C6:C31)/(C6:C31="✔"),2))


You should also specify how you are creating the check marks. Is it by using a Wingdings type font? A UNICODE value? An actual check box? If so, is that linked to a cell we can reference for the TRUE/FALSE value? As it is, I just used the symbol in the formula, but that's easily changed.
 
Upvote 0
Also note that the HTML tool I used did not copy over the checks and boxes, but they should be the same as in your example.
 
Upvote 0
Thank you so much Eric. I have tried ever formula (at least 3 dozen different ones that was suppose to work) that could find on google and none worked. Yours worked perfectly except for when there is only one entry in the task column but that is to be expected. Many thanks again. You are the man.
 
Upvote 0

Forum statistics

Threads
1,214,389
Messages
6,119,232
Members
448,879
Latest member
VanGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top