![]() |
Using text instead of number. e.g. If(E10=C,1,0)
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 |
Using text instead of number. e.g. If(E10=C,1,0)
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 |
Using text instead of number. e.g. If(E10=C,1,0)
=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 |
Using text instead of number. e.g. If(E10=C,1,0)
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 |
Using text instead of number. e.g. If(E10=C,1,0)
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 |
All times are GMT +1. The time now is 04:24 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com