select based on word CDS being in description field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a column in a spreadsheet of data which describes certain investments.
A certain type of investment's description always contains the initial
"cds". I would like a formula to look at the field and if the letters cds
appear (in that order) I would like do some math on other parts of the record.

For example if cell b1 contains the letters cds, then add cell c1 and d1,
else 0)

Any help would be appreciated

Joe
 
=ISNUMBER(FIND("cds",B1)) will return TRUE if "cds" is in cell B1. So you
can build from there; ex: =if(isnumber(find("cds",b1)),c1+d1,0)
--Bruce
 
Thanks, that's perfect.

--
Joe D


bpeltzer said:
=ISNUMBER(FIND("cds",B1)) will return TRUE if "cds" is in cell B1. So you
can build from there; ex: =if(isnumber(find("cds",b1)),c1+d1,0)
--Bruce
 

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

Back
Top