Thread
: [Solved]
Formula to delete but maintain counts after the maximum has been reached
View Single Post
01-03-2018, 01:38 PM
NBVC
Windows 10
Office 2013
The Formula Guy
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
In D2, try:
=IF(C2<=12,"",-(MIN(B2,C2-12)))
or
=-MAX(0,(MIN(B2,C2-12)))
with custom format
0;[Red](0);;@
If you choose first formula, then in order not to get #VALUE! error in column E, change formula in E2 to:
=SUM(D2,B2)
both copied down
NBVC
View Public Profile
Find all posts by NBVC