D
djc276
I have the formula =SUMIF(K14:K267,E2,V14:V267) but want the number to
only reflect when I filter by data in column H. Any ideas?
only reflect when I filter by data in column H. Any ideas?
Try this:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(H14:H267,ROW(H14:H267)-ROW(H14),0,1)),--(K14:K267=E2),V14:V267)
--
Biff
Microsoft Excel MVP
- Show quoted text -
I get "0" when I do that... does it help to know that the data inTry this:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(H14:H267,ROW(H14:H267)-ROW(H14),0,1)),--(K14:K267=E2),V14:V267)
--
Biff
Microsoft Excel MVP
- Show quoted text -
=SUMPRODUCT(SUBTOTAL(9,OFFSET(V13,ROW(V14:V267)-ROW(V13),,1)),--(K14:K267=E2))
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
- Show quoted text -
=SUMPRODUCT(SUBTOTAL(9,OFFSET(V13,ROW(V14:V267)-ROW(V13),,1)),--(K14:K267=E2))
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my
addy)
- Show quoted text -
I get "0" when I do that... does it help to know that the data in
column "H" is text?
Hmmm...
It works for me.
Here's a small sample file that demonstrates this:
xSumifFilter.xls 17kb
http://cjoint.com/?fjaXQiGAoG
--
Biff
Microsoft Excel MVP- Hide quoted text -
- Show quoted text -
counting all the numbers in column v. I did get it to work but it's
not adding up to the right number
Are you sure column V contains all numeric numbers?
If there are no empty cells in the range and every cell contains a numeric
number then this formula shoud return 254:
=COUNT(V14:V267)
Are you sure column V contains all numeric numbers?
If there are no empty cells in the range and every cell contains a numeric
number then this formula shoud return 254:
=COUNT(V14:V267)
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.