Hi Tony,

Used array functionality with some nested Excel function and got the desired
result.
Look at the attached workbook which contains the scenario given by you along
with the solution.
Let me know in case of any queries.

Best Regards,
-- 
DILIP KUMAR PANDEY
   MBA-HR,B COM(Hons.),BCA
Mobile: +91 9810929744
dilipan...@gmail.com
dilipan...@yahoo.com
New Delhi - 110062


On 11/6/09, Tony from Work <xerses...@gmail.com> wrote:
>
>
> Hello!
> Given 2 unsorted columns I'm trying to find a formula that gives me
> the sum of the first 3 values greater than  zero and equal to a
> certain label, for example:
>
> D 2
> B 3
> A 1
> B 2
> C 3
> A -1
> A 0
> A 3
> C 2
> A 2
> A 5
>
> I have to find the sum only of the first 3 A that are greater than
> zero; in this case the result is 6.
>
> Many thanks for your time,
>
> Tony
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Attachment: Conditional Sum by DILipandey.xls
Description: MS-Excel spreadsheet

Reply via email to