|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
<P><FONT face=黑体 color=#d52b2b size=1>帮帮我!</FONT>每月算出来的数字都合计有误,最后必须以合计数为准。害的我每次都要手动调整数字,求教:每列(每个销售部门)的小计数字与合计一样。</P>
<P>
<TABLE borderColor=#cccccc cellSpacing=2 cellPadding=3 width="100%" bgColor=#ffffff border=1>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=674 border=0 x:str>
<COLGROUP>
<COL style="WIDTH: 140pt; mso-width-source: userset; mso-width-alt: 5952" width=186>
<COL style="WIDTH: 126pt; mso-width-source: userset; mso-width-alt: 5376" width=168>
<COL style="WIDTH: 125pt; mso-width-source: userset; mso-width-alt: 5344" width=167>
<COL style="WIDTH: 115pt; mso-width-source: userset; mso-width-alt: 4896" width=153>
<TR height=20>
<TD class=xl22 width=186 height=20><FONT face=宋体><b>单位</b></FONT></TD>
<TD class=xl23 width=168><FONT face=宋体><b>合 计</b></FONT></TD>
<TD class=xl23 width=167><FONT face=宋体><b>第一销售部</b></FONT></TD>
<TD class=xl23 width=153><FONT face=宋体><b>第二销售部</b></FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>1</FONT></b></TD>
<TD class=xl25 align=right x:num="12243119.84" x:fmla="=ROUND(C2+D2,2)"><FONT size=2>12,243,119.84 </FONT></TD>
<TD class=xl25 align=right x:num="11799659.800000001" x:fmla="=ROUND(11799659.8005222,2)"><FONT size=2>11,799,659.80 </FONT></TD>
<TD class=xl26 align=right x:num="443460.03737920942"><FONT size=2>443,460.04 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>2</FONT></b></TD>
<TD class=xl25 align=right x:num="10496727.029999999" x:fmla="=ROUND(C3+D3,2)"><FONT size=2>10,496,727.03 </FONT></TD>
<TD class=xl25 align=right x:num="9685383.9674324002"><FONT size=2>9,685,383.97 </FONT></TD>
<TD class=xl26 align=right x:num="811343.06614934118"><FONT size=2>811,343.07 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>3</FONT></b></TD>
<TD class=xl25 align=right x:num="8505614.495353831" x:fmla="=C4+D4"><FONT size=2>8,505,614.50 </FONT></TD>
<TD class=xl25 align=right x:num="8005377.510551489"><FONT size=2>8,005,377.51 </FONT></TD>
<TD class=xl26 align=right x:num="500236.9848023426"><FONT size=2>500,236.98 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>4</FONT></b></TD>
<TD class=xl25 align=right x:num="10886469.272869693" x:fmla="=C5+D5"><FONT size=2>10,886,469.27 </FONT></TD>
<TD class=xl25 align=right x:num="10292003.130541729"><FONT size=2>10,292,003.13 </FONT></TD>
<TD class=xl26 align=right x:num="594466.14232796489"><FONT size=2>594,466.14 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>5</FONT></b></TD>
<TD class=xl25 align=right x:num="12768090.360546608" x:fmla="=C6+D6"><FONT size=2>12,768,090.36 </FONT></TD>
<TD class=xl25 align=right x:num="12061778.265817471"><FONT size=2>12,061,778.27 </FONT></TD>
<TD class=xl26 align=right x:num="706312.09472913621"><FONT size=2>706,312.09 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>6</FONT></b></TD>
<TD class=xl25 align=right x:num="124951.36000488044" x:fmla="=C7+D7"><FONT size=2>124,951.36 </FONT></TD>
<TD class=xl25 align=right x:num="115819.31076622743"><FONT size=2>115,819.31 </FONT></TD>
<TD class=xl26 align=right x:num="9132.0492386530022"><FONT size=2>9,132.05 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>7</FONT></b></TD>
<TD class=xl25 align=right x:num="745920.99866461696" x:fmla="=C8+D8"><FONT size=2>745,921.00 </FONT></TD>
<TD class=xl25 align=right x:num="705912.31674485118"><FONT size=2>705,912.32 </FONT></TD>
<TD class=xl26 align=right x:num="40008.681919765739"><FONT size=2>40,008.68 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>8</FONT></b></TD>
<TD class=xl25 align=right x:num="1310903.0871918497" x:fmla="=C9+D9"><FONT size=2>1,310,903.09 </FONT></TD>
<TD class=xl25 align=right x:num="1238222.5949204003"><FONT size=2>1,238,222.59 </FONT></TD>
<TD class=xl26 align=right x:num="72680.49227144949"><FONT size=2>72,680.49 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>9</FONT></b></TD>
<TD class=xl25 align=right x:num="96855.449966578817" x:fmla="=C10+D10"><FONT size=2>96,855.45 </FONT></TD>
<TD class=xl25 align=right x:num="89490.525312874568"><FONT size=2>89,490.53 </FONT></TD>
<TD class=xl26 align=right x:num="7364.9246537042463"><FONT size=2>7,364.92 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>10</FONT></b></TD>
<TD class=xl25 align=right x:num="241521.05892977063" x:fmla="=C11+D11"><FONT size=2>241,521.06 </FONT></TD>
<TD class=xl25 align=right x:num="235368.11577398732"><FONT size=2>235,368.12 </FONT></TD>
<TD class=xl26 align=right x:num="6152.9431557833095"><FONT size=2>6,152.94 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>11</FONT></b></TD>
<TD class=xl25 align=right x:num="629783.28030818934" x:fmla="=C12+D12"><FONT size=2>629,783.28 </FONT></TD>
<TD class=xl25 align=right x:num="600567.15182572964"><FONT size=2>600,567.15 </FONT></TD>
<TD class=xl26 align=right x:num="29216.128482459739"><FONT size=2>29,216.13 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>12</FONT></b></TD>
<TD class=xl25 align=right x:num="1899099.6889030063" x:fmla="=C13+D13"><FONT size=2>1,899,099.69 </FONT></TD>
<TD class=xl25 align=right x:num="1838255.9200519961"><FONT size=2>1,838,255.92 </FONT></TD>
<TD class=xl26 align=right x:num="60843.768851010245"><FONT size=2>60,843.77 </FONT></TD></TR>
<TR height=20>
<TD class=xl24 height=20 x:num><b><FONT size=2>13</FONT></b></TD>
<TD class=xl25 align=right x:num="3411366.068886159" x:fmla="=C14+D14"><FONT size=2>3,411,366.07 </FONT></TD>
<TD class=xl25 align=right x:num="3136832.5728469789"><FONT size=2>3,136,832.57 </FONT></TD>
<TD class=xl26 align=right x:num="274533.49603918009"><FONT size=2>274,533.50 </FONT></TD></TR>
<TR height=20>
<TD class=xl27 height=20><b><FONT face=宋体 size=2>小计</FONT></b></TD>
<TD class=xl25 align=right x:num="63360421.991625182" x:fmla="=SUM(B2:B14)"><FONT size=2>63,360,421.99 </FONT></TD>
<TD class=xl25 align=right x:num="59804671.182586133" x:fmla="=SUM(C2:C14)"><FONT size=2>59,804,671.18 </FONT></TD>
<TD class=xl26 align=right x:num="3555750.81" x:fmla="=SUM(D2:D14)"><FONT size=2>3,555,750.81 </FONT></TD></TR>
<TR height=20>
<TD class=xl27 height=20><b><FONT face=宋体 size=2>**公司</FONT></b></TD>
<TD class=xl25 align=right x:num="23503.9" x:fmla="=C16+D16"><FONT size=2>23,503.90 </FONT></TD>
<TD class=xl25 align=right x:num="21150"><FONT size=2>21,150.00 </FONT></TD>
<TD class=xl26 align=right x:num="2353.9"><FONT size=2>2,353.90 </FONT></TD></TR>
<TR height=20>
<TD class=xl28 height=20><b><FONT face=宋体 size=2>合计</FONT></b></TD>
<TD class=xl29 align=right x:num="63383925.892586134" x:fmla="=D17+C17"><FONT size=2>63,383,925.89 </FONT></TD>
<TD class=xl29 align=right x:num="59825821.182586133" x:fmla="=C16+C15"><FONT size=2>59,825,821.18 </FONT></TD>
<TD class=xl30 align=right x:num="3558104.71" x:fmla="=D16+D15"><FONT size=2>3,558,104.71 </FONT></TD></TR></TABLE></TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TR>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD></TR></TABLE></P> |
|