ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Find if value exits in array (https://www.excelbanter.com/excel-worksheet-functions/201526-find-if-value-exits-array.html)

Glynn

Find if value exits in array
 
I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor

Mike H

Find if value exits in array
 
Try

=IF(COUNTIF(A1:D4,E1)0,"It's there","It's not there")

Where
a1 - D4 is your array
E1 contains the number you are looking for

Mike

"Glynn" wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


Dave Peterson

Find if value exits in array
 
=COUNTIF(B3:X99,A1)
will return the number of times the value in A1 is in B3:X99.

=countif(b3:x99,a1)0
will return true or false

change your addresses to match what you need.

Glynn wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


--

Dave Peterson

Teethless mama

Find if value exits in array
 
=countif(A:F,your_numeric_value)


"Glynn" wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


Glynn

Find if value exits in array
 
Thanks Mike
--
Regards

Glynn Taylor


"Mike H" wrote:

Try

=IF(COUNTIF(A1:D4,E1)0,"It's there","It's not there")

Where
a1 - D4 is your array
E1 contains the number you are looking for

Mike

"Glynn" wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


Glynn

Find if value exits in array
 
Thanks Teethless
--
Regards

Glynn Taylor


"Teethless mama" wrote:

=countif(A:F,your_numeric_value)


"Glynn" wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


Glynn

Find if value exits in array
 
Thanks Dave
--
Regards

Glynn Taylor


"Dave Peterson" wrote:

=COUNTIF(B3:X99,A1)
will return the number of times the value in A1 is in B3:X99.

=countif(b3:x99,a1)0
will return true or false

change your addresses to match what you need.

Glynn wrote:

I need to determine if a numeric value held in a cell exists is a multy row,
multy column array of numeric values
--
Regards.

Glynn Taylor


--

Dave Peterson



All times are GMT +1. The time now is 12:05 AM.

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