PC Review


Reply
Thread Tools Rate Thread

Date and amount of last payment

 
 
wx4usa
Guest
Posts: n/a
 
      16th Nov 2011
Can anyone help me with a sumproduct question?
I have on sheet 1 columns with Date, Account, Amount in columns A, B,
C

On sheet 2, in A1 I have an account number field that can be changed.

I need a sumproduct formula to return the date of last payment for
that account and in another cell, return the amount of the last
payment.
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      16th Nov 2011
On Nov 16, 3:59*pm, wx4usa <wx4...@gmail.com> wrote:
> Can anyone help me with a sumproduct question?
> I have on *sheet 1 columns with Date, Account, Amount in columns A, B,
> C
>
> On sheet 2, in A1 I have an account number field that can be changed.
>
> I need a sumproduct formula to return the date of last payment for
> that account and in another cell, return the amount of the last
> payment.


modify this to suit and enter using ctrl +shift + enter as this is an
array formula
where L2 is your date col L is dates>>
=MAX(IF(($L$2:$L$8=L2)*($M$2:$M$8="Joe"),$O$2:$O$8))
 
Reply With Quote
 
wx4usa
Guest
Posts: n/a
 
      17th Nov 2011
On Nov 16, 3:59*pm, wx4usa <wx4...@gmail.com> wrote:
> Can anyone help me with a sumproduct question?
> I have on *sheet 1 columns with Date, Account, Amount in columns A, B,
> C
>
> On sheet 2, in A1 I have an account number field that can be changed.
>
> I need a sumproduct formula to return the date of last payment for
> that account and in another cell, return the amount of the last
> payment.


Hi Don,

Still not working, If I change C4 to $600, it is returned as the
answer. It is incorrect. $600 is the highest payment for account 4,
but not the most recent.
 
Reply With Quote
 
wx4usa
Guest
Posts: n/a
 
      17th Nov 2011
On Nov 17, 11:39*am, wx4usa <wx4...@gmail.com> wrote:
> On Nov 16, 3:59*pm, wx4usa <wx4...@gmail.com> wrote:
>
> > Can anyone help me with a sumproduct question?
> > I have on *sheet 1 columns with Date, Account, Amount in columns A, B,
> > C

>
> > On sheet 2, in A1 I have an account number field that can be changed.

>
> > I need a sumproduct formula to return the date of last payment for
> > that account and in another cell, return the amount of the last
> > payment.

>
> Hi Don,
>
> Still not working, If I change C4 to $600, it is returned as the
> answer. It is incorrect. $600 is the highest payment for account 4,
> but not the most recent.


sorry, C12, not C4
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:08 AM.