#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default stumped

I need to combine a formula

=IF(AND(B11=10,B12=13),"NO","YES") FOMULA WORKS UNTIL I ADD THE FOLLOWING
AND THE FORMULA LOOKS LIKE THIS

=IF(AND(B11=10,B12=13),"NO","YES",IF(AND(B11=14,B1 2=15),"MEET","SEAT"))

How would I combine the two with out errors, I seem to missing something? If
I use the same formula not using the (and) it works fine. I'm stump.

many thanks for any help I could get!

Larry
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default stumped

Please let us know more about the format of the file.

One of the reasons would be the text file may not be separated with a vbCRLF
but only with vbLF

If this post helps click Yes
---------------
Jacob Skaria


"LarryK" wrote:

I need to combine a formula

=IF(AND(B11=10,B12=13),"NO","YES") FOMULA WORKS UNTIL I ADD THE FOLLOWING
AND THE FORMULA LOOKS LIKE THIS

=IF(AND(B11=10,B12=13),"NO","YES",IF(AND(B11=14,B1 2=15),"MEET","SEAT"))

How would I combine the two with out errors, I seem to missing something? If
I use the same formula not using the (and) it works fine. I'm stump.

many thanks for any help I could get!

Larry

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 225
Default stumped

Try
=IF(AND(B11=10,B12=13),"NO",IF(AND(B11=14,B12=15), "MEET","SEAT"))

I am assuming you want to get the result of
=IF(AND(B11=10,B12=13),"NO",IF(AND(B11=14,B12=15), "MEET","SEAT"))

when
AND(B11=10,B12=13) is not TRUE

"LarryK" wrote:

I need to combine a formula

=IF(AND(B11=10,B12=13),"NO","YES") FOMULA WORKS UNTIL I ADD THE FOLLOWING
AND THE FORMULA LOOKS LIKE THIS

=IF(AND(B11=10,B12=13),"NO","YES",IF(AND(B11=14,B1 2=15),"MEET","SEAT"))

How would I combine the two with out errors, I seem to missing something? If
I use the same formula not using the (and) it works fine. I'm stump.

many thanks for any help I could get!

Larry

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default stumped

Please clarify.

If you are looking to apply the second IF condition only if the first
condition returns true; then replace the TRUE with second IF condition.

If this post helps click Yes
---------------
Jacob Skaria


"LarryK" wrote:

I need to combine a formula

=IF(AND(B11=10,B12=13),"NO","YES") FOMULA WORKS UNTIL I ADD THE FOLLOWING
AND THE FORMULA LOOKS LIKE THIS

=IF(AND(B11=10,B12=13),"NO","YES",IF(AND(B11=14,B1 2=15),"MEET","SEAT"))

How would I combine the two with out errors, I seem to missing something? If
I use the same formula not using the (and) it works fine. I'm stump.

many thanks for any help I could get!

Larry

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default stumped

Sorry; the below is on a different post..
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Please let us know more about the format of the file.

One of the reasons would be the text file may not be separated with a vbCRLF
but only with vbLF

If this post helps click Yes
---------------
Jacob Skaria


"LarryK" wrote:

I need to combine a formula

=IF(AND(B11=10,B12=13),"NO","YES") FOMULA WORKS UNTIL I ADD THE FOLLOWING
AND THE FORMULA LOOKS LIKE THIS

=IF(AND(B11=10,B12=13),"NO","YES",IF(AND(B11=14,B1 2=15),"MEET","SEAT"))

How would I combine the two with out errors, I seem to missing something? If
I use the same formula not using the (and) it works fine. I'm stump.

many thanks for any help I could get!

Larry

Reply
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
Stumped Jake Excel Discussion (Misc queries) 4 November 21st 06 01:09 PM
I'm stumped [email protected] Excel Discussion (Misc queries) 0 September 18th 06 09:04 PM
I'm Stumped ExcelBob Excel Discussion (Misc queries) 8 May 25th 06 01:37 PM
stumped ?? my Excel Worksheet Functions 2 April 13th 06 12:32 PM
Still stumped Robertgn Excel Worksheet Functions 3 December 10th 05 01:40 AM


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

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

About Us

"It's about Microsoft Excel"