mrmmickle1
Well-known Member
- Joined
- May 11, 2012
- Messages
- 2,461
I have Parent Jobs (Always 7 characters, alpha numeric) and Sub Jobs(Job Numbers with single dashes or two dashes). The Subs have revenue attached to them. I would like to sum up the value of the Parent(The Job without a dash) and all of its sub jobs (Jobs with single and two dashes) and insert the total in column K adjacent to the Parent (7 character , alphanumeric Job) After this is complete I would like to delete all Sub Jobs.
Note: Not All Jobs Have Subs. If Jobs do not have a Parent(7 character unique alphanumeric code) then the sum would need to be rolled into the next lowest heirarchy.
I have the following Data:
Excel 2010
<COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]824[/TD]
[TD="align: right"]$2,595.00 [/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]3/28/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$9,065.00 [/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]$5,900.00 [/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]3/28/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,028.00 [/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$3,878.00 [/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$2,319.00 [/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,105.00 [/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]921[/TD]
[TD="align: right"]$8,860.00 [/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$2,276.00 [/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,309.00 [/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$3,430.00 [/TD]
[TD="align: center"]13[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$4,491.00 [/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,748.00 [/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$641.00 [/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$7,738.00 [/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,520.00 [/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$7,679.00 [/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,160.00 [/TD]
[TD="align: center"]20[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,121.00 [/TD]
[TD="align: center"]21[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,680.00 [/TD]
[TD="align: center"]22[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,725.00 [/TD]
[TD="align: center"]23[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,723.00 [/TD]
[TD="align: center"]24[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$6,980.00 [/TD]
[TD="align: center"]25[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,344.00 [/TD]
[TD="align: center"]26[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,016.00 [/TD]
[TD="align: center"]27[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]474231[/TD]
[TD="align: right"]$1,755.00 [/TD]
[TD="align: center"]28[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]3455[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,719.00 [/TD]
[TD="align: center"]29[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]1156[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$1,852.00 [/TD]
[TD="align: center"]30[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,212.00 [/TD]
[TD="align: center"]31[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]5253[/TD]
[TD="align: right"]$7,744.00 [/TD]
[TD="align: center"]32[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]$8,313.00 [/TD]
[TD="align: center"]33[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$7,098.00 [/TD]
[TD="align: center"]34[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$8,749.00 [/TD]
[TD="align: center"]35[/TD]
[TD="align: right"]5/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,935.00 [/TD]
[TD="align: center"]36[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,844.00 [/TD]
[TD="align: center"]37[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"]$1,909.00 [/TD]
[TD="align: center"]38[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,840.00 [/TD]
[TD="align: center"]39[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]1.03E+09[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$4,377.00 [/TD]
[TD="align: center"]40[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,029.00 [/TD]
[TD="align: center"]41[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,067.00 [/TD]
[TD="align: center"]42[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,995.00 [/TD]
[TD="align: center"]43[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"]$1,997.00 [/TD]
[TD="align: center"]44[/TD]
[TD="align: right"]3/7/2012[/TD]
[TD="align: right"]$5,432.00 [/TD]
[TD="align: center"]45[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,746.00 [/TD]
[TD="align: center"]46[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,147.00 [/TD]
[TD="align: center"]47[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$7,373.00 [/TD]
[TD="align: center"]48[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$948.00 [/TD]
[TD="align: center"]49[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,389.00 [/TD]
[TD="align: center"]50[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,257.00 [/TD]
[TD="align: center"]51[/TD]
[TD="align: right"]4/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,704.00 [/TD]
[TD="align: center"]52[/TD]
[TD="align: right"]4/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$968.00 [/TD]
[TD="align: center"]53[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$9,407.00 [/TD]
[TD="align: center"]54[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,499.00 [/TD]
[TD="align: center"]55[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,880.00 [/TD]
[TD="align: center"]56[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,378.00 [/TD]
[TD="align: center"]57[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$9,116.00 [/TD]
[TD="align: center"]58[/TD]
[TD="align: right"]4/10/2012[/TD]
[TD="align: right"]$2,216.00 [/TD]
[TD="align: center"]59[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$9,247.00 [/TD]
[TD="align: center"]60[/TD]
[TD="align: right"]4/11/2012[/TD]
[TD="align: right"]$1,215.00 [/TD]
[TD="align: center"]61[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$5,489.00 [/TD]
[TD="align: center"]62[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,422.00 [/TD]
</TBODY>
A few Mr. Excel Members have helped me to do something similar. Is there away to adapt this code by adding some kind of string dimension to get this end result:
Excel 2010
<COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]824[/TD]
[TD="align: right"]$11,660.00 [/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]$10,928.00 [/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$191,178.00 [/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]3/7/2012[/TD]
[TD="align: right"]$94,833.00 [/TD]
</TBODY>
Is it feasible to get rid of the dashes first?
Note: Not All Jobs Have Subs. If Jobs do not have a Parent(7 character unique alphanumeric code) then the sum would need to be rolled into the next lowest heirarchy.
I have the following Data:
Excel 2010
A | B | C | D | E | F | G | H | I | |
---|---|---|---|---|---|---|---|---|---|
Header | Header | Header | Header | Header | Header | Header | Header | Header | |
SKYSW | AN20051 | 2704458-1 | Waiting Parts | MOTOR ENGINE START | APU-LRU | ||||
SKYSW | AN20051-1 | 515955-10 | Assembly | STATOR | |||||
SKYSW | AN20052 | 2704458-1 | Waiting Parts | MOTOR ENGINE START | 47-380 | APU-LRU | |||
SKYSW | AN20052-1 | 515955-10 | Assembly | STATOR | |||||
GENEA | AN20071-10 | 160186-1 | RETURN AS IS | OIL TEMP REG. | 86-1191 | APU-LRU | |||
GENEA | AN20071-11 | 3880200-6 | Quote | PUMP ASSEMBLY GENERATOR SCAVENGE | NA | APU-LRU | |||
GENEA | AN20071-12 | 397728-8 | Invoicing | LOAD CONTROL VALVE | 3573C | APU-LRU | |||
GENEA | AN20071-13 | 3790076-105 | RETURN AS IS | IGV ACTUATOR | APU-LRU | ||||
GENEA | AN20071-14 | 3882550-3 | Invoicing | VALVE FL DIV AND DR | A416C | APU-LRU | |||
GENEA | AN20071-15 | 3880190-10 | Outside Vendor | LUBE PUMP | A3873 | APU-LRU | |||
GENEA | AN20071-16 | 3888076-3 | Invoicing | LEAD ELEC INGNTR PL | N/A | APU-LRU | |||
GENEA | AN20071-17 | 3882492-5 | Quote | NOZZLE AND MANF ASSY | NA | APU-LRU | |||
GENEA | AN20071-18 | 3882491-3 | Quote | NOZZLE AND MANF ASSY | NA | APU-LRU | |||
GENEA | AN20071-19 | 979786-4 | Invoicing | VALVE, SHUTOFF | P-223 | APU-LRU | |||
GENEA | AN20071-2 | 3614400-8 | RETURN AS IS | TRANSDUCER ASSY | NA | APU-LRU | |||
GENEA | AN20071-20 | 3876035-5 | Quote | SENSOR PRESS | APU-LRU | ||||
GENEA | AN20071-21 | 3882500-17 | Quote | FUEL CONTROL | 14363C | APU-LRU | |||
GENEA | AN20071-22 | 3888208-2 | Quote | HARNESS | NA | APU-LRU | |||
GENEA | AN20071-23 | 3876026-3 | Invoicing | TRANSDUCER, MOTIONAL (MONOPOLE) | NA | ||||
GENEA | AN20071-24 | 3876026-3 | Invoicing | TRANSDUCER, MOTIONAL (MONOPOLE) | N/A | ||||
GENEA | AN20071-25 | 3876027-4 | RETURN AS IS | THERMOCOUPLE IMRS | 2.2E+10 | ||||
GENEA | AN20071-26 | 3876027-4A | RETURN AS IS | THERMOCOUPLE | 2.2E+10 | ||||
GENEA | AN20071-27 | 3876027-4B | RETURN AS IS | THERMOCOUPLE | 2.2E+10 | ||||
GENEA | AN20071-28 | 3876027-4C | RETURN AS IS | THERMOCOUPLE | 04-01AU3-241 | ||||
GENEA | AN20071-29 | 3876072-2 | RETURN AS IS | SENSOR TEMP | 1.2E+10 | ||||
GENEA | AN20071-3 | 3888058-5 | Quote | EXCITER IGNITION | APU-LRU | ||||
GENEA | AN20071-30 | 3876023-2 | Received | SWITCH TEMP | |||||
GENEA | AN20071-31 | 3876024-6 | Inspection | SWITCH PRESS LOW OIL | |||||
GENEA | AN20071-32 | 3616848-2 | RETURN AS IS | VALVE SHUTOFF GRBX | NA | ||||
GENEA | AN20071-33 | 3876166-1 | Quote | VALVE DEOILING SOL | APU-LRU | ||||
GENEA | AN20071-34 | 979806-12 | Quote | VALVE, SURGE CONTROL | 1509C | APU-LRU | |||
GENEA | AN20071-4 | 519858-8 | Quote | MOTOR OUTLINE, ENGINE STARTER | 58-1619C | APU-LRU | |||
GENEA | AN20071-5 | 3616959-6 | Quote | FAN ASSEMBLY | P-839C | APU-LRU | |||
GENEA | AN20071-5-1 | 3616959-6 | Received | FAN ASSEMBLY | P-839C | ||||
GENEA | AN20071-6 | 3611170-1 | Received | TUBING & PLUMBING | NA | ||||
GENEA | AN20071-7 | 3801003-7 | Assembly | POWER SECTION | P-555 | APU-LRU | |||
GENEA | AN20071-7-1 | 3840006-1 | Received | WHEEL ASSY | 1.04E+10 | ||||
GENEA | AN20071-7-2 | 3840022-4 | Received | WHEEL ASSEMBLY, TURBINE, AXIAL FLO | |||||
GENEA | AN20071-8 | 3804002-10 | Approved | COMP ASSY-DRIVEN | P-404 | ||||
GENEA | AN20071-8-1 | 3822074-3 | Received | COMPRESSOR ROTOR, CENTRIFUGAL, GAS | LN00P300 | ||||
GENEA | AN20071-8-2 | 3840002-5 | Received | WHEEL ASSY TURB 1STG | 9.80E+11 | ||||
GENEA | AN20071-9 | 381389-1 | Received | ENGINE ASSEMBLY | P-1057A | APU | |||
PRENA | AN20073 | 380754-1-2 | Waiting Approva | GTCP36-4A APU | P-37454 | APU | |||
PRENA | AN20073-1 | 697952-2 | Waiting Approva | ROTOR | |||||
PRENA | AN20073-10 | 3603850-1 | Waiting Approva | HOUSING | ID-U016819 | ||||
PRENA | AN20073-11 | 695967-1 | Waiting Approva | BODY | N/A | ||||
PRENA | AN20073-12 | 695968-1 | Waiting Approva | ADAPTER | |||||
PRENA | AN20073-13 | 696117-4 | Waiting Approva | HOUSING | |||||
PRENA | AN20073-14 | 3601169-12 | Waiting Approva | PLENUM | |||||
PRENA | AN20073-15 | 695022-2 | Waiting Approva | CAP | |||||
PRENA | AN20073-16 | 695962-2 | Waiting Approva | SHAFT | |||||
PRENA | AN20073-2 | 3603115-5 | Waiting Approva | WHEEL AND SHAFT ASSEMBLY, TURBINE | UNKNOWN | ||||
PRENA | AN20073-3 | 977500-4 | Waiting Approva | IMPELLER | 1.04E+10 | ||||
PRENA | AN20073-4 | 976143-5 | Waiting Approva | TORUS | |||||
PRENA | AN20073-5 | 3606700-1 | Waiting Approva | FCU | P-122C | ||||
PRENA | AN20073-6 | 3606810-1 | Waiting Approva | TANK | P-1255 | APU-LRU | |||
PRENA | AN20073-6-1 | 3606810-1 | Waiting Approva | TANK | P-1255 | APU-LRU | |||
PRENA | AN20073-7 | 3605812-21 | Invoicing | STARTER | P 13090 | APU-LRU | |||
PRENA | AN20073-7-1 | 3605812-21 | Post Test | STARTER | P 13090 | APU-LRU | |||
PRENA | AN20073-8 | 369945-19 | Waiting Approva | ATOMIZER | N/A | APU-LRU | |||
PRENA | AN20073-9 | 3600067-4 | Waiting Approva | ADAPTER | N/A |
<COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]824[/TD]
[TD="align: right"]$2,595.00 [/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]3/28/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$9,065.00 [/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]$5,900.00 [/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]3/28/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,028.00 [/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$3,878.00 [/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$2,319.00 [/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,105.00 [/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]921[/TD]
[TD="align: right"]$8,860.00 [/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$2,276.00 [/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,309.00 [/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$3,430.00 [/TD]
[TD="align: center"]13[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$4,491.00 [/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,748.00 [/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$641.00 [/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$7,738.00 [/TD]
[TD="align: center"]17[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,520.00 [/TD]
[TD="align: center"]18[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$7,679.00 [/TD]
[TD="align: center"]19[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]$5,160.00 [/TD]
[TD="align: center"]20[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,121.00 [/TD]
[TD="align: center"]21[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,680.00 [/TD]
[TD="align: center"]22[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,725.00 [/TD]
[TD="align: center"]23[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,723.00 [/TD]
[TD="align: center"]24[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$6,980.00 [/TD]
[TD="align: center"]25[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,344.00 [/TD]
[TD="align: center"]26[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,016.00 [/TD]
[TD="align: center"]27[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]474231[/TD]
[TD="align: right"]$1,755.00 [/TD]
[TD="align: center"]28[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]3455[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,719.00 [/TD]
[TD="align: center"]29[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]1156[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$1,852.00 [/TD]
[TD="align: center"]30[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,212.00 [/TD]
[TD="align: center"]31[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]5253[/TD]
[TD="align: right"]$7,744.00 [/TD]
[TD="align: center"]32[/TD]
[TD="align: right"]5/1/2012[/TD]
[TD="align: right"]$8,313.00 [/TD]
[TD="align: center"]33[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$7,098.00 [/TD]
[TD="align: center"]34[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$8,749.00 [/TD]
[TD="align: center"]35[/TD]
[TD="align: right"]5/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,935.00 [/TD]
[TD="align: center"]36[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,844.00 [/TD]
[TD="align: center"]37[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"]$1,909.00 [/TD]
[TD="align: center"]38[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,840.00 [/TD]
[TD="align: center"]39[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"]1.03E+09[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$4,377.00 [/TD]
[TD="align: center"]40[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,029.00 [/TD]
[TD="align: center"]41[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,067.00 [/TD]
[TD="align: center"]42[/TD]
[TD="align: right"]4/27/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,995.00 [/TD]
[TD="align: center"]43[/TD]
[TD="align: right"]4/26/2012[/TD]
[TD="align: right"]$1,997.00 [/TD]
[TD="align: center"]44[/TD]
[TD="align: right"]3/7/2012[/TD]
[TD="align: right"]$5,432.00 [/TD]
[TD="align: center"]45[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,746.00 [/TD]
[TD="align: center"]46[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,147.00 [/TD]
[TD="align: center"]47[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$7,373.00 [/TD]
[TD="align: center"]48[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$948.00 [/TD]
[TD="align: center"]49[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$2,389.00 [/TD]
[TD="align: center"]50[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,257.00 [/TD]
[TD="align: center"]51[/TD]
[TD="align: right"]4/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$5,704.00 [/TD]
[TD="align: center"]52[/TD]
[TD="align: right"]4/4/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$968.00 [/TD]
[TD="align: center"]53[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$9,407.00 [/TD]
[TD="align: center"]54[/TD]
[TD="align: right"]4/2/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,499.00 [/TD]
[TD="align: center"]55[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]$8,880.00 [/TD]
[TD="align: center"]56[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,378.00 [/TD]
[TD="align: center"]57[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$9,116.00 [/TD]
[TD="align: center"]58[/TD]
[TD="align: right"]4/10/2012[/TD]
[TD="align: right"]$2,216.00 [/TD]
[TD="align: center"]59[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$9,247.00 [/TD]
[TD="align: center"]60[/TD]
[TD="align: right"]4/11/2012[/TD]
[TD="align: right"]$1,215.00 [/TD]
[TD="align: center"]61[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"]$5,489.00 [/TD]
[TD="align: center"]62[/TD]
[TD="align: right"]4/3/2012[/TD]
[TD="align: right"][/TD]
[TD="align: right"]$3,422.00 [/TD]
</TBODY>
Sheet1
A few Mr. Excel Members have helped me to do something similar. Is there away to adapt this code by adding some kind of string dimension to get this end result:
Code:
Sub InsertSums()
Dim c As Range
For Each c In Range("M:M").SpecialCells(xlConstants).Areas
If c(1).row > 1 Then c(0) = "=sum(" & c.Address & ")"
Next
End Sub
Excel 2010
A | B | C | D | E | F | G | H | I | |
---|---|---|---|---|---|---|---|---|---|
Header | Header | Header | Header | Header | Header | Header | Header | Header | |
SKYSW | AN20051 | 2704458-1 | Waiting Parts | MOTOR ENGINE START | APU-LRU | ||||
SKYSW | AN20052 | 2704458-1 | Waiting Parts | MOTOR ENGINE START | 47-380 | APU-LRU | |||
GENEA | AN20071-2 | 3614400-8 | RETURN AS IS | TRANSDUCER ASSY | NA | APU-LRU | |||
PRENA | AN20073 | 380754-1-2 | Waiting Approva | GTCP36-4A APU | P-37454 | APU |
<COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]824[/TD]
[TD="align: right"]$11,660.00 [/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]3/12/2012[/TD]
[TD="align: right"]$10,928.00 [/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]4/24/2012[/TD]
[TD="align: right"]$191,178.00 [/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]3/7/2012[/TD]
[TD="align: right"]$94,833.00 [/TD]
</TBODY>
Sheet1
Is it feasible to get rid of the dashes first?
Last edited: