I want to have a comlumn of every 22 products being made and what is being left over.
Attached is the file.
THANK YOU.
I want to have a comlumn of every 22 products being made and what is being left over.
Attached is the file.
THANK YOU.
Possibly...
=IF(SUM($C$2:C2)>=22,INT(SUM($C$2:C2)/22) & " - " & MOD(SUM($C$2:C2),22),"")
in D2 and copy down.
god bless you and your excel skills!
Thank you. Glad it helped.
@neelpatel
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself.
Thanks.
Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
dangelor: Is there a way to seperate both the numbers into two different cells?
cutter: I apologize, next time I will.
Try placing this in D2....
=IF(SUM($C$2:C2)>=22,INT(SUM($C$2:C2)/22,"")
and this in E2...
=IF(SUM($C$2:C2)>=22,MOD(SUM($C$2:C2),22),"")
then copy down.
Dangelor: I used the first equation you gave me, but for every 20 units, I am getting a different end point (which is calculated). For this specific file (attached), I should end at C3 (around 20 units). Your equation makes it end at C24 where the SUM is around 39. Any help this?
Thanks again.
For some reason, I try to change the equation number from 22 to 12 and it doesn't seem to start adding up from the beginning. Would anyone know what the problem is with the equation? Thank you.
With the formula as written, you are trying to subtract nothing ("") from nothing (""). Try replacing the "" with a zero.
=IF(SUM(C$2:$C3)>=20,INT(SUM(C$2:$C3)/20),0)- IF(SUM(C$2:$C2)>=20,INT(SUM(C$2:$C2)/20),0)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks