Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default 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
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing a workbook, exits Excel 2007 too Sonya Torian Excel Discussion (Misc queries) 0 March 12th 08 02:37 PM
Closing a workbook exits Excel Application DarS Excel Discussion (Misc queries) 2 September 27th 07 01:51 PM
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
excel exits unexpectedly or hangs the second time I open workbook r_m_i Excel Discussion (Misc queries) 0 February 9th 06 10:14 PM
Excel Exits on File Close with Outlook Erin Searfoss Excel Discussion (Misc queries) 1 January 16th 05 09:43 PM


All times are GMT +1. The time now is 04:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"