View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Stefi Stefi is offline
external usenet poster
 
Posts: 2,646
Default how do I test for a text value in cell c1, if it is there, make c.

Enter in C3:
=IF(ISNUMBER(SEARCH("Shell",C1)),C2,"")

Regards,
Stefi

€˛Hikerguyab€¯ ezt Ć*rta:

I have downloaded my credit card statement into an Excel spreadsheet
I want to test for certain text strings (ex.: "Shell")
If the text string exists in a cell, I want the numeric value in the next
cell (the charge) entered into a third cell.
summary: if "Shell" exists in C1, then C3 equals the value in C2.