Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 'And' / 'Or' statements

Doing something wrong. Trying to use 'and' and 'or' statements to generate a
value, but can only get them to generate a true/false result. Need to use 'and'
and 'or' statements within 'if' statements. Anybody know how to get these to
generate values?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default 'And' / 'Or' statements

Formulas ?
=IF(AND(A1<0,A10),"Miracle !!!","Business as usual")
=IF(OR(A1<0,A10),"not zero","sheesh")

replace my " " embraced lyrics whith your desired values.
--
HTH. Best wishes Harald
Excel MVP

Followup to newsgroup only please.

"Apfreight" wrote in message
...
Doing something wrong. Trying to use 'and' and 'or' statements to generate a
value, but can only get them to generate a true/false result. Need to use 'and'
and 'or' statements within 'if' statements. Anybody know how to get these to
generate values?



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
'COUNTIF' and 'AND' Rajula Excel Discussion (Misc queries) 7 June 21st 06 01:25 PM
'if' and 'and' Lynneth Excel Worksheet Functions 2 February 4th 06 11:42 AM
I think this is either 'IF' or 'And' John Excel Discussion (Misc queries) 0 November 9th 05 05:11 PM
How do I use 'And' or "Or" in an If statment wmurphyjr Excel Worksheet Functions 3 May 4th 05 11:46 AM
not a logical 'and' in excel? marmie2005 Excel Worksheet Functions 1 February 15th 05 11:16 AM


All times are GMT +1. The time now is 06:06 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"