ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with formula (https://www.excelbanter.com/excel-programming/430437-help-formula.html)

gcotterl[_2_]

Help with formula
 
If M6 = "J" or "L"
if the third character in M6 = "-"
I want S6 to contain ""X"
else, I want S6 to contain "Y"
else, I want S6 to contain "Z"
else, I want S6 to contain "Z"



How do I write the formula?

smartin

Help with formula
 
gcotterl wrote:
If M6 = "J" or "L"
if the third character in M6 = "-"
I want S6 to contain ""X"
else, I want S6 to contain "Y"
else, I want S6 to contain "Z"
else, I want S6 to contain "Z"



How do I write the formula?


see other post

gcotterl[_2_]

Help with formula
 
On Jun 27, 12:49*pm, smartin wrote:
gcotterlwrote:
If M6 = "J" or "L"
* * if the third character in M6 = "-"
* * * * * * * * I want S6 to contain ""X"
* * * * * * * * else, I want S6 to contain "Y"
* * *else, I want S6 to contain "Z"
else, I want S6 to contain "Z"


How do I write the formula?


see other post


What "other post" contains the answer to THIS question?


smartin

Help with formula
 
gcotterl wrote:
On Jun 27, 12:49 pm, smartin wrote:
gcotterlwrote:
If M6 = "J" or "L"
if the third character in M6 = "-"
I want S6 to contain ""X"
else, I want S6 to contain "Y"
else, I want S6 to contain "Z"
else, I want S6 to contain "Z"
How do I write the formula?

see other post


What "other post" contains the answer to THIS question?


This is my reply to the other post:
http://groups.google.com/group/micro...a70d56289e553#

Ah, I see now the current question is slightly different than the
previous one. But this question doesn't make sense, as you have too many
"else" cases.


All times are GMT +1. The time now is 10:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com