Hi,
I need to command that if a date (Cell N6:N15) is after another date (P4) but before another date (Q4) then how many months are between Cell N and Q.
Main problem is that as I would like to drag this formula across only, at the bottom of a table, I do not know how to get it to search up and down column N, where the dates are.
I so far have figured this out:
=IF(AND($N14>P$4,$N14<q$4),(q$4-$n14) 365.25,0)
This only works for one cell in column N.
Then, I would also like the output to add itself to other outputs if there are multiple dates that come true.
Thank you </q$4),(q$4-$n14)>
I need to command that if a date (Cell N6:N15) is after another date (P4) but before another date (Q4) then how many months are between Cell N and Q.
Main problem is that as I would like to drag this formula across only, at the bottom of a table, I do not know how to get it to search up and down column N, where the dates are.
I so far have figured this out:
=IF(AND($N14>P$4,$N14<q$4),(q$4-$n14) 365.25,0)
This only works for one cell in column N.
Then, I would also like the output to add itself to other outputs if there are multiple dates that come true.
Thank you </q$4),(q$4-$n14)>