<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2509167754737584590.post23291451363166412..comments</id><updated>2010-05-02T09:08:58.713+05:30</updated><category term='Excel Addins'/><category term='countif two criteria'/><category term='Hide cell contents before printing'/><category term='Sum Top 5 values in Unsorted Range'/><category term='Forcing users to use updated version'/><category term='Macros in Excel'/><category term='countif array'/><category term='PMT Function in Excel'/><category term='Test if workbook is open or not'/><category term='Formating Numbers in Excel'/><category term='Symbol Check Mark'/><category term='Disable Cut Copy Paste in Excel'/><category term='Pivot Tables'/><category term='Range Name Excel'/><category term='calculating age'/><category term='Custom Functions'/><category term='Excel Vlookup Function'/><category term='subtotal function excel'/><category term='multiple countif'/><category term='Deploy Macros Found Elsewhere'/><category term='Get Number From String'/><category term='countif with multiple criteria'/><category term='Send email with VBA'/><category term='Excel Currency Format'/><category term='Excel Macros'/><category term='Excel Formulas'/><category term='sumif multiple'/><category term='subtotal in excel'/><category term='Auto Open Macro'/><category term='Extract Number From String'/><category term='Automating Tasks in Excel'/><category term='Adding non printing information to your worksheet'/><category term='Find Duplicate'/><category term='Hardware Locking for Excel Workbook'/><category term='Excel Date Picker'/><category term='Profit and Loss report using Pivot Tables'/><category term='Excel Last Row'/><category term='Find Last Row'/><category term='Spell Currency'/><category term='Extract Number From Text'/><category term='EMI Calculator'/><category term='Macro Last Row'/><category term='File Open'/><category term='countif multiple conditions'/><category term='Excel Pop up Calendar'/><category term='Wingdings Check Mark with double click'/><category term='Sorting Dates by Birthday'/><category term='Disable right click menu'/><category term='Working with date function'/><category term='excel subtotals'/><category term='Excel Kay Board Shortcuts'/><category term='Defined Names'/><category term='Excel Closest Match'/><category term='Indian Style Comma Separation for numbers'/><category term='Converting Text to date'/><category term='Convert Numbers to Words'/><category term='Working with Data Range'/><category term='Show Developer Tab'/><category term='Logging User Activity'/><category term='Numbers to Text'/><category term='VBA Last Row'/><category term='Countif Multiple Criteria'/><category term='Email Address Extract'/><category term='Add Spin Buttons ActiveX Controls'/><category term='Visual Basic Grammar'/><category term='Formating Cells in Excel'/><category term='Making EMI Calculator'/><category term='Excel Number Format'/><category term='sumif multiple criteria'/><category term='subtotals in excel'/><category term='multiple sumif criteria'/><category term='Remove Duplicate'/><category term='Learn Excel VBA'/><category term='Forcing users to Enable Macros'/><category term='subtotal excel'/><category term='Text To Numbers'/><category term='SpellCurr()'/><title type='text'>Comments on Yogesh Gupta's Excel Tips: Excel Formula : Sum top 5 in unsorted range</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.yogeshguptaonline.com/feeds/23291451363166412/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html'/><author><name>Yogesh Gupta</name><uri>http://www.blogger.com/profile/08246342663404873564</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_3QrPv-CwOcc/StCm3VNBEOI/AAAAAAAAAIg/4ahMTa1Ps5c/S220/Yogesh.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2509167754737584590.post-3557881133958665551</id><published>2010-05-02T09:08:58.706+05:30</published><updated>2010-05-02T09:08:58.706+05:30</updated><title type='text'>@ SmprFidels

