Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default A formula to look for a value in a blok (eg E1:J10) data

I am looking for a formula in Excel 2003 /2007 that wil search through a blok
of data (say C1: J10) for a value (could by alfa-nomeric) entered into a cel
(say A5) Thus look in C1 : J10 for the value entered in A5 and return true if
found or false if not. Alternatively perform "X" if true else "Y"
Thank You
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default A formula to look for a value in a blok (eg E1:J10) data

=COUNTIF(C1:J11,A5)0

"Dolflaas" wrote:

I am looking for a formula in Excel 2003 /2007 that wil search through a blok
of data (say C1: J10) for a value (could by alfa-nomeric) entered into a cel
(say A5) Thus look in C1 : J10 for the value entered in A5 and return true if
found or false if not. Alternatively perform "X" if true else "Y"
Thank You

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 146
Default A formula to look for a value in a blok (eg E1:J10) data

I'm don't know what you mean by "perform". Here are some examples:

=IF(COUNTIF(C1:J10,A5)0,TRUE,FALSE) If A5 is in the values in the range
C1:J10, TRUE is returned, else FALSE.
=IF(COUNTIF(C1:J10,A5)0,"Yes, the value is in the range","No, the value is
not in the range") This is self explanatory.
=IF(COUNTIF(C1:J10,A5)0,A5,0) This returns the value in A5 if A5 is in
the range C1:J10 else it returns 0.

"Dolflaas" wrote in message
...
I am looking for a formula in Excel 2003 /2007 that wil search through a
blok
of data (say C1: J10) for a value (could by alfa-nomeric) entered into a
cel
(say A5) Thus look in C1 : J10 for the value entered in A5 and return true
if
found or false if not. Alternatively perform "X" if true else "Y"
Thank You



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
received "a=formula" instead of =formula after exporting data - wh Jane Excel Worksheet Functions 0 January 31st 07 09:18 PM
Formula to sum data from a data range mike the new guy Excel Discussion (Misc queries) 3 January 18th 06 08:56 AM
Formula to capture historical data from data that changes daily DKennedy Excel Discussion (Misc queries) 0 December 28th 05 08:24 PM
Formula to capture historical data from data that changes daily DKennedy Excel Worksheet Functions 0 December 28th 05 08:23 PM
Any cell containing formula seen as data instead of formula Jeffry61 Excel Worksheet Functions 2 September 23rd 05 02:04 PM


All times are GMT +1. The time now is 03:07 PM.

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"