Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

simplify daily calculation

0

in the attach file , i need to balance the customer date qty to daily issue target , balancing all line items takes more time , can you pls sugget which better way 

Answer
Discuss

Discussion

Hi CS and welcome to the Forum

I see you have a formula in both columns G and H (plus unique formulae in cells $D$3,$G$2:$G$3,$G$6 and $I$6) but I'm not clear what you're trying to do here, sorry.

Please edit your original question to explain how MS, Issue and Target quanties are related and what your daily "balance" involves. Hopefully then I or someone can suggest a better approach.
John_Ru (rep: 6142) Mar 22, '22 at 8:26 am
Hi John
we have customer ship date in column B & requirement in no of pcs for that day is seen MS that is C column , pls ignore column D , column E refers to issue no of pcs for the day shown in column F , 


Balancing :

i need to issue no of pcs as per target [E] by picking no of pcs from [C] in top order only or sequence  that is [MS ]
for Example , on March 21st i need to issue 500 pcs , we have 132 pcs in Apr 6th & 548 pcs in Apr 7th 

add 132 +548 = 680 , but my issue target is 500 , so 180 is remaining which is brought forwarded to next day shown in [G]
22nd March issue is 500pcs , i have already 180 , so 500 - 180 = 320 

320 to be picked from [E] but we have 575 on Apr 8 th , here 575-320 =255 remains which brough forwarded to next day [G] 
in similar way by top sequence picking is done 

i hope i have clarified , any doubts , i can clarify

thanks
css Mar 23, '22 at 12:54 am
Add to Discussion



Answer the Question

You must create an account to use the forum. Create an Account or Login