I attached a file which explains in the comments of the cells what i exactly i try to do, as a simple example >>
<table border="0" cellpadding="0" cellspacing="0" width="899"><col style="mso-width-source:userset;mso-width-alt:2304;width:47pt" width="63"> <col style="mso-width-source:userset;mso-width-alt:5266;width:108pt" width="144"> <col style="mso-width-source:userset;mso-width-alt:8301;width:170pt" width="227"> <col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82"> <col style="mso-width-source:userset;mso-width-alt:2669;width:55pt" width="73"> <col style="mso-width-source:userset;mso-width-alt:2633;width:54pt" width="72"> <col style="mso-width-source:userset;mso-width-alt:2925;width:60pt" width="80"> <col style="mso-width-source:userset;mso-width-alt:3437;width:71pt" width="94"> <col style="width:48pt" width="64"> <tbody><tr style="mso-height-source:userset;height:31.5pt" height="42"> <td class="xl66" style="height:31.5pt;width:47pt" height="42" width="63">A</td> <td class="xl66" style="width:108pt" width="144">B</td> <td class="xl66" style="width:170pt" width="227">C</td> <td class="xl66" style="width:62pt" width="82">D</td> <td class="xl65" style="width:55pt" width="73">E</td> <td class="xl65" style="width:54pt" width="72">F</td> <td class="xl65" style="width:60pt" width="80">G</td> <td class="xl65" style="width:71pt" width="94">H</td> <td class="xl65" style="width:48pt" width="64">I</td> </tr> <tr style="height:30.0pt" height="40"> <td class="xl64" style="height:30.0pt" align="right" height="40">97301003</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">SYRIA 0096316236443</td> <td class="xl64" align="right">0.21</td> <td class="xl65" style="width:55pt" width="73">Other Charges</td> <td class="xl65" style="width:54pt" width="72">Rental VPN Mon.</td> <td class="xl65" style="width:60pt" width="80">Local Calls VPN</td> <td class="xl65" style="width:71pt" width="94">International Calls</td> <td class="xl65" style="width:48pt" width="64">SMS</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">97331379</td> <td class="xl64" align="left">Short Message</td> <td class="xl64" align="left">ON SMS ORIGINATING</td> <td class="xl64" align="right">0.02</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming Forward</td> <td class="xl64" align="left">ITALY 66930613</td> <td class="xl64" align="right">3.5</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99011639</td> <td class="xl64" align="left">Other Charges</td> <td class="xl64" align="left">OFFNET MMS</td> <td class="xl64" align="right">0.075</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">97166333</td> <td class="xl64" align="left">Local Calls</td> <td class="xl64" align="left">VPN PKG3 OFNT OPK</td> <td class="xl64" align="right">0.232</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99229841</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">EGYPT 0020100339333</td> <td class="xl64" align="right">1.05</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">99423349</td> <td class="xl64" align="left">Short Message</td> <td class="xl64" align="left">OFF SMS MO TO NMTC</td> <td class="xl64" align="right">0.04</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming SMS</td> <td class="xl64" align="left">KUWAIT 96396000303</td> <td class="xl64" align="right">0.15</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming Abroad</td> <td class="xl64" align="left">ITALY 393337736003</td> <td class="xl64" align="right">1.2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">97301003</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">SYRIA 0096316236443</td> <td class="xl64" align="right">3.99</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99443614</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">JORDAN 00962796878170</td> <td class="xl64" align="right">0.442</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
so i want the total of JOHN S. (5) to be in the Col. C and to delete the line of JOHN S. 3 to not get duplicated amount
this is a brief of what i try to get ,but the file that i attached is more bigger , and it will be better if it can be a MACRO not a formula
Thank you in advance
<table border="0" cellpadding="0" cellspacing="0" width="899"><col style="mso-width-source:userset;mso-width-alt:2304;width:47pt" width="63"> <col style="mso-width-source:userset;mso-width-alt:5266;width:108pt" width="144"> <col style="mso-width-source:userset;mso-width-alt:8301;width:170pt" width="227"> <col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82"> <col style="mso-width-source:userset;mso-width-alt:2669;width:55pt" width="73"> <col style="mso-width-source:userset;mso-width-alt:2633;width:54pt" width="72"> <col style="mso-width-source:userset;mso-width-alt:2925;width:60pt" width="80"> <col style="mso-width-source:userset;mso-width-alt:3437;width:71pt" width="94"> <col style="width:48pt" width="64"> <tbody><tr style="mso-height-source:userset;height:31.5pt" height="42"> <td class="xl66" style="height:31.5pt;width:47pt" height="42" width="63">A</td> <td class="xl66" style="width:108pt" width="144">B</td> <td class="xl66" style="width:170pt" width="227">C</td> <td class="xl66" style="width:62pt" width="82">D</td> <td class="xl65" style="width:55pt" width="73">E</td> <td class="xl65" style="width:54pt" width="72">F</td> <td class="xl65" style="width:60pt" width="80">G</td> <td class="xl65" style="width:71pt" width="94">H</td> <td class="xl65" style="width:48pt" width="64">I</td> </tr> <tr style="height:30.0pt" height="40"> <td class="xl64" style="height:30.0pt" align="right" height="40">97301003</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">SYRIA 0096316236443</td> <td class="xl64" align="right">0.21</td> <td class="xl65" style="width:55pt" width="73">Other Charges</td> <td class="xl65" style="width:54pt" width="72">Rental VPN Mon.</td> <td class="xl65" style="width:60pt" width="80">Local Calls VPN</td> <td class="xl65" style="width:71pt" width="94">International Calls</td> <td class="xl65" style="width:48pt" width="64">SMS</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">97331379</td> <td class="xl64" align="left">Short Message</td> <td class="xl64" align="left">ON SMS ORIGINATING</td> <td class="xl64" align="right">0.02</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming Forward</td> <td class="xl64" align="left">ITALY 66930613</td> <td class="xl64" align="right">3.5</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99011639</td> <td class="xl64" align="left">Other Charges</td> <td class="xl64" align="left">OFFNET MMS</td> <td class="xl64" align="right">0.075</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">97166333</td> <td class="xl64" align="left">Local Calls</td> <td class="xl64" align="left">VPN PKG3 OFNT OPK</td> <td class="xl64" align="right">0.232</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99229841</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">EGYPT 0020100339333</td> <td class="xl64" align="right">1.05</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">99423349</td> <td class="xl64" align="left">Short Message</td> <td class="xl64" align="left">OFF SMS MO TO NMTC</td> <td class="xl64" align="right">0.04</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming SMS</td> <td class="xl64" align="left">KUWAIT 96396000303</td> <td class="xl64" align="right">0.15</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99398047</td> <td class="xl64" align="left">Roaming Abroad</td> <td class="xl64" align="left">ITALY 393337736003</td> <td class="xl64" align="right">1.2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="right" height="20">97301003</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">SYRIA 0096316236443</td> <td class="xl64" align="right">3.99</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl64" style="height:15.0pt" align="left" height="20">99443614</td> <td class="xl64" align="left">International Calls</td> <td class="xl64" align="left">JORDAN 00962796878170</td> <td class="xl64" align="right">0.442</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
so i want the total of JOHN S. (5) to be in the Col. C and to delete the line of JOHN S. 3 to not get duplicated amount
this is a brief of what i try to get ,but the file that i attached is more bigger , and it will be better if it can be a MACRO not a formula
Thank you in advance