#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default IF match any

I wanna write a formula in column A so that if Column B matches any item in
the named range "GAT" it will return the vaule "TRUE" and if not the vaule
"FALSE". Any ideas.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default IF match any

Nevermind I got it.

=IF(ISBLANK(B2)," ",IF(ISNA(VLOOKUP(B2,GAT,1,False),"False","Tru e")

"Chad Portman" wrote:

I wanna write a formula in column A so that if Column B matches any item in
the named range "GAT" it will return the vaule "TRUE" and if not the vaule
"FALSE". Any ideas.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF match any

Another one:

=COUNTIF(INDEX(GAT,,1),B2)0

--
Biff
Microsoft Excel MVP


"Chad Portman" wrote in message
...
Nevermind I got it.

=IF(ISBLANK(B2)," ",IF(ISNA(VLOOKUP(B2,GAT,1,False),"False","Tru e")

"Chad Portman" wrote:

I wanna write a formula in column A so that if Column B matches any item
in
the named range "GAT" it will return the vaule "TRUE" and if not the
vaule
"FALSE". Any ideas.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default IF match any

Hi,

Try this

=IF(COUNTIF(Gat,B1),TRUE)

This assumes you are checking to see if B1 is in the range Gat.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Chad Portman" wrote:

I wanna write a formula in column A so that if Column B matches any item in
the named range "GAT" it will return the vaule "TRUE" and if not the vaule
"FALSE". Any ideas.

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
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM


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

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

About Us

"It's about Microsoft Excel"