Andy,
Thanks for the reply. I think I may have explained my problem incorrectly.
Let me start again:
The text file contains rows of product and price info only:
partA $30
partB $25
partD $40
This is imported into the sheet
first column is part numbers, second column is price and third is discount
partA $30 2%
partB $25 1%
partD $40 3%
I then get new data from the text file that adds a new part and also may have different price info. This will always be in alpabetical order, so some part numbers may be appended at the bottom, some may be inserted in the middle:
text file
partA $35
partB $25
partC $50
partD $40
sheet
partA $35 2%
partB $25 1%
partC $50 3%
partD $40
So now the percentage that was supposed to be assigned to partD is now assigned to partC.
I need to be able to update existing info in the sheet and insert new rows
Any ideas?