Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check to See ( Find ) if a Value is in a Table
Hi Everyone,
I have a Sheet ( Named "Data" ) that has One Combination ( in the Format 01-02-03-04-05-06 ) in Each Cell from A1:Z65000. In Another Sheet ( Named "Draws" ) I have a Column ( Column "B" for example ) with Several Hundred Draw Numbers in it. What I would like to do is to Check if the Combination in Cell "B1" ( in the Sheet Named "Draws" ) is Anywhere in the "Data" Sheet. If it is, it could put "Found", and if NOT put "Not Found" for example. Then do the same for "B2","B3","B4" etc. Is there a Formula that would achieve this or would it have to be done using VB. Thanks Very Much in Advance. Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check to See ( Find ) if a Value is in a Table
Hi
try the following formula 8note: this will probably slow Excel down due to your large range - you may turn off automatic calculation): =IF(COUNTIF('data'!$A$1:$Z$65000,B1)0,"Found","No t found") and copy this down -- Regards Frank Kabel Frankfurt, Germany Paul Black wrote: Hi Everyone, I have a Sheet ( Named "Data" ) that has One Combination ( in the Format 01-02-03-04-05-06 ) in Each Cell from A1:Z65000. In Another Sheet ( Named "Draws" ) I have a Column ( Column "B" for example ) with Several Hundred Draw Numbers in it. What I would like to do is to Check if the Combination in Cell "B1" ( in the Sheet Named "Draws" ) is Anywhere in the "Data" Sheet. If it is, it could put "Found", and if NOT put "Not Found" for example. Then do the same for "B2","B3","B4" etc. Is there a Formula that would achieve this or would it have to be done using VB. Thanks Very Much in Advance. Paul |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check to See ( Find ) if a Value is in a Table
Hi Frank,
Thanks very much for the Formula, it works Great. You are quite right though, it does Slow down Excel, even to the point that I actually thought it had Stopped. Would it be Better to have a Macro to get the Results and maybe list them in Column "D" for example. Thanks Paul "Frank Kabel" wrote in message ... Hi try the following formula 8note: this will probably slow Excel down due to your large range - you may turn off automatic calculation): =IF(COUNTIF('data'!$A$1:$Z$65000,B1)0,"Found","No t found") and copy this down -- Regards Frank Kabel Frankfurt, Germany Paul Black wrote: Hi Everyone, I have a Sheet ( Named "Data" ) that has One Combination ( in the Format 01-02-03-04-05-06 ) in Each Cell from A1:Z65000. In Another Sheet ( Named "Draws" ) I have a Column ( Column "B" for example ) with Several Hundred Draw Numbers in it. What I would like to do is to Check if the Combination in Cell "B1" ( in the Sheet Named "Draws" ) is Anywhere in the "Data" Sheet. If it is, it could put "Found", and if NOT put "Not Found" for example. Then do the same for "B2","B3","B4" etc. Is there a Formula that would achieve this or would it have to be done using VB. Thanks Very Much in Advance. Paul |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check to See ( Find ) if a Value is in a Table
Hi Paul
you may try the following: - first disable automatic calculation - insert the formulas (copy them) - re-calculate (hit F9) - copy this column and goto 'Edit - Paste Special' and choose 'Values' (to remove the formulas) - enable automatic calculation. This time you only have to wait once for the re-calculation -- Regards Frank Kabel Frankfurt, Germany Paul Black wrote: Hi Frank, Thanks very much for the Formula, it works Great. You are quite right though, it does Slow down Excel, even to the point that I actually thought it had Stopped. Would it be Better to have a Macro to get the Results and maybe list them in Column "D" for example. Thanks Paul "Frank Kabel" wrote in message ... Hi try the following formula 8note: this will probably slow Excel down due to your large range - you may turn off automatic calculation): =IF(COUNTIF('data'!$A$1:$Z$65000,B1)0,"Found","No t found") and copy this down -- Regards Frank Kabel Frankfurt, Germany Paul Black wrote: Hi Everyone, I have a Sheet ( Named "Data" ) that has One Combination ( in the Format 01-02-03-04-05-06 ) in Each Cell from A1:Z65000. In Another Sheet ( Named "Draws" ) I have a Column ( Column "B" for example ) with Several Hundred Draw Numbers in it. What I would like to do is to Check if the Combination in Cell "B1" ( in the Sheet Named "Draws" ) is Anywhere in the "Data" Sheet. If it is, it could put "Found", and if NOT put "Not Found" for example. Then do the same for "B2","B3","B4" etc. Is there a Formula that would achieve this or would it have to be done using VB. Thanks Very Much in Advance. Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel could not find the data ....check format | Excel Discussion (Misc queries) | |||
how to check data to find the same | Excel Discussion (Misc queries) | |||
Find & Replace Cell Links for Check Boxes | Excel Discussion (Misc queries) | |||
Find lost check box control in workbook | Excel Discussion (Misc queries) | |||
Find records between two dates & check a box for each positive result | Excel Programming |