GKaiseril,
I provided more informaiton about what I'm trying to do below. Since I have given some more detail would you be able to help me with the code? I just need help with starting it. If someone can show me how to do the first part I am willing to write the rest of the code for the entire table. I'm not asking for someone to write it all for me just give me a hand with what I need to do. I didn't think it would be that difficult. I know how to do these things in Excel using Vlookup and Hlookup but don't know how to do it with javascript. Any help would be greatly appreciated.