I am attempting to determine how or even if I can do something. I have a sheet with 4 columns of data. Column A and Column B are related to each other and Columns C and D are related to each other. What I am attempting to do is compare the data in Column B with the data in Column D (all rows) and if a match is found Delete the Data in column A and B for that row only. Then move onto the Next Row until complete (30,000 cells which I am attempting to do manually). In other works steping down the rows looking for matches to the data in Column B.
The end result would be the data that remains in Column A and B would only be data that did not match anything when column B is compared to ALL of Column D.
Any guidance would be appreciated, since my Excel skills are near Zero.
Thanks in Advance
Can you attach a sample file?
As requested a sample of what I am looking at:
............. Col A ...................... .... Col B ............ ....................... Col C...................... ............... Col D
Row 1... V10999.................. COATTRCD..D1011.T00............ 704275.................... COATTRCD.D1010.T00
Row 2 .... V32257................ COATTRCD..D1014.T00........... 707668.................... COATTRCD.D1011.T00
This is edited to be readable easily, in the above example I would be comparing Row 1 Column with Row 1 Column D not a match. Then I would compare Row 1 column B with row 2 column D and it is a match, so I want to delete the information in Row 1 Column A and B. If no match is found the data will stay and move on to the next Row and do the same over again until complete. In this example Row1 Column B is a match for Row2 Column D so I want to delete Row1 Columns A and B.
I had issues with spacing periods added just to keep things separate, not actually in the data (sorry).
Last edited by swanscn; 11-23-2011 at 05:03 PM.
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook. Don't upload a picture when you have a workbook. None of us is inclined to recreate your data. Upload the workbook and manually add an 'after' situation so that we can see what you expect. In addition clearly explain how you get the results.
To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.
On this page, below the message box, you will find a button labelled 'Manage Attachments'.
Clicking this button will open a new window for uploading attachments.
You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
Alternatively you can click the Attachment Icon to open this page.
To upload a file from your computer, click the 'Browse' button and locate the file.
To upload a file from another URL, enter the full URL for the file in the second box on this page.
Once you have completed one of the boxes, click 'Upload'.
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
“To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln
Attaching a sample wookbook. this work book contains the before and what I am looking to get to in the after version, the top portion is the before and the lower section would be the after.
Last edited by swanscn; 11-23-2011 at 10:03 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks