I have 2 excel files. This contain changes on a couple of rows. I would like to withdraw the changes done.
What I have tried is that I tried concating all the columns, and then counting how many time this has occured. IF it matches first sheet of second i will call it a change.
Basically --> Concat --> unique --> countif on both sheets --> is it same on both sheet? If one is bigger, which tells me if i added or deleted rows...
The purpose of doing this is that I have a BOM. No specific identifiers, but just a BOM. This can mean that i can have duplicates and so on. I want to get out the different rows. For example if I removed 3 rows from first bom but added 1 other row, i want to extract it.
I have tried doing this, and it quickly becomes to advanced for me. Are there any functions I can use that makes my life easier? :) Coding in Visual basic is not my strong side...
Related
I need a formula in Excel that looks through a row of data (ICD-10 codes) and checks for specific codes i.e. "Z00001", "Z139", etc. about 7 different codes and returns the code(s) contained in the ICD-10 codes in that row. It doesn't matter what position it is in (ICD 1-10), just that it is in the row. I need to find out if it is just one code or two or more of the codes and which codes they are. I think I may have to break it down into a couple of columns but not sure how to do that. Below is what I have tried but I only get whichever code is the first code the formula comes across, not all of the specific codes listed.
=IF(OR(COUNTIF(O2:X2, "Z9289")>0),"Z9289",IF(OR(
COUNTIF(O2:X2,"Z0001")>0),"Z0001", IF(OR( COUNTIF(O2:X2,"Z789")>0), IF(OR(
COUNTIF(O2:X2,"Z139")>0), "CNR"))))
I've even tried:
=SUMPRODUCT(--(O3:X3={"Z0001","Z139","Z789","Z7689","Z87898","Z9289"}))>0
I'm working on a huge list of software names in an excel file (10000+ rows). It looks something like this:
As you can see there is 7-zip with all kinds of versions and architecture types. Is there a way to filter these similar matches out? End-result would be that I only have one 7-zip entry in the list (doesn't matter how it looks like).
This is basically to see how many different applications are in the list - I'm not interested in the versions itself.
Your image starts at row 37 so the following formula is set to start at row 37.
Paste this formula in column B and copy it down (and up if necessary) next to your data. It will strip everything from the end of your software name once it sees a number or an open parenthesis AFTER the third character. So 7-Zip is safe because the number 7 is within the first 3 characters.
Once you have the formulas in place, you can Remove Duplicates based on Column B.
=IFERROR(LEFT(A37,MIN(FIND({0,1,2,3,4,5,6,7,8,9,"("},RIGHT(A37,LEN(A37)-3)&"0123456789("))+2),A37)
I have been trying to find a solution to this but am unable to. I have two files with a large amount of data in. One of the columns is ID with a six digit number in each row.
Is there a way that I can click on a cell (contains data: 123456) in the ID Column from File1.xls so that it then opens and highlights the same value (data: 123456) in File2.xls by way of searching file 2? Maybe even vice versa.
Very sorry for not having any attempted code/formula as an example of trying it's just that I have no idea where to start. I can quite easily link it to file 2 but I don't see this method as being efficient, especially due to the number of rows contained within the sheets.
Many thanks to anyone that may be able to help.
I'm trying to write a macro with limited programming background. I have two excel files I'm trying to compare and find what has been changed from older iteration to the newer one. Column A has a specific id number and everything in that row is information pertaining to that id number. I would like the macro to find the matching id number and then compare the data in that row and highlight any changes that have been made in the newer iteration. the loop would have to go down each cell in column a of one file and compare it to the entire column in the other file each time.
If the id number isn't found then that id number needs to be highlighted as well. It also needs to check to see if the id numbers from the original file are still in the newer one, if not those need to be highlighted as well.
You should take a look at Spreadsheet Compare, a free tool for comparing Excel workbooks. It has lots of options, including "Database Style Compare", where you can highlight rows as you describe based on a column you choose as the ID.
Using a ready-made software is better than making a macro.
It's very easy.
I use the following software.
This software compares two Excel workbooks, and highlight their differences.
Excel Compare Tool - Excel Diff
1.
Try PUP from J-Walk:
http://spreadsheetpage.com/index.php/pupv7/utilities
Compare Ranges:
Lets you easily identify the differences between two worksheets or ranges.
2.
Check this comparison utility officially released by Microsoft, but for Microsoft Office Professional Plus 2013:
http://office.microsoft.com/en-us/support/basic-tasks-in-spreadsheet-compare-HA102834117.aspx
3.
If you import your 2 ranges into Access database, then you can use template queries from the menu.
In Excel, let's say I have 5 columns, but not all of the time will a column have data.
How can I force it to give a static number of commas?
I end up having some rows like this (as I would like it):
Field1,field2,field3,field4,field5
field1,field2,,,
Then some rows like this:
field1,field2,field3,field4,field5,
field1,field2,
field1,field2,field3,field4,
you mean when exporting? That should happen by default. I tried it just now with Excel 2007 and all exported lines in the .csv-file had the same amount of commas. Those lines with fewer columns had extra commas at the end, just like in your example
Actual exported excel file:
hello;world;;;;
how;are;you;doing;;
hi;;;;;
welcome;to;;;;
the;jungle;;;;
some;line;with;lots;of;columns
The actual amount of commas is determined by the row with the most columns
So in this particular instance, there was a lot of copy pasting going on to create the file.
I finally opened a new worksheet, copied the entire document over, and created a CSV using that.
This resolved my problem.