View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cliff
 
Posts: n/a
Default Referencing a range of columns and rows with the IF function

Thanks, but what does the ,1 after the range A1:AS3 stand for?
--
Cliff


"daddylonglegs" wrote:


If you want to return 1 if 1 occurs anywhere in that range

=IF(COUNTIF(A1:AS3,1),1,"")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=528879