Is a lookup table the best option?

But I am looking the program to tell me the weight in the range of 0 to 1023 (or 0 to 5V), so, if I get an analog reading of say, 738, the program will spit out the corresponding weight.

Will your method do that? maybe it's just because I am new, but I don't see how it would.

Seám