LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Junior Member
 
Posts: 13
Default

Thank you Claus! That's a big help and I'm getting closer.
Now I run the problem that once it realizes the pallet change, it continues to assign more pallets after. In the example below...the last half should be on the same pallet 61812007. The running total in AL is fine until it hits the 150 limit, then it resets and does not add from the previous line(s). Once a new customer begins the problem goes away...until it hits the 150 limit.

CURRENT FORMULA:
=IF(AND((N6=N5),(M6=M5),(SUMIF($N$2:N6,N6,$AK$2:AK 6)<=150)),SUMIF($N$2:N6,N6,$AK$2:AK6),IF((SUMIF($N $2:N6,N6,$AK$2:AK6))<150,SUMIF($N$2:N6,N6,$AK$2:AK 6),AK6))

N AK AL AM
LN CUST PTS TOTAL PALLET
05 C2 _02 1.0 143.0 61812006
06 C2 _02 2.0 144.0 61812006
07 C2 _02 2.0 146.0 61812006
08 C2 _02 2.0 148.0 61812006
09 C2 _02 2.0 150.0 61812006
10 Z2 _03 1.0 1.0 61812007
11 Z2 _03 1.0 1.0 61812008
12 Z2 _03 2.0 2.0 61812009
13 Z2 _03 1.0 1.0 618120010
14 Z2 _03 1.0 1.0 618120011
15 Z2 _03 1.0 1.0 618120012

WANT:
N AK AL AM
LN CUST PTS TOTAL PALLET
05 C2 _02 1.0 143.0 61812006
06 C2 _02 2.0 144.0 61812006
07 C2 _02 2.0 146.0 61812006
08 C2 _02 2.0 148.0 61812006
09 C2 _02 2.0 150.0 61812006
10 Z2 _03 1.0 1.0 61812007
11 Z2 _03 1.0 2.0 61812007
12 Z2 _03 2.0 4.0 61812007
13 Z2 _03 1.0 5.0 61812007
14 Z2 _03 1.0 6.0 61812007
15 Z2 _03 1.0 7.0 61812007


Thanks for any help!

BD

Last edited by BDAvs : June 15th 12 at 05:50 PM Reason: More clarification
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
running total and average of that total after 3 events belvy123 Excel Discussion (Misc queries) 0 March 28th 07 02:57 AM
running total and average of that total after 3 events Toppers Excel Discussion (Misc queries) 1 March 28th 07 02:19 AM
% of Running Total to Grand Total in Pivot Table David Excel Programming 0 August 17th 05 08:24 PM
If statements (of course) {running excel 2003} jacob Excel Discussion (Misc queries) 4 August 4th 05 09:51 AM


All times are GMT +1. The time now is 10:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"