Converting Lotus DSUM to Excel SUMIF

H

HSNYDER313

My Lotus function:

@DSUM($LSTDETAIL,"MTG",@LEFT(ACCOUNT,3)="QEA"#AND##NOT#ACCOUNT="QEAX")

My failed Excel function


=SUMIF(LSTDETAIL,"MTG",LEFT(ACCOUNT,3)="QEA"#AND##NOT#ACCOUNT="QEAX")

The criteria section beginning with "QEA" becomes highlighted.

LSTDETAIL is a range.
MTG is a column heading
I want to sum up the amounts in the MTG column for which the first
3 left characters are QEA and all characters are not QEAX in the
LSTDETAIL range.

Any help will be appreciated.

Thanks,

Harvey
Providence, RI
 
B

Bob Phillips

Not absolutely sure, but maybe

=SUMPRODUCT(--(LEFT(ACCOUNT,3)="QEA"),--(ACCOUNT<>"QEAX"),LSTDETAIL)

not sure where MTG comes into it.


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Dsum or SumIf 4
Macro conversion from Lotus 1-2-3 to Excel (Sort Macro) 8
if statments using text 3
Lotus to Excel 3
Dsum / Sumif 1
DSUM - Lotus vs Excel 2
Dsum or Sumif Help!!! 3
I've tried DSUM, SUMIF.... 2

Top