Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello
I wish to have a column for texts, either 'C','S' or 'E' and combinations of CSE such as @IF(E10=C,1,0) and @IF(E10=CS,2,0) and IF(E10=CSE,3,0) I want to put the text CSE in Column D and the formula in Column G. Hope you can help and that this makes sence? How do I do this. Thanks John |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
From your example it seem the text is in D not E
How about =LEN(E10) ? -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "walkersuniverse" wrote in message ... Hello I wish to have a column for texts, either 'C','S' or 'E' and combinations of CSE such as @IF(E10=C,1,0) and @IF(E10=CS,2,0) and IF(E10=CSE,3,0) I want to put the text CSE in Column D and the formula in Column G. Hope you can help and that this makes sence? How do I do this. Thanks John |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(E10="C",1,IF(E10="CS",2,IF(E10="CSE",3,"result unspecified")))
-- David Biddulph "walkersuniverse" wrote in message ... Hello I wish to have a column for texts, either 'C','S' or 'E' and combinations of CSE such as @IF(E10=C,1,0) and @IF(E10=CS,2,0) and IF(E10=CSE,3,0) I want to put the text CSE in Column D and the formula in Column G. Hope you can help and that this makes sence? How do I do this. Thanks John |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
enter in G10.......=if(D10="C",1,if(D10="CS",2,if(d10="CSE" ,3,"")))
or you could keep it simple and enter in G10 ... =len(d10) Greetings from New Zealand "walkersuniverse" wrote in message ... Hello I wish to have a column for texts, either 'C','S' or 'E' and combinations of CSE such as @IF(E10=C,1,0) and @IF(E10=CS,2,0) and IF(E10=CSE,3,0) I want to put the text CSE in Column D and the formula in Column G. Hope you can help and that this makes sence? How do I do this. Thanks John |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I don't think you posted ALL of the rules....but here are a couple guesses at
what you might want. If D1 *may* contain C,S,E or a combination of those (in single occurrences) Then....maybe this: G1: =SUM(COUNTIF(D1,"*"&{"C","S","E"}&"*")) However, if D1 will ONLY contain C,S,E or a combination of those (in single occurrences) Then....maybe this: G1: =LEN(D1) If there are more rules, though, please post them. Does that help? *********** Regards, Ron XL2002, WinXP "walkersuniverse" wrote: Hello I wish to have a column for texts, either 'C','S' or 'E' and combinations of CSE such as @IF(E10=C,1,0) and @IF(E10=CS,2,0) and IF(E10=CSE,3,0) I want to put the text CSE in Column D and the formula in Column G. Hope you can help and that this makes sence? How do I do this. Thanks John |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy from a Cell to a text box. | Excel Worksheet Functions | |||
Text entries behaving like numbers | Excel Discussion (Misc queries) | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
How do I look up a number within a string of text | Excel Worksheet Functions | |||
Formulas dealing with text data | Excel Worksheet Functions |