Remove DIV/O from cells

phil_apaya

New member
Joined
Jan 30, 2013
Messages
5
Reaction score
0
Points
0
Is it possible to incorporate a formula that ill leave cells bank rather than prodive the DIV/O result? when copynig a formula into cells below

Thanks
 

Attachments

  • Tully Query PA.xlsx
    14.1 KB · Views: 13
Try:

=IF(P2="","",DATE(YEAR(O2)+(P2*ROUNDUP((YEAR(TODAY())-YEAR(O2))/P2,0)),MONTH(O2),DAY(O2)))

or

=IFERROR(DATE(YEAR(O2)+(P2*ROUNDUP((YEAR(TODAY())-YEAR(O2))/P2,0)),MONTH(O2),DAY(O2)),"")
 
Back
Top