em mới học excel có phần này em không hiểu mong anh chị giúp đỡ em!
[TABLE="width: 826"]
[TR]
[TD="class: et1, width: 64"]TT[/TD]
[TD="class: et1, width: 64"]MÃ HỘ [/TD]
[TD="class: et1, width: 96"]TÊN QUẬN[/TD]
[TD="class: et1, width: 104"]HỌ TÊN[/TD]
[TD="class: et1, width: 64"]SỐ CŨ [/TD]
[TD="class: et1, width: 64"]SỐ MỚI [/TD]
[TD="class: et1, width: 132"]SỐ ĐIỆN TIÊU THỤ[/TD]
[TD="class: et1, width: 90"]ĐỊNH MỨC[/TD]
[TD="class: et1, width: 64"]ĐƠN GIÁ[/TD]
[TD="class: et1, width: 84"]THÀNH TIỀN[/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]1[/TD]
[TD="class: et1, width: 64"]HKSH[/TD]
[TD="class: et1, width: 96"]Hoàn Kiếm[/TD]
[TD="class: et1, width: 104"]Trần Lực[/TD]
[TD="class: et1, width: 64"]1235[/TD]
[TD="class: et1, width: 64"]1345[/TD]
[TD="class: et1, width: 132"]110[/TD]
[TD="class: et1, width: 90"]100[/TD]
[TD="class: et1, width: 64"]550[/TD]
[TD="class: et1, width: 84"][/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]2[/TD]
[TD="class: et1, width: 64"]HBSX[/TD]
[TD="class: et1, width: 96"]H.Bà Trưng[/TD]
[TD="class: et1, width: 104"]Trần Văn Nam[/TD]
[TD="class: et1, width: 64"]563[/TD]
[TD="class: et1, width: 64"]600[/TD]
[TD="class: et1, width: 132"]37[/TD]
[TD="class: et1, width: 90"]70[/TD]
[TD="class: et1, width: 64"]1300[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]3[/TD]
[TD="class: et1, width: 64"]DDKD[/TD]
[TD="class: et1, width: 96"]Đống Đa[/TD]
[TD="class: et1, width: 104"]Đỗ Thị Nguyệt[/TD]
[TD="class: et1, width: 64"]123[/TD]
[TD="class: et1, width: 64"]153[/TD]
[TD="class: et1, width: 132"]30[/TD]
[TD="class: et1, width: 90"]50[/TD]
[TD="class: et1, width: 64"]780[/TD]
[TD][/TD]
[/TR]
[/TABLE]
tính cột thành tiền như sau:
nếu số điện tiêu thụ(G2)<=định mức(H2) thì thành tiền(J2)=tiêu thụ(G2)*đơn giá(i2)
nếu số điện tiêu thụ(G2)<=định mức(H2) thì thành tiền(J2)=tiêu thụ(G2)*đơn giá(i2)*0.2%
em phải làm thế nào ạ?
[TABLE="width: 826"]
[TR]
[TD="class: et1, width: 64"]TT[/TD]
[TD="class: et1, width: 64"]MÃ HỘ [/TD]
[TD="class: et1, width: 96"]TÊN QUẬN[/TD]
[TD="class: et1, width: 104"]HỌ TÊN[/TD]
[TD="class: et1, width: 64"]SỐ CŨ [/TD]
[TD="class: et1, width: 64"]SỐ MỚI [/TD]
[TD="class: et1, width: 132"]SỐ ĐIỆN TIÊU THỤ[/TD]
[TD="class: et1, width: 90"]ĐỊNH MỨC[/TD]
[TD="class: et1, width: 64"]ĐƠN GIÁ[/TD]
[TD="class: et1, width: 84"]THÀNH TIỀN[/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]1[/TD]
[TD="class: et1, width: 64"]HKSH[/TD]
[TD="class: et1, width: 96"]Hoàn Kiếm[/TD]
[TD="class: et1, width: 104"]Trần Lực[/TD]
[TD="class: et1, width: 64"]1235[/TD]
[TD="class: et1, width: 64"]1345[/TD]
[TD="class: et1, width: 132"]110[/TD]
[TD="class: et1, width: 90"]100[/TD]
[TD="class: et1, width: 64"]550[/TD]
[TD="class: et1, width: 84"][/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]2[/TD]
[TD="class: et1, width: 64"]HBSX[/TD]
[TD="class: et1, width: 96"]H.Bà Trưng[/TD]
[TD="class: et1, width: 104"]Trần Văn Nam[/TD]
[TD="class: et1, width: 64"]563[/TD]
[TD="class: et1, width: 64"]600[/TD]
[TD="class: et1, width: 132"]37[/TD]
[TD="class: et1, width: 90"]70[/TD]
[TD="class: et1, width: 64"]1300[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: et1, width: 64"]3[/TD]
[TD="class: et1, width: 64"]DDKD[/TD]
[TD="class: et1, width: 96"]Đống Đa[/TD]
[TD="class: et1, width: 104"]Đỗ Thị Nguyệt[/TD]
[TD="class: et1, width: 64"]123[/TD]
[TD="class: et1, width: 64"]153[/TD]
[TD="class: et1, width: 132"]30[/TD]
[TD="class: et1, width: 90"]50[/TD]
[TD="class: et1, width: 64"]780[/TD]
[TD][/TD]
[/TR]
[/TABLE]
tính cột thành tiền như sau:
nếu số điện tiêu thụ(G2)<=định mức(H2) thì thành tiền(J2)=tiêu thụ(G2)*đơn giá(i2)
nếu số điện tiêu thụ(G2)<=định mức(H2) thì thành tiền(J2)=tiêu thụ(G2)*đơn giá(i2)*0.2%
em phải làm thế nào ạ?