> Thanks dave, I used your SUMIF statement.
> I another cell I need to mention whether payment has occurred.
[quoted text clipped - 27 lines]
>
> - Show quoted text -
Thanks, Pete, for the multi-condition approach. I'll use that.
I would probably have on my sheet another column:
column D is "amount paid": =IF(C1="",0,B1)
then the sum of those is the simpler: =SUMIF(A1:A50,"=USD",D1:D50)
>Try this:
>=SUMPRODUCT(--(A1:A50="USD"),--(C1:C50<>""),(B1:B50))
[quoted text clipped - 32 lines]
>>
>> - Show quoted text -
Pete_UK - 20 Jan 2008 17:07 GMT
Glad to be of help, Dave - thanks for feeding back.
Pete
> Thanks, Pete, for the multi-condition approach. I'll use that.
> I would probably have on my sheet another column:
[quoted text clipped - 39 lines]
>
> - Show quoted text -
Dave D-C - 20 Jan 2008 21:16 GMT
More feedback -- love these 'magic' formulae.
Looking at the SUMPRODUCT help (XL97):
"Using array [formula]s provides a more general solution
for doing operations similar to SUMPRODUCT"
so that =SUMPRODUCT(A1:A50,B1:B50)
could be {=SUM(A1:A50*B1:B50)}
and your =SUMPRODUCT(--(A1:A50="USD"),--(C1:C50<>""),(B1:B50))
could be {=SUM((A1:A50="USD")*(C1:C50<>"")*B1:B50)}
(where, of course, { } means use Control-Shift-Enter)
>Glad to be of help, Dave - thanks for feeding back.
>Pete
[quoted text clipped - 42 lines]
>>
>> - Show quoted text -
AA Arens - 21 Jan 2008 10:58 GMT
Related to this, I need some assistance of my other question
http://groups.google.com/group/microsoft.public.excel/browse_thread/thread/9117d
8b92b0e0b51?hl=en
http://groups.google.com/group/microsoft.public.excel/topics?hl=en&start=20&sa=N
How to get this solved?
Bart
> More feedback -- love these 'magic' formulae.
> Looking at the SUMPRODUCT help (XL97):
[quoted text clipped - 52 lines]
>
> >> - Show quoted text -
Dave D-C - 21 Jan 2008 15:11 GMT
I suggest you start a new thread, something like
Sub: Using multiple currencies
"How can I format some cells for USD (dollars) and other cells
for EUR (euros)?"
But maybe I don't understand your post.
>Related to this, I need some assistance of my other question
>How to get the cell account formatting .. in a certain currency
>that I choose ..?
AA Arens - 22 Jan 2008 07:48 GMT
> I suggest you start a new thread, something like
>
[quoted text clipped - 8 lines]
> >How to get the cell account formatting .. in a certain currency
> >that I choose ..?
Indeed better, here is the url. I have explained more clearer.
http://groups.google.com/group/microsoft.public.excel/browse_thread/thread/5e687
afad3787038?hl=en#68db938c20477244
Thanks.
Bart