Thread: IF AND OR
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
macropod macropod is offline
external usenet poster
 
Posts: 329
Default IF AND OR

Hi,

If exactly two conditions need to be met, you could try:
=IF((A130)+(B130)+(C130)=2,1,0)
If more than one condition needs to be met (eg all 3 might be 30), you could try:
=IF((A130)+(B130)+(C130)1,1,0)

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"The Rook" wrote in message ...
I currently have 3 columns of data and am wanting to add a 3rd based on the
criteria in the other 3, as follows:

If col A 30 and col B 30 = 10
or
If col A 30 and col c 30 = 10
or
If col c 30 and col B 30 = 10

What is the bast way to do this?