ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Change result #VALUE! to "message" (https://www.excelbanter.com/excel-programming/297827-change-result-value-message.html)

rleonard

Change result #VALUE! to "message"
 
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

Thank
Bob Leonar



JWolf

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



JE McGimpsey

Change result #VALUE! to "message"
 
One way:

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

In article ,
"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)



All times are GMT +1. The time now is 08:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com