LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Help with nested conditional formula

On Sat, 27 Jun 2009 09:41:51 -0700 (PDT), GARY
wrote:

If M6 contains "J" or "L"
if the third character in M6 is a "-"
I want S6 to contain ""X"
else, I want S6 to contain "Y"
else, I want S6 to contain "Z".

How do I write the formula?


Try this formula in cell S6:

=IF(AND(ISERROR(FIND("J",M6)),ISERROR(FIND("L",M6) )),"Z",IF(MID(M6,3,1)="-","X","Y"))

Hope this helps / Lars-Åke
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can system time & date be nested in conditional formula? Masif Excel Worksheet Functions 1 February 25th 09 07:14 PM
Nested, Conditional, IF formula - fomatting disappears Gayle Excel Worksheet Functions 1 February 5th 09 02:40 AM
Nested Functions for Conditional Formatting Formula RandyH Excel Worksheet Functions 3 September 22nd 08 07:28 PM
nested conditional subtotals RayB Excel Worksheet Functions 2 April 17th 08 05:03 PM
Conditional/Nested Formula Kuliano Excel Worksheet Functions 4 March 18th 08 07:43 PM


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"