Using AND and SUMIF function together
- From: Studebaker <Studebaker@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2008 13:27:02 -0700
Hello,
I have 2 columns of invoices totals like below:
Column I Column O
Original Invoice Total Amount Shortpaid
$45,679.00 ($-255.00)
$123.00 $0.00
$1,500.00 blank
blank blank
I'm trying to sum column O to give a total of what the client still owes us.
I need to:
a) Sum column O if the amounts in column O are < 0 (which means the client
has shortpd the original invoice) AND
b) Sum column I (the amount of the original invoice) if the invoice has flat
out not been paid--so sum column I if column O is blank (not been pd) AND
column I has a number in it (if the invoice exists and there's no blank
space in column I)
I tried this but I get a "FALSE" in my cell:
=AND(SUMIF(O3:O265,"<0"),SUMIF(I3:I266,AND(ISNUMBER(I3:I266), O3:O266="")))
Can someone help with this function (no macros please)?
Thanks very much!
.
- Follow-Ups:
- RE: Using AND and SUMIF function together
- From: Studebaker
- RE: Using AND and SUMIF function together
- From: Jim Thomlinson
- RE: Using AND and SUMIF function together
- Prev by Date: RE: Count with Auto-Filter On
- Next by Date: Re: Trying to link/update multiple copies of a table
- Previous by thread: Multiple Worksheets & PivotTable
- Next by thread: RE: Using AND and SUMIF function together
- Index(es):