_*Compatible, Faster & Shorter Length formula

*_*=SUMPRODUCT((A2:A11>=F2)*(A2:A11<= G2),(-B2:B11)+(C2:C11))*



On 07-01-2013 9:00 PM, Yahya Muhammad wrote:

Thanks Ashish. Is there any way we can combine two SUMPRODUCTS/SUMIFS into one, to reduce the length of formula ?


On Mon, Jan 7, 2013 at 4:41 PM, ashish koul <koul.ash...@gmail.com <mailto:koul.ash...@gmail.com>> wrote:

    try this

    =SUMIFS(C:C,A:A,">="&F2,A:A,"<="&G2)-SUMIFS(B:B,A:A,">="&F2,A:A,"<="&G2)



    On Mon, Jan 7, 2013 at 7:06 PM, Yahya Muhammad <yahya...@gmail.com
    <mailto:yahya...@gmail.com>> wrote:


        Dear experts
        I have an excel file to track the bank transactions. It has a
        debit column for the withdrawals and credit column for the
        deposits. I can get the running totals by adding another
        column and just using simple excel formulae. However,
        sometimes I want to find the running totals in the account
        between two specific dates. I am currently using a SUMPRODUCT
        formula as attached, which I feel is too lengthy. I am sure
        that there will be a better method. Please suggest.
        Regardstry
-- Join official Facebook page of this forum @
        https://www.facebook.com/discussexcel

        FORUM RULES

        1) Use concise, accurate thread titles. Poor thread titles,
        like Please Help, Urgent, Need Help, Formula Problem, Code
        Problem, and Need Advice will not get quick attention or may
        not be answered.
        2) Don't post a question in the thread of another member.
        3) Don't post questions regarding breaking or bypassing any
        security measure.
        4) Acknowledge the responses you receive, good or bad.
        5) Jobs posting is not allowed.
        6) Sharing copyrighted material and their links is not allowed.

        NOTE : Don't ever post confidential data in a workbook. Forum
        owners and members are not responsible for any loss.
        ---
        You received this message because you are subscribed to the
        Google Groups "MS EXCEL AND VBA MACROS" group.
        To post to this group, send email to
        excel-macros@googlegroups.com
        <mailto:excel-macros@googlegroups.com>.
        To unsubscribe from this group, send email to
        excel-macros+unsubscr...@googlegroups.com
        <mailto:excel-macros%2bunsubscr...@googlegroups.com>.
        Visit this group at
        http://groups.google.com/group/excel-macros?hl=en.





-- *Regards*
    **
    *Ashish Koul*


    */Visit/*
    */_My Excel Blog <http://www.excelvbamacros.com/>_/*
    Like Us on Facebook
    <http://www.facebook.com/pages/Excel-VBA-Codes-Macros/151803898222297>
    Join Us on Facebook <http://www.facebook.com/groups/163491717053198/>


    PBefore printing, think about the environment.

-- Join official Facebook page of this forum @
    https://www.facebook.com/discussexcel

    FORUM RULES

    1) Use concise, accurate thread titles. Poor thread titles, like
    Please Help, Urgent, Need Help, Formula Problem, Code Problem, and
    Need Advice will not get quick attention or may not be answered.
    2) Don't post a question in the thread of another member.
    3) Don't post questions regarding breaking or bypassing any
    security measure.
    4) Acknowledge the responses you receive, good or bad.
    5) Jobs posting is not allowed.
    6) Sharing copyrighted material and their links is not allowed.

    NOTE : Don't ever post confidential data in a workbook. Forum
    owners and members are not responsible for any loss.
    ---
    You received this message because you are subscribed to the Google
    Groups "MS EXCEL AND VBA MACROS" group.
    To post to this group, send email to excel-macros@googlegroups.com
    <mailto:excel-macros@googlegroups.com>.
    To unsubscribe from this group, send email to
    excel-macros+unsubscr...@googlegroups.com
    <mailto:excel-macros%2bunsubscr...@googlegroups.com>.
    Visit this group at http://groups.google.com/group/excel-macros?hl=en.



--
Join official Facebook page of this forum @ https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss.
---
You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.



--
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.


Reply via email to