Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
soxn4n04
 
Posts: n/a
Default Help with And OR statement

Please help with the following statement. If cells 17 and 23 have a value of
3 OR cell 29 has a value of 3, then the result should be 2.

IF(AND(C17=3,C23=1)(ORC29=3),2,"")
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=IF(OR(C29=3,AND(C17=3,C23=1)),2,"")

HTH
Jason
Atlanta, GA

-----Original Message-----
Please help with the following statement. If cells 17

and 23 have a value of
3 OR cell 29 has a value of 3, then the result should be

2.

IF(AND(C17=3,C23=1)(ORC29=3),2,"")
.

  #3   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Hi,
Try this
=if(or(and(c17=3,c23=3),c29=3),2,"")
K.S.warrier

"Jason Morin" wrote:

=IF(OR(C29=3,AND(C17=3,C23=1)),2,"")

HTH
Jason
Atlanta, GA

-----Original Message-----
Please help with the following statement. If cells 17

and 23 have a value of
3 OR cell 29 has a value of 3, then the result should be

2.

IF(AND(C17=3,C23=1)(ORC29=3),2,"")
.


  #4   Report Post  
soxn4n04
 
Posts: n/a
Default

Hi, Jason,

Thanks for responding. I entered your formula but it did not work. Any
other suggestions?

Kathy

"Jason Morin" wrote:

=IF(OR(C29=3,AND(C17=3,C23=1)),2,"")

HTH
Jason
Atlanta, GA

-----Original Message-----
Please help with the following statement. If cells 17

and 23 have a value of
3 OR cell 29 has a value of 3, then the result should be

2.

IF(AND(C17=3,C23=1)(ORC29=3),2,"")
.


  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Try =IF(OR(C29=3,AND(C17=3,C23=3)),2,"")


This matches your description, not the parameters of your original formula
which said if C17=3 and C23=1

Gord Dibben Excel MVP

On Mon, 29 Nov 2004 10:44:12 -0800, "soxn4n04"
wrote:

Hi, Jason,

Thanks for responding. I entered your formula but it did not work. Any
other suggestions?

Kathy

"Jason Morin" wrote:

=IF(OR(C29=3,AND(C17=3,C23=1)),2,"")

HTH
Jason
Atlanta, GA

-----Original Message-----
Please help with the following statement. If cells 17

and 23 have a value of
3 OR cell 29 has a value of 3, then the result should be

2.

IF(AND(C17=3,C23=1)(ORC29=3),2,"")
.



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



All times are GMT +1. The time now is 09:48 PM.

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"