SUM.IF

F

Felix

The formula =SUM.IF(Sheet1!C:C,A1,Sheet1!B:B) gives me the right answer if
Column B is numeric.

Is there an equivalent formula if Col. B is text?

I need to compare text in one column (say C in Sheet1) with text in another
(say A1) and if there is a match, have text from column B on Sheet1 returned.
 
B

Bob Phillips

=SUMPRODUCT(--(C1:C1000=A1),--B1:B1000)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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