#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 158
Default Matching Records

Dear experts,

I have a table which column A is for account numbers of new transactions to
be input from time to time. Column E listed all existing account numbers. So,
my question is, if I input/import an account number 12345 in A2, 45678 in A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default Matching Records

Hi

Place this formula in D2:

=IF(ISERROR(LOOKUP(A2;$E$1:$E$2));"";"Y")

Change range $E$1:$E$2 in the formula to refere to the list of existing
account numbers, then copy the formula down to the range needed.

Regards,

Per
"Freshman" skrev i meddelelsen
...
Dear experts,

I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers.
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 158
Default Matching Records

Thanks Per. Thanks for your help.

"Per Jessen" wrote:

Hi

Place this formula in D2:

=IF(ISERROR(LOOKUP(A2;$E$1:$E$2));"";"Y")

Change range $E$1:$E$2 in the formula to refere to the list of existing
account numbers, then copy the formula down to the range needed.

Regards,

Per
"Freshman" skrev i meddelelsen
...
Dear experts,

I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers.
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Matching Records

Dear Freshman

If I'm understanding your questing correctly and column E contains the
numbers of all existing accounts the following might be useful:

=IF( NOT( ISNA(MATCH(A2,$E$1:$E$100,0))), "Y", "")

Place this formula in column D


"Freshman" wrote in message
...
Dear experts,

I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers.
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Matching Records

Dear Freshman

If I'm understanding your questing correctly and column E contains the
numbers of all existing accounts the following might be useful:

=IF( NOT( ISNA(MATCH(A2,$E$1:$E$100,0))), "Y", "")

Place this formula in column D


"Freshman" wrote in message
...
Dear experts,

I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers.
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Matching Records

Hi,

I think it's worth mentioning that Mac's approach will work regardless
of what order column E is in, while Per's will require column E to be
sorted in an ascending order.

Also, it looks like someone has switched Per's ';' and ',' keys...
either that or my regional settings are up the creek! :)

Cheers,
Ivan.

On Apr 1, 8:15*pm, "Mac" wrote:
Dear Freshman

If I'm understanding your questing correctly and column E contains the
numbers of all existing accounts the following might be useful:

=IF( NOT( ISNA(MATCH(A2,$E$1:$E$100,0))), "Y", "")

Place this formula in column D

"Freshman" wrote in message

...



Dear experts,


I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers..
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.


Thanks in advance.- Hide quoted text -


- Show quoted text -


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default Matching Records

Hi Ivan

My regional setteings are Danish, so it works where I am ;-)

Snip...

Also, it looks like someone has switched Per's ';' and ',' keys...
either that or my regional settings are up the creek! :)


Best regards,
Per
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Matching Records

Hi Per,

Lol... My apologies :)

Ivan.

On Apr 1, 10:56*pm, "Per Jessen" wrote:
Hi Ivan

My regional setteings are Danish, so it works where I am ;-)

Snip...



Also, it looks like someone has switched Per's ';' and ',' keys...
either that or my regional settings are up the creek! :)


Best regards,
Per


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 158
Default Matching Records

Hi Mac,

Your function is working well. Thanks a million.

"Mac" wrote:

Dear Freshman

If I'm understanding your questing correctly and column E contains the
numbers of all existing accounts the following might be useful:

=IF( NOT( ISNA(MATCH(A2,$E$1:$E$100,0))), "Y", "")

Place this formula in column D


"Freshman" wrote in message
...
Dear experts,

I have a table which column A is for account numbers of new transactions
to
be input from time to time. Column E listed all existing account numbers.
So,
my question is, if I input/import an account number 12345 in A2, 45678 in
A3
etc. and 12345 is a new account number and 45678 is our existing account
number, then D2 will remain blank and D3 will show "Y". Is it possible? If
yes, please advise how to do it.

Thanks in advance.




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
Matching Records in two tables Richard Buttrey Excel Worksheet Functions 2 February 21st 08 09:30 AM
Find matching records James[_4_] Excel Discussion (Misc queries) 2 September 6th 07 02:07 PM
Matching records and posting them separately. esbee Excel Worksheet Functions 0 September 2nd 07 04:10 AM
Matching records RayB Excel Discussion (Misc queries) 1 July 18th 06 05:31 PM
Find Matching Records in Two Worksheets kittybat Excel Discussion (Misc queries) 2 April 5th 05 06:51 PM


All times are GMT +1. The time now is 05:27 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"