A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Looking for comparable data records between Sheet1 and Sheet2



 
 
Thread Tools Display Modes
  #1  
Old April 1st, 2005, 12:46 AM
Jim May
external usenet poster
 
Posts: n/a
Default Looking for comparable data records between Sheet1 and Sheet2

In both sheet1 and sheet2 I have hundreds of records.
60% of the records in sheet1 are also in sheet2.
If I concatenate 2 of the fields "LastName" and "Amt",
can I insert a formula in a helper column (Sheet2)
that will search sheet1 and bring back a "yes" if found,
"no" if not...?
=if(sheet2!B13&G13 = vlookup(sheet1!$B$5:$K$200, "yes","no")???
ANy help appreciated..


  #2  
Old April 1st, 2005, 07:46 AM
Biff
external usenet poster
 
Posts: n/a
Default

Hi!

No need for concatenation and a helper. You can
concatenate the fields in the formula.

Assume the last name and amount are in the same columns in
Sheet1 as they are in Sheet2. Entered as an array:

=IF(ISNUMBER(MATCH(B13&G13,Sheet1!B1:B100&Sheet1!
G1:G100,0)),"Yes","No")

Biff

-----Original Message-----
In both sheet1 and sheet2 I have hundreds of records.
60% of the records in sheet1 are also in sheet2.
If I concatenate 2 of the fields "LastName" and "Amt",
can I insert a formula in a helper column (Sheet2)
that will search sheet1 and bring back a "yes" if found,
"no" if not...?
=if(sheet2!B13&G13 = vlookup(sheet1!

$B$5:$K$200, "yes","no")???
ANy help appreciated..


.

  #3  
Old April 1st, 2005, 12:44 PM
Jim May
external usenet poster
 
Posts: n/a
Default

Biff:

Thanks, this was exactly what I was looking for (a CSE type formula).

Jim


"Biff" wrote in message
...
Hi!

No need for concatenation and a helper. You can
concatenate the fields in the formula.

Assume the last name and amount are in the same columns in
Sheet1 as they are in Sheet2. Entered as an array:

=IF(ISNUMBER(MATCH(B13&G13,Sheet1!B1:B100&Sheet1!
G1:G100,0)),"Yes","No")

Biff

-----Original Message-----
In both sheet1 and sheet2 I have hundreds of records.
60% of the records in sheet1 are also in sheet2.
If I concatenate 2 of the fields "LastName" and "Amt",
can I insert a formula in a helper column (Sheet2)
that will search sheet1 and bring back a "yes" if found,
"no" if not...?
=if(sheet2!B13&G13 = vlookup(sheet1!

$B$5:$K$200, "yes","no")???
ANy help appreciated..


.



  #4  
Old April 1st, 2005, 08:04 PM
Biff
external usenet poster
 
Posts: n/a
Default

You're welcome! Thanks for the feedback.

Biff

-----Original Message-----
Biff:

Thanks, this was exactly what I was looking for (a CSE

type formula).

Jim


"Biff" wrote in message
...
Hi!

No need for concatenation and a helper. You can
concatenate the fields in the formula.

Assume the last name and amount are in the same columns

in
Sheet1 as they are in Sheet2. Entered as an array:

=IF(ISNUMBER(MATCH(B13&G13,Sheet1!B1:B100&Sheet1!
G1:G100,0)),"Yes","No")

Biff

-----Original Message-----
In both sheet1 and sheet2 I have hundreds of records.
60% of the records in sheet1 are also in sheet2.
If I concatenate 2 of the fields "LastName" and "Amt",
can I insert a formula in a helper column (Sheet2)
that will search sheet1 and bring back a "yes" if

found,
"no" if not...?
=if(sheet2!B13&G13 = vlookup(sheet1!

$B$5:$K$200, "yes","no")???
ANy help appreciated..


.



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rapid input Via datasheet RudyR_Seattle General Discussion 4 January 31st, 2005 02:33 AM
Attn Sprinks- Not duplicate insert records babs Using Forms 1 December 13th, 2004 07:25 PM
How do I get 3 series in sync with the x-axis? zizbird Charts and Charting 10 October 25th, 2004 01:23 PM
VBA Code problem error 9 Speedy General Discussion 19 October 15th, 2004 09:05 PM
SQL view of messed up action queries Kendra Running & Setting Up Queries 2 August 31st, 2004 09:53 PM


All times are GMT +1. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.