Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-03-2018, 01:38 PM
NBVC's Avatar
NBVC NBVC is offline Formula to delete but maintain counts after the maximum has been reached Windows 10 Formula to delete but maintain counts after the maximum has been reached Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to delete but maintain counts after the maximum has been reached Calculate counts between fluid rows - TIME rgauss Excel 3 01-18-2017 04:09 PM
Word 2011 error in character counts Arbor Friend Word 0 12-17-2016 12:56 PM
Formula to delete but maintain counts after the maximum has been reached How to maintain formula while using Merge and Centre command Aditya M Excel 1 04-11-2016 11:25 PM
Maximum number of working days reached= warning color perZZon Excel Programming 1 05-09-2014 03:01 PM
Formula to delete but maintain counts after the maximum has been reached Delete Formula ibrahimaa Excel 1 06-24-2011 09:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft