I have an Inventory Spreadsheet that I need to compare vesrus an older version, problem is that the newer version has multiple item entries inside it when the older one has them condensed..
Old NewItems Reformed/Condensed
---- ----- ------------------
MX101 1 MX101 2 MX101 5
MX120 12 MX101 3 MX103 14
MX656 6 MX103 12 MX120 14
... MX103 2 ....
MX120 4
MX120 8
MX120 2
MX656 1
....
I need this to work in excel vba, i have the compare function written -- but trying do the condensing of the info is troublesome.
For each item in NewItems range
Compare the items after the currentrow
add them together (if there are any)
write to the reformed sheet with the condensed info
Next
Whats is really busting my brain is the recursive looping that has to happen.. and that I dont know how many entries the same item has -- so I guess I have to search everything except the current and other items I have found.
any thoughts code snipets are more than welcome..
wbochar
Old NewItems Reformed/Condensed
---- ----- ------------------
MX101 1 MX101 2 MX101 5
MX120 12 MX101 3 MX103 14
MX656 6 MX103 12 MX120 14
... MX103 2 ....
MX120 4
MX120 8
MX120 2
MX656 1
....
I need this to work in excel vba, i have the compare function written -- but trying do the condensing of the info is troublesome.
For each item in NewItems range
Compare the items after the currentrow
add them together (if there are any)
write to the reformed sheet with the condensed info
Next
Whats is really busting my brain is the recursive looping that has to happen.. and that I dont know how many entries the same item has -- so I guess I have to search everything except the current and other items I have found.
any thoughts code snipets are more than welcome..
wbochar