sum the crossponding vaule that are not numeric in condition range

zia.butt

Board Regular
Joined
Feb 3, 2010
Messages
97
<TABLE style="WIDTH: 299pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=398 border=0><COLGROUP><COL style="WIDTH: 162pt; mso-width-source: userset; mso-width-alt: 7899" width=216><COL style="WIDTH: 65pt; mso-width-source: userset; mso-width-alt: 3145" width=86><COL style="WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 3510" width=96><TBODY><TR style="HEIGHT: 22.5pt" height=30><TD class=xl79 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 22.5pt; BACKGROUND-COLOR: transparent" width=216 height=30>Description</TD><TD class=xl80 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; WIDTH: 65pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" width=86>Total Expense</TD><TD class=xl80 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; WIDTH: 72pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Expense Against</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl74 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" width=216 height=24> </TD><TD class=xl75 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl77 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96> </TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque Book</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>4.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>po</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheq. With drawl (IPHONE)</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>249.900</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Shahzad salary with bank charges</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>808.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Debit Charges</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>3.100</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque book order</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>3.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque for Gulf Net Note Book</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>150.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Website Partial Payment</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>85.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Furniture Cheque Al Zahir</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>962.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>20,170</TD></TR><TR style="HEIGHT: 25.5pt" height=34><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 25.5pt; BACKGROUND-COLOR: transparent" align=left width=216 height=34>Digi-Key Power Supply USA 100.18 USD</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>28.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>20,428</TD></TR></TBODY></TABLE>

<TABLE style="WIDTH: 611pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=815 border=0><COLGROUP><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3620" width=99><COL style="WIDTH: 263pt; mso-width-source: userset; mso-width-alt: 12836" width=351><COL style="WIDTH: 274pt; mso-width-source: userset; mso-width-alt: 13348" width=365><TBODY><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver 0.5pt solid; BORDER-LEFT: #ece9d8; WIDTH: 74pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" width=99 height=24>Against Pos</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 263pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea" width=351>SUMPRODUCT(--(ISNUMBER(F10:F302)),(E10:E302))</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 274pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left width=365>it return the sum of crossponding values that are numeric</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" height=24>Admin</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea">SUMPRODUCT(--(E4=F10:F302),(E10:E302))</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left>it return the sum of crossponding values that are equal to text in cell e4 which is "Admin"</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" height=24>Others</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea">?</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left>Here I want to the sum of crossponding values are not numeric and also not "Admin"</TD></TR></TBODY></TABLE>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Try the following formula:
=SUMPRODUCT((--NOT(F10:F302="Admin")*--NOT(ISNUMBER(F10:F302))),E10:E302)

Or Alternatively, since you are already evaluating the other two
=SUM(E10:302)-(E303+E304)
Assuming that above two formulas are in E303 & 304 respectively!
 
Last edited:
Upvote 0
<TABLE style="WIDTH: 299pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=398 border=0><COLGROUP><COL style="WIDTH: 162pt; mso-width-source: userset; mso-width-alt: 7899" width=216><COL style="WIDTH: 65pt; mso-width-source: userset; mso-width-alt: 3145" width=86><COL style="WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 3510" width=96><TBODY><TR style="HEIGHT: 22.5pt" height=30><TD class=xl79 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 22.5pt; BACKGROUND-COLOR: transparent" width=216 height=30>Description</TD><TD class=xl80 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; WIDTH: 65pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" width=86>Total Expense</TD><TD class=xl80 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; WIDTH: 72pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Expense Against</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl74 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" width=216 height=24> </TD><TD class=xl75 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent"> </TD><TD class=xl77 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: #ece9d8; BORDER-LEFT: silver; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96> </TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque Book</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>4.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>po</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheq. With drawl (IPHONE)</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>249.900</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Shahzad salary with bank charges</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>808.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Debit Charges</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>3.100</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque book order</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>3.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Cheque for Gulf Net Note Book</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>150.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Website Partial Payment</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>85.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>Admin</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: transparent" align=left width=216 height=24>Furniture Cheque Al Zahir</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>962.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>20,170</TD></TR><TR style="HEIGHT: 25.5pt" height=34><TD class=xl72 style="BORDER-RIGHT: silver 0.5pt solid; BORDER-TOP: silver; BORDER-LEFT: silver 0.5pt solid; WIDTH: 162pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 25.5pt; BACKGROUND-COLOR: transparent" align=left width=216 height=34>Digi-Key Power Supply USA 100.18 USD</TD><TD class=xl81 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: silver; WIDTH: 65pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" align=right width=86>28.000</TD><TD class=xl82 style="BORDER-RIGHT: #c00000 2pt double; BORDER-TOP: silver; BORDER-LEFT: #c00000; WIDTH: 72pt; BORDER-BOTTOM: silver 0.5pt solid; BACKGROUND-COLOR: transparent" width=96>20,428</TD></TR></TBODY></TABLE>

<TABLE style="WIDTH: 611pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=815 border=0><COLGROUP><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3620" width=99><COL style="WIDTH: 263pt; mso-width-source: userset; mso-width-alt: 12836" width=351><COL style="WIDTH: 274pt; mso-width-source: userset; mso-width-alt: 13348" width=365><TBODY><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver 0.5pt solid; BORDER-LEFT: #ece9d8; WIDTH: 74pt; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" width=99 height=24>Against Pos</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 263pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea" width=351>SUMPRODUCT(--(ISNUMBER(F10:F302)),(E10:E302))</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 274pt; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left width=365>it return the sum of crossponding values that are numeric</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" height=24>Admin</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea">SUMPRODUCT(--(E4=F10:F302),(E10:E302))</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left>it return the sum of crossponding values that are equal to text in cell e4 which is "Admin"</TD></TR><TR style="HEIGHT: 18pt" height=24><TD class=xl75 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: silver; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: silver 0.5pt solid; HEIGHT: 18pt; BACKGROUND-COLOR: #eaeaea" height=24>Others</TD><TD class=xl76 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: #eaeaea">?</TD><TD class=xl74 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; BACKGROUND-COLOR: transparent" align=left>Here I want to the sum of crossponding values are not numeric and also not "Admin"</TD></TR></TBODY></TABLE>
Against Pos...

Better:

=SUMIF(F10:F302,">=0",E10:E302)

Against Admin...

Better:

=SUMIF(F10:F302,E4,E10:E302)

For Others:

Either...

=SUM(E10:E302)-SUM(SumOfAboveCalcs)

Or...

=SUM(E10:E302)-SUM(SUMIF(F10:F302,{">0","Admin"},E10:E302))

 
Upvote 0
Try this
<b>Excel 2007</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: center;;"></td><td style="text-align: center;;">Admin</td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: center;border-bottom: 1px solid black;;"></td><td style="text-align: center;border-bottom: 1px solid black;;"></td><td style="text-align: center;border-bottom: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Description</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Total Expense</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Expense Against</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Cheque Book</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">4</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">po</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Cheq. With drawl (IPHONE)</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">249.9</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Shahzad salary with bank charges</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">808</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Debit Charges</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">3.1</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Cheque book order</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">3</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Cheque for Gulf Net Note Book</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">150</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Website Partial Payment</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">85</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Admin</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">18</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Furniture Cheque Al Zahir</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">962</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">20,170</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">19</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Digi-Key Power Supply USA 100.18 USD</td><td style="text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">28</td><td style="font-weight: bold;text-align: center;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">20,428</td><td style="text-align: center;border-left: 1px solid black;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet2</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">I14</th><td style="text-align:left">=SUMPRODUCT(<font color="Blue">--(<font color="Red">F11:F19<>E4</font>),--(<font color="Red">1-ISNUMBER(<font color="Green">F11:F19</font>)</font>),E11:E19</font>)</td></tr></tbody></table></td></tr></table><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Array Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">I13</th><td style="text-align:left">{=SUM(<font color="Blue">IF(<font color="Red">F11:F19<>E4,IF(<font color="Green">1-ISNUMBER(<font color="Purple">F11:F19</font>),E11:E19</font>)</font>)</font>)}</td></tr></tbody></table><b>Entered with Ctrl+Shift+Enter.</b> If entered correctly, Excel will surround with curly braces {}.
<b>Note: Do not try and enter the {} manually yourself</b></td></tr></table><br />
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top