#1
|
|||
|
|||
Sum up reoccuring data in the order it occurs.
Assembly application. (simplifying using green apples, red apples, green pears)
127 green apples are ran down the assembly line, followed by 98 red apples, followed by another 139 green apples, then 62 green pears. I sum these up each day by hand, and think there must be some way excel can do it automatically. Problems I have ran into is excel does not want to grab consecutive orders it wants to grab all green apple orders and sum them up. I need to know how many are schedules to run in order. Attached is a spread sheet to show what I am trying to say. I need data to automatically kick out in a table and update as the orders grow. Thank you for your help |
#2
|
||||
|
||||
Hi
try the following steps 1. Get rid of the merged cells above your table. 2. Make a header for each column ( say colour, fruit, nr) 3 Select a cell in th range - "Insert" Ribbon - Click "Table" 4. In the Table Tools ribbon that appeared select "summarize with Pivot Table" 5. Creat your PT as desired 6. After adding data, right click the PT and click " Refresh" You can also add a small macxro to auto refresh, they are all over the Net Good luck
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
Sum up reoccuring data in the order it occurs
Ok Ive set up the data with the pivot table
Which tells me totals of each category but I can't get it to separate the 2 runs of green apples or keep everything in order like below. Sum Up Table Green Apples 127 Red Apples 98 Green Apples 139 Green Pears 62 Last edited by rdperry11; 02-08-2015 at 06:34 AM. |
#4
|
||||
|
||||
Sorry, I didn't understand what you needed.
Perhaps add a 4th column called "batch". Enter 1 in D2 and Code:
=IF(AND(A3=A2,B3=B2),D2,D2+1) Apply a PT to these four columns and move the "batch" to the first column in the PT. That should do the trick
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
Thank You, That works perfectly!!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do you count how often a specific value occurs in single changing cell? | blackjack | Excel | 12 | 09-03-2014 10:41 AM |
HELP -- Drop Menu for Reoccuring Data?? | cscaudle | Word | 1 | 03-02-2014 10:19 AM |
Highlight only the characters ER when it occurs in SEVERE. | norgro | Word VBA | 3 | 02-18-2013 05:14 PM |
count how many tims a certain value occurs | lucnijs | Excel | 6 | 03-26-2012 09:29 AM |
34 Rminders for reoccuring appointments | rgarneau | Outlook | 6 | 01-13-2012 10:04 AM |