Sum numbers based on value in other cells

G

Guest

I'm trying to count populated cells in a column, based on values in another
column. As example, if Column D is populated as General, I want to count the
number of occurances in Column E. Column D has multiple values. I've tried
pivot tables, but it isn't producing what I need.
 
B

Bob Phillips

=COUNTIF(D:D,"General")

If you really meant sum E, then use

=SUMIF(D:D,"General",E:E)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)
 
G

Guest

This returns a "Value" error. I populated the D string and the E string.
Any other thoughts? This seems like it should be simple!!
 

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

Top