Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default Compare 2 lists of random numbers - Excel 2007

Thanks in advance for any and all help!!!

I have Excel 2007. I have a file of that contains 3 sheets of similar
information - account number, balance, name, due date, high credit, etc.
This is a non-logical segmentation of my company's entire card base (I work
for a small card processor). Unfortunately, in converting the original
information prior to segmenting accounts, it was not discovered that Excel
only converted 15 of the 16 digits of the account number, changing the last
number to zero. I was able to re-import my original information - importing
my account number as text instead of numbers, so that now I have a file with
the correct account numbers, but they're not segmented in to my non-logical
groups. I tried doing "Remove Duplicates" - by comparing the names, but that
didn't do anything. I can't do "remove Duplicates" by balances, since there
are a great many cards that have a zero balance, and I can't match "John
Doe's zero balance card" to "Jane Smith's zero balance card".

Short of comparing all 9500 lines of the file and manually segmenting the
cards again, do you awesome gurus have any suggestions?

My incorrect, segmented file has incorrect account numbers, like
1234-5678-1234-5670, when the correct non-segmented file has the correct
number like 1234-5678-1234-5679
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Compare 2 lists of random numbers - Excel 2007

Perhaps using =LEFT(A2,15) so you can compare the first 15 to each. If you do
that and use a countif(), you can determine how many rows have the same first
15 characters...

"Wanda" wrote:

Thanks in advance for any and all help!!!

I have Excel 2007. I have a file of that contains 3 sheets of similar
information - account number, balance, name, due date, high credit, etc.
This is a non-logical segmentation of my company's entire card base (I work
for a small card processor). Unfortunately, in converting the original
information prior to segmenting accounts, it was not discovered that Excel
only converted 15 of the 16 digits of the account number, changing the last
number to zero. I was able to re-import my original information - importing
my account number as text instead of numbers, so that now I have a file with
the correct account numbers, but they're not segmented in to my non-logical
groups. I tried doing "Remove Duplicates" - by comparing the names, but that
didn't do anything. I can't do "remove Duplicates" by balances, since there
are a great many cards that have a zero balance, and I can't match "John
Doe's zero balance card" to "Jane Smith's zero balance card".

Short of comparing all 9500 lines of the file and manually segmenting the
cards again, do you awesome gurus have any suggestions?

My incorrect, segmented file has incorrect account numbers, like
1234-5678-1234-5670, when the correct non-segmented file has the correct
number like 1234-5678-1234-5679

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Compare 2 lists of random numbers - Excel 2007

That's what I'd do, Sean. If this is the setup:
Column A (should be in A1):
1234-5678-1234-5670

Column B (anywhere in the column):
1234-5678-1234-5679

Column C (should be in C1)
Jack Black

Put this function in some column, like F:
=IF(LEFT(COUNTIF(A1:A20,B1:B20)0,15)=LEFT(COUNTIF (A1:A20,B1:B20)0,15),C1)

Anyway, try it and see what you get.


HTH,
Ryan--

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sean Timmons" wrote:

Perhaps using =LEFT(A2,15) so you can compare the first 15 to each. If you do
that and use a countif(), you can determine how many rows have the same first
15 characters...

"Wanda" wrote:

Thanks in advance for any and all help!!!

I have Excel 2007. I have a file of that contains 3 sheets of similar
information - account number, balance, name, due date, high credit, etc.
This is a non-logical segmentation of my company's entire card base (I work
for a small card processor). Unfortunately, in converting the original
information prior to segmenting accounts, it was not discovered that Excel
only converted 15 of the 16 digits of the account number, changing the last
number to zero. I was able to re-import my original information - importing
my account number as text instead of numbers, so that now I have a file with
the correct account numbers, but they're not segmented in to my non-logical
groups. I tried doing "Remove Duplicates" - by comparing the names, but that
didn't do anything. I can't do "remove Duplicates" by balances, since there
are a great many cards that have a zero balance, and I can't match "John
Doe's zero balance card" to "Jane Smith's zero balance card".

Short of comparing all 9500 lines of the file and manually segmenting the
cards again, do you awesome gurus have any suggestions?

My incorrect, segmented file has incorrect account numbers, like
1234-5678-1234-5670, when the correct non-segmented file has the correct
number like 1234-5678-1234-5679

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Compare 2 lists of random numbers - Excel 2007

That's what I'd do, Sean. If this is the setup:
Column A (should be in A1):
1234-5678-1234-5670

Column B (anywhere in the column):
1234-5678-1234-5679

