Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default AND/OR Formula

I want to add an OR to this formula: if $M4 is a number 1-7, true results,
and $B6 appears.

=IF(AND(M$4=$E6,M$4<$F6),$B6,"")

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default AND/OR Formula

Hi Phil

is this what you're after?

=IF(OR(AND($M4=1,$M4<=7),AND(M$4=$E6,M$4<$F6)),$ B6,"")

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Phil Hageman" wrote in message
...
I want to add an OR to this formula: if $M4 is a number 1-7, "true"
results,
and $B6 appears.

=IF(AND(M$4=$E6,M$4<$F6),$B6,"")



  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default AND/OR Formula

Maybe:

=IF(OR(AND(M$4=$E6,M$4<$F6),AND(M$4=1,M$4<=7)),$ B6,"")

--
Rgds
Max
xl 97
---
GMT+8, 1 22' N 103 45' E
xdemechanik <atyahoo<dotcom
----
"Phil Hageman" wrote in message
...
I want to add an OR to this formula: if $M4 is a number 1-7, "true"

results,
and $B6 appears.

=IF(AND(M$4=$E6,M$4<$F6),$B6,"")



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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


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