Thread: Create a 3rd sheet containing cells in both Sheets 1 and 2
Started 1 month, 3 weeks ago by Roadtripper902902V3V
I have 2 sheets. They both contain a list of Account Numbers. What I want to
do is to have a 3rd sheet created containing only those account numbers that
are found in both Sheet 1 and Sheet 2.
For example:
Sheet 1
Account Numbers
AAAAA
BBBBB
CCCCC
DDDDD
EEEEE
FFFFFF
9999999
GGGGGG
HHHHHH
IIIIIII
JJJJJJ
KKKKKK
LLLLLLL
333333
444444
Sheet 2
Account Numbers
1111111...
Or if it would be easier to have all the info on one sheet,
I could put info on Sheet 2 into some columns on Sheet 1. And I do not mind
having the Sheet3 data (the "pairs") onto some colum(s) on sheet 1, as well.
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
Presuming that there's no duplicate account numbers in either Sheet1's data
or in Sheet2's data, you could try this easy formulas option to carve out the
expected results
In Sheet3,
In A2 down, do a copy n paste of the data from Sheet1/2, one below the other
(the pastes can be in any sequence). Done in 5 secs flat.
Put in B2:
=IF(AND(COUNTIF(A:A,A2)>=2,COUNTIF(A$2:A2,A2)<2), R OW...
oops, typo:
> .. Col A will return the expected results all neatly packed at the top.
It should read Col C (not Col A). But of course
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
Thanks, everyone.
I was able to find the solution by putting this in
C2: =VLOOKUP(A2,$B$2:$B$400,1,FALSE)
C3: =VLOOKUP(A3,$B$2:$B$400,1,FALSE)
Column 1 had all the account numbers from one source. (last row: 348)
Column 2 had all the acount numbers from a different source. (last row 311)
Roadtripper902902V3V external usenet poster replied 1 month, 3 weeks ago
Thanks, everyone.
I was able to find the solution by putting this in
C2: =VLOOKUP(A2,$B$2:$B$400,1,FALSE)
C3: =VLOOKUP(A3,$B$2:$B$400,1,FALSE)
Column 1 had all the account numbers from one source. (last row: 348)
Column 2 had all the acount numbers from a different source. (last row 311)
Thanks, everyone. I was able to find the solution by putting this in C2: =VLOOKUP(A2,$B$2:$B$400,1,FALSE) C3: =VLOOKUP(A3,$B$2:$B$400,1,FALSE) Column 1 had all the account numbers from one source. (last row: 348) Column 2 had all the acount numbers from a different source. (last row 311)
oops, typo: > .. Col A will return the expected results all neatly packed at the top. It should read Col C (not Col A). But of course -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik ---
Thanks, everyone. I was able to find the solution by putting this in C2: =VLOOKUP(A2,$B$2:$B$400,1,FALSE) C3: =VLOOKUP(A3,$B$2:$B$400,1,FALSE) Column 1 had all the account numbers from one source. (last row: 348) Column 2 had all the acount numbers from a different source. (last row 311)
If desired, send your file to my address below. I will only look if: 1. You send a copy of this message on an inserted sheet 2. You give me the newsgroup and the subject line 3. You send a clear explanation of what you want 4. You send before/after examples and expected results. -- Don Guillett Microsoft MVP Excel SalesAid Software
Oh no! AND they printed the entire CC number on my... Oh no! AND they printed the entire CC number on my payment slip. Wonder what they'll do with the 3 sheets containing SSN. #hipaa or#hippa ;) 10:19 AM Mar 23rd from web
Thread profile page for "Create a 3rd sheet containing cells in both Sheets 1 and 2" on http://excelbanter.com.
This report page is a snippet summary view from a single thread "Create a 3rd sheet containing cells in both Sheets 1 and 2", located on the Message Board at http://excelbanter.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity