Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default checking for Match

Hi there, I would like to use a function that would look at a number in D1,
check to see if it exist in range A1: A8, if the number does exist then
display the D1 number in the formula cell, else display the number 1.


If Number exist!

A B C D E
1 5 25
2 9
3 25 Formula 25
4 1
5 15
6 8
7 3
8 5



If Number does not exist!
A B C D E
1 5 11
2 9
3 25 Formula 1
4 1
5 15
6 8
7 3
8 5


Thank You for any Help!

Craig


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,549
Default checking for Match

=IF(ISERROR(MATCH(D1,A1:A8,0)),1,D1)
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Craig"
wrote in message
Hi there, I would like to use a function that would look at a number in D1,
check to see if it exist in range A1: A8, if the number does exist then
display the D1 number in the formula cell, else display the number 1.
If Number exist!

A B C D E
1 5 25
2 9
3 25 Formula 25
4 1
5 15
6 8
7 3
8 5


If Number does not exist!
A B C D E
1 5 11
2 9
3 25 Formula 1
4 1
5 15
6 8
7 3
8 5

Thank You for any Help!
Craig


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default checking for Match

Thanks.... exactly what I was looking for!
Craig


"Jim Cone" wrote in message
...
=IF(ISERROR(MATCH(D1,A1:A8,0)),1,D1)
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"Craig"
wrote in message
Hi there, I would like to use a function that would look at a number in
D1,
check to see if it exist in range A1: A8, if the number does exist then
display the D1 number in the formula cell, else display the number 1.
If Number exist!

A B C D E
1 5 25
2 9
3 25 Formula 25
4 1
5 15
6 8
7 3
8 5


If Number does not exist!
A B C D E
1 5 11
2 9
3 25 Formula 1
4 1
5 15
6 8
7 3
8 5

Thank You for any Help!
Craig




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
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
Checking and IF ? mohamadhafiz Excel Worksheet Functions 5 June 26th 07 11:04 PM
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 10:28 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"