Hi,
you may also try this.
=SUMPRODUCT((ISNUMBER(SEARCH("LCI",A2:A1000,1))*(B 2:B1000)))
--
Regards,
Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
"Jay" wrote in message
...
I have long texts in rows of column A and values in Column B. The
sheet has 1000 rows.
I want to add values in column B if the texts has "LCI" in it. I
tried sumif(A1:A1000,"LCI",B1:B1000), but gives value 0.