View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JWolf JWolf is offline
external usenet poster
 
Posts: 136
Default Change result #VALUE! to "message"

=IF(COUNTA(B35:B49)=0,"No Scores",INDEX(B35:B49,COUNTA(B35:B49),1))

rleonard wrote:

My formula returns last value in column of numbers. If all cells in range are blank, the formula returns #VALUE!. I would like formula to return message "No Scores". I have tried IF formula but keep getting message re circular reference.
Can following formula be modified??

=INDEX(B35:B49,COUNTA(B35:B49),1)

Thanks
Bob Leonard