+ Reply to Thread
Results 1 to 52 of 52

SumIf help needed plz...

  1. #1
    Registered User
    Join Date
    06-27-2005
    Posts
    22

    Exclamation SumIf help needed plz...

    Here is my issue.

    I am using this formula to search a linked sheet to confirm that an account is older than 120 days and sum the balance on those accounts. Works great, except one problem as of tomorrow the number for the current date is no longer accurate therefore the 120 days isn't accurate.

    =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account 2005.xls]June'!$C:$C)

    So then I came up with this solution:

    =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account 2005.xls]June'!$C:$C)

    This gives me $0.00 everytime. I tested the today-120 formula by itself and it works fine. Not sure if the problem is the order of the operation or some sort of loop problem. If this is not the correct resolution does anyone have any ideas.

    I also did the date calculation in a seperate cell and did a formula to point at that cell i.e. <J2 but it didn't work either.

    Thanks for your help.

    Mike W.
    Nashville

  2. #2
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  3. #3
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  4. #4
    Registered User
    Join Date
    06-27-2005
    Posts
    22

    Thanks Bob

    I did as you said Bob and it worked, if the workbook that contained the source was open. I had this problem earlier because it wouldn't pull the linked data unless you opened the source document. So I created a macro that would open and close all documents that were linked to the summary document therefore loading the linked content. That was the fix I was using and it worked with the first formula that I posted. Well, in the cells that I used the formula you suggested it would load the data as long as the source was open but as soon as the source was closed it went back to #VALUE!. ugh... Any suggestions??? I really do appreciate your help and patience. It is starting to overwhelm me.

  5. #5
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  6. #6
    Registered User
    Join Date
    06-27-2005
    Posts
    22

    Thanks again Bob, but...

    I entered it like this and now I get a #NUM! error message. Any other help you can provide?

    =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account 2005.xls]June'!$C:$C)

    Thanks again!!!

  7. #7
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try...

    =SUMPRODUCT(--('[Account 2005.xls]June'!$A$2:$A$65536<TOTAY()-120),'[Account 2005.xls]June'!$C$2:$C$65536)

    Note that SUMPRODUCT does not allow whole column references. But you can use 'near' whole column references, as per above formula.

    Hope this helps!

    Quote Originally Posted by miwarren
    I entered it like this and now I get a #NUM! error message. Any other help you can provide?

    =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account 2005.xls]June'!$C:$C)

    Thanks again!!!

  8. #8
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  9. #9
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  10. #10
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  11. #11
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  12. #12
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  13. #13
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  14. #14
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  15. #15
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  16. #16
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  17. #17
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  18. #18
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  19. #19
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  20. #20
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  21. #21
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  22. #22
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  23. #23
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  24. #24
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  25. #25
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  26. #26
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  27. #27
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  28. #28
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  29. #29
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  30. #30
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  31. #31
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  32. #32
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  33. #33
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  34. #34
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  35. #35
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  36. #36
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  37. #37
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  38. #38
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  39. #39
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  40. #40
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  41. #41
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  42. #42
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  43. #43
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  44. #44
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  45. #45
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  46. #46
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  47. #47
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  48. #48
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  49. #49
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    =SUMIF('[Account
    2005.xls]June'!$A:$A,"<"&(TODAY()-120),'[Account2005.xls]June'!$C:$C)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  50. #50
    bj
    Guest

    RE: SumIf help needed plz...

    try
    =SUMIF('[Account 2005.xls]June'!$A:$A,"<" & datevalue(today()) &
    "-90",'[Account
    2005.xls]June'!$C:$C)

    "miwarren" wrote:

    >
    > Here is my issue.
    >
    > I am using this formula to search a linked sheet to confirm that an
    > account is older than 120 days and sum the balance on those accounts.
    > Works great, except one problem as of tomorrow the number for the
    > current date is no longer accurate therefore the 120 days isn't
    > accurate.
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<38410",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > So then I came up with this solution:
    >
    > =SUMIF('[Account 2005.xls]June'!$A:$A,"<(TODAY-120)",'[Account
    > 2005.xls]June'!$C:$C)
    >
    > This gives me $0.00 everytime. I tested the today-120 formula by
    > itself and it works fine. Not sure if the problem is the order of the
    > operation or some sort of loop problem. If this is not the correct
    > resolution does anyone have any ideas.
    >
    > I also did the date calculation in a seperate cell and did a formula to
    > point at that cell i.e. <J2 but it didn't work either.
    >
    > Thanks for your help.
    >
    > Mike W.
    > Nashville
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile: http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >
    >


  51. #51
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Your solution is a bit drastic <G>

    I should have realised that problem and given you a formula that would last
    the closed workbooks. Try this instead

    =SUMPRODUCT(--('[Account
    2005.xls]June'!$A1:$A1000<"TODAY()-120),'[Account2005.xls]June'!$C1:$C1000)

    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I did as you said Bob and it worked, *if* the workbook that contained
    > the source was open. I had this problem earlier because it wouldn't
    > pull the linked data unless you opened the source document. So I
    > created a macro that would open and close all documents that were
    > linked to the summary document therefore loading the linked content.
    > That was the fix I was using and it worked with the first formula that
    > I posted. Well, in the cells that I used the formula you suggested it
    > would load the data as long as the source was open but as soon as the
    > source was closed it went back to #VALUE!. ugh... Any suggestions???
    > I really do appreciate your help and patience. It is starting to
    > overwhelm me.
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




  52. #52
    Bob Phillips
    Guest

    Re: SumIf help needed plz...

    Sorry, clumsiness. SUMPRODUCT only works on part of a column, not the whole
    column, so try

    =SUMPRODUCT('[Account
    2005.xls]June'!$A1:$A1000,"<"&TODAY()-120,'[Account2005.xls]June'!$C1:$C1000
    )

    or howver many rows that you have.


    --
    HTH

    Bob Phillips

    "miwarren" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I entered it like this and now I get a #NUM! error message. Any other
    > help you can provide?
    >
    > =SUMPRODUCT('[Account 2005.xls]June'!$A:$A,"<"&TODAY()-120,'[Account
    > 2005.xls]June'!$C:$C)
    >
    > Thanks again!!!
    >
    >
    > --
    > miwarren
    > ------------------------------------------------------------------------
    > miwarren's Profile:

    http://www.excelforum.com/member.php...o&userid=24682
    > View this thread: http://www.excelforum.com/showthread...hreadid=382550
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1