Column C (should be in C1)
Jack Black

Put this function in some column, like F:
=IF(LEFT(COUNTIF(A1:A20,B1:B20)0,15)=LEFT(COUNTIF (A1:A20,B1:B20)0,15),C1)

Anyway, try it and see what you get.


HTH,
Ryan--

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sean Timmons" wrote:

Perhaps using =LEFT(A2,15) so you can compare the first 15 to each. If you do
that and use a countif(), you can determine how many rows have the same first
15 characters...

"Wanda" wrote:

Thanks in advance for any and all help!!!

I have Excel 2007. I have a file of that contains 3 sheets of similar
information - account number, balance, name, due date, high credit, etc.
This is a non-logical segmentation of my company's entire card base (I work
for a small card processor). Unfortunately, in converting the original
information prior to segmenting accounts, it was not discovered that Excel
only converted 15 of the 16 digits of the account number, changing the last
number to zero. I was able to re-import my original information - importing
my account number as text instead of numbers, so that now I have a file with
the correct account numbers, but they're not segmented in to my non-logical
groups. I tried doing "Remove Duplicates" - by comparing the names, but that
didn't do anything. I can't do "remove Duplicates" by balances, since there
are a great many cards that have a zero balance, and I can't match "John
Doe's zero balance card" to "Jane Smith's zero balance card".

Short of comparing all 9500 lines of the file and manually segmenting the
cards again, do you awesome gurus have any suggestions?

My incorrect, segmented file has incorrect account numbers, like
1234-5678-1234-5670, when the correct non-segmented file has the correct
number like 1234-5678-1234-5679

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default Compare 2 lists of random numbers - Excel 2007

Thanks Ryan and Sean! Actually, I was able to talk to the person that
divvy'd up the original incorrect form, and he sent me off in a different
direction that worked. What I did was re-import the text file to excel 2
times - once with the incorrect "truncated" account numbers, and again with
the correct "text" numbers. Then I inserted a column in the "correct" sheet,
and copied the "truncated" numbers in to it. From there it was pretty easy
to match everything up.

Thanks again!!!!!

"ryguy7272" wrote:

That's what I'd do, Sean. If this is the setup:
Column A (should be in A1):
1234-5678-1234-5670

Column B (anywhere in the column):
1234-5678-1234-5679

Column C (should be in C1)
Jack Black

Put this function in some column, like F:
=IF(LEFT(COUNTIF(A1:A20,B1:B20)0,15)=LEFT(COUNTIF (A1:A20,B1:B20)0,15),C1)

Anyway, try it and see what you get.


HTH,
Ryan--

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sean Timmons" wrote:

Perhaps using =LEFT(A2,15) so you can compare the first 15 to each. If you do
that and use a countif(), you can determine how many rows have the same first
15 characters...

"Wanda" wrote:

Thanks in advance for any and all help!!!

I have Excel 2007. I have a file of that contains 3 sheets of similar
information - account number, balance, name, due date, high credit, etc.
This is a non-logical segmentation of my company's entire card base (I work
for a small card processor). Unfortunately, in converting the original
information prior to segmenting accounts, it was not discovered that Excel
only converted 15 of the 16 digits of the account number, changing the last
number to zero. I was able to re-import my original information - importing
my account number as text instead of numbers, so that now I have a file with
the correct account numbers, but they're not segmented in to my non-logical
groups. I tried doing "Remove Duplicates" - by comparing the names, but that
didn't do anything. I can't do "remove Duplicates" by balances, since there
are a great many cards that have a zero balance, and I can't match "John
Doe's zero balance card" to "Jane Smith's zero balance card".

Short of comparing all 9500 lines of the file and manually segmenting the
cards again, do you awesome gurus have any suggestions?

My incorrect, segmented file has incorrect account numbers, like
1234-5678-1234-5670, when the correct non-segmented file has the correct
number like 1234-5678-1234-5679

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
need to compare two lists and identify cells with same numbers in Bockhamptoner Excel Discussion (Misc queries) 8 September 11th 08 11:34 AM
How do I compare lists in cells Excel Gerald Vandiver Excel Worksheet Functions 0 June 14th 06 12:03 AM
How do I compare lists in Excel? Jazz - Netherlands Excel Worksheet Functions 2 March 29th 06 09:16 AM
How do I compare two lists of numbers? demebe123 Excel Worksheet Functions 1 April 22nd 05 12:32 AM
How do I compare two lists of names in excel? Jack the Cate Excel Discussion (Misc queries) 1 December 24th 04 12:07 PM


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