View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui puiuluipui is offline
external usenet poster
 
Posts: 468
Default one of two criteria

Hi Don, i even searched on google, but i can make it wright.

=if(or(A1=Sheet2!A1:C3,B1=Sheet2!A1:C3,3,)

This what i've got so far, but it really seems so far!
Ofcourse it give's me an error!
I don't know so much excel or english to completly understand what i have to
do.
Can you push me a little forward with this formula?
Thanks allot!

"Don Guillett" wrote:

Look in the help index for
OR

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"puiuluipui" wrote in message
...
Hi, i need a formula that retrieve data if one of two criteria is met. I
need
the formula in "C".

If A1 or B1=Sheet2!A1:D25,retrieve content of cell 3

Ex:
Sheet 2:
A B C
John 32 AP
Mary 28 TRP
Jim 38 AP

Sheet 1
A B C
John =AP
28 =TRP
Jim 38 =AP

If one of two criteria is met, or if both criteria is met.
Can this be done?
Thanks!