Formula will not work the way you ha...</title><content type='html'>@ SmprFidels&lt;br /&gt;&lt;br /&gt;Formula will not work the way you have constructed it. How ever if your data has less then 5 numbers you can use sum instead of sumproduct as above. This can be handled using if function.&lt;br /&gt;&lt;br /&gt;I would have deployed following formula in situation like yours&lt;br /&gt;&lt;br /&gt;=IF(COUNT(E9:N9)&amp;lt;5,SUM(E9:N9),(SUMPRODUCT(LARGE(E9:N9,ROW(1:5)))))&lt;br /&gt;&lt;br /&gt;I hope this helps, let me know in case you need further help&lt;br /&gt;Regards</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/3557881133958665551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/3557881133958665551'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html?showComment=1272771538706#c3557881133958665551' title=''/><author><name>Yogesh Gupta</name><uri>http://www.blogger.com/profile/08246342663404873564</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_3QrPv-CwOcc/StCm3VNBEOI/AAAAAAAAAIg/4ahMTa1Ps5c/S220/Yogesh.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html' ref='tag:blogger.com,1999:blog-2509167754737584590.post-23291451363166412' source='http://www.blogger.com/feeds/2509167754737584590/posts/default/23291451363166412' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1113289490'/></entry><entry><id>tag:blogger.com,1999:blog-2509167754737584590.post-191406202431004692</id><published>2010-04-30T07:13:02.925+05:30</published><updated>2010-04-30T07:13:02.925+05:30</updated><title type='text'>What if all the cells in your data range don&amp;#39;t...</title><content type='html'>What if all the cells in your data range don&amp;#39;t have data yet? is there a way to only total the ones that are there up to a certain number? I tried using something like =SUMPRODUCT(LARGE(E9:N9,ROW(INDIRECT(&amp;quot;1:B2&amp;quot;))))&lt;br /&gt;where B2 is a cell containing =COUNTIF(E9:N9,&amp;quot;&amp;gt;0&amp;quot;) to count how many data points exist at this point.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/191406202431004692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/191406202431004692'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html?showComment=1272591782925#c191406202431004692' title=''/><author><name>SmprFidels</name><uri>http://www.blogger.com/profile/14098426782190303802</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html' ref='tag:blogger.com,1999:blog-2509167754737584590.post-23291451363166412' source='http://www.blogger.com/feeds/2509167754737584590/posts/default/23291451363166412' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1033398856'/></entry><entry><id>tag:blogger.com,1999:blog-2509167754737584590.post-4327226298225664603</id><published>2010-02-13T08:14:19.853+05:30</published><updated>2010-02-13T08:14:19.853+05:30</updated><title type='text'>Hello kemas

Thanks for your inpputs. I use sumpro...</title><content type='html'>Hello kemas&lt;br /&gt;&lt;br /&gt;Thanks for your inpputs. I use sumproduct as workaround to enter CSE(Array) Formulas. The problem with the CSE formulas is exactly the same as you made mistake while writing this comment. In case user does not enter it with Ctrl+Shift+Enter it does not work.&lt;br /&gt;&lt;br /&gt;Problem gets compounded when some one using your worksheet tries to modify your CSE formula. If that user is not aware of CSE formulas, he will never figure out why the formula stoped working.&lt;br /&gt;&lt;br /&gt;Just write Sumproduct(Your CSE formula) all these issues disappear&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/4327226298225664603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/4327226298225664603'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html?showComment=1266029059853#c4327226298225664603' title=''/><author><name>Yogesh Gupta</name><uri>http://www.blogger.com/profile/08246342663404873564</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_3QrPv-CwOcc/StCm3VNBEOI/AAAAAAAAAIg/4ahMTa1Ps5c/S220/Yogesh.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html' ref='tag:blogger.com,1999:blog-2509167754737584590.post-23291451363166412' source='http://www.blogger.com/feeds/2509167754737584590/posts/default/23291451363166412' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1113289490'/></entry><entry><id>tag:blogger.com,1999:blog-2509167754737584590.post-3217316692853981774</id><published>2010-02-13T01:24:39.061+05:30</published><updated>2010-02-13T01:24:39.061+05:30</updated><title type='text'>sorry!
Ctrl +Shift+ Enter</title><content type='html'>sorry!&lt;br /&gt;Ctrl +Shift+ Enter</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/3217316692853981774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/3217316692853981774'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html?showComment=1266004479061#c3217316692853981774' title=''/><author><name>kemas</name><uri>http://www.blogger.com/profile/08699660334015956023</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_dKWVyQeqUzc/SCcyiGothWI/AAAAAAAAAFY/EpHLY2y_Szc/S220/20070306(003).jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html' ref='tag:blogger.com,1999:blog-2509167754737584590.post-23291451363166412' source='http://www.blogger.com/feeds/2509167754737584590/posts/default/23291451363166412' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-753370711'/></entry><entry><id>tag:blogger.com,1999:blog-2509167754737584590.post-7821872760039598141</id><published>2010-02-13T01:23:38.118+05:30</published><updated>2010-02-13T01:23:38.118+05:30</updated><title type='text'>we can use
=SUM(LARGE(Data;ROW(1:5)))
and click
Ct...</title><content type='html'>we can use&lt;br /&gt;=SUM(LARGE(Data;ROW(1:5)))&lt;br /&gt;and click&lt;br /&gt;Ctrl + Enter</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/7821872760039598141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2509167754737584590/23291451363166412/comments/default/7821872760039598141'/><link rel='alternate' type='text/html' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html?showComment=1266004418118#c7821872760039598141' title=''/><author><name>kemas</name><uri>http://www.blogger.com/profile/08699660334015956023</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_dKWVyQeqUzc/SCcyiGothWI/AAAAAAAAAFY/EpHLY2y_Szc/S220/20070306(003).jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.yogeshguptaonline.com/2010/02/excel-formula-sum-top-5-in-unsorted.html' ref='tag:blogger.com,1999:blog-2509167754737584590.post-23291451363166412' source='http://www.blogger.com/feeds/2509167754737584590/posts/default/23291451363166412' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-753370711'/></entry></feed>
