Try this:
=IFERROR(1/(1/MAX(0,IF(SUMIF(D$4:D4,D4,E$4:E4)<SUMIF(J:J,D4,K:K),F4,SUMIF(J:J,D4,K:K)-SUMIF(D3:D$4,D4,E3:E$4)))),"")
copied down. Please try to remember to keep sample files SMALL (10-20 rows, not hundreds and NEVER thousands!!)
Try this:
=IFERROR(1/(1/MAX(0,IF(SUMIF(D$4:D4,D4,E$4:E4)<SUMIF(J:J,D4,K:K),F4,SUMIF(J:J,D4,K:K)-SUMIF(D3:D$4,D4,E3:E$4)))),"")
copied down. Please try to remember to keep sample files SMALL (10-20 rows, not hundreds and NEVER thousands!!)
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks