View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default How to get the result with IF function

Try this:

=AND(B1=1,B1<=15)*A1

--
Biff
Microsoft Excel MVP


"Leng" wrote in message
...
Hi,

Kindly advise how to get the result in return with the following condition

A B
12 10

B value must be =1 but =< 15 will be result A value, otherwise 0.

Thanks