Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hasty
 
Posts: n/a
Default i want to find a value in a refference array

Hello! I have a small problem. I want to search a value in an array and
return the value true or false. I tryed with "if", "and", "not", but a
strange thing happends: when I press the function button to see if my formula
is wrong, it seems that the formula is corect, but when i insert the formula,
it says: #N/A, #VALUE!. the formula is
IF(A3<Array1,IF(A3<Array2,IF(A3<Array3,"VALUE1, VALUE2)),VALUE3). A3 is the
refference; Array1,2,3 are the arrays where i want to find the value; and
Value1,2,3 are the results. Can anyone please help me!
  #2   Report Post  
Biff
 
Posts: n/a
Default i want to find a value in a refference array

Hi!

Try this:

=IF(A3="","",IF(COUNTIF(Array1,A3),Value1,IF(COUNT IF(Array2,A3),Value2,IF(COUNTIF(Array3,A3),Value3, ""))))

Biff

"Hasty" wrote in message
...
Hello! I have a small problem. I want to search a value in an array and
return the value true or false. I tryed with "if", "and", "not", but a
strange thing happends: when I press the function button to see if my
formula
is wrong, it seems that the formula is corect, but when i insert the
formula,
it says: #N/A, #VALUE!. the formula is
IF(A3<Array1,IF(A3<Array2,IF(A3<Array3,"VALUE1, VALUE2)),VALUE3). A3 is
the
refference; Array1,2,3 are the arrays where i want to find the value; and
Value1,2,3 are the results. Can anyone please help me!



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
how to find all matches in an array Greg Excel Discussion (Misc queries) 2 August 31st 05 09:04 PM
Code to determine if a cell contains an array function? [email protected] Excel Discussion (Misc queries) 1 August 29th 05 10:35 PM
How do I find a value in an array (VLOOKUP? HLOOKUP?) M Skabialka New Users to Excel 2 March 11th 05 02:52 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 06:26 AM.

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"