I figured it make no sense if I tried to explain it in a nutshell. I just need to somehow find the next key in a hash and see if there is a match with the current value. If so, then I could insert "no value" then make all other lines equal so long as they are a match. Instead of this... PersonID,PersonID ID,ID LastName,Social Security Social Security, Address Address,Unique ID Unique ID,Potassium It would then look like this... PersonID,PersonID ID,ID LastName,"no vale" Social Security, Social Security Address, Address, Unique ID, Unique ID Potassium, Potassium -- Posted via http://www.ruby-forum.com/.