ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   value in range (https://www.excelbanter.com/excel-programming/414398-value-range.html)

polilop[_2_]

value in range
 
What is the fastest way to check if a range contains a specific value?


Peter T

value in range
 
=COUNTIF(A1:B10,123)

Regards,
Peter T

"polilop" wrote in message
...
What is the fastest way to check if a range contains a specific value?




Bob Phillips

value in range
 
VBA has a Find function, check it in VBA help, there is a good example.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"polilop" wrote in message
...
What is the fastest way to check if a range contains a specific value?





All times are GMT +1. The time now is 08:13 PM.

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