I'm working on a spreadsheet that determines the total resistance of any complex circuit. I am trying to figure out a way to determine what row has two specified values within two columns. For example, Two columns have numbers 0-3. Each number shows up 3 times within the two columns matching up with each of the other numbers once. (See Column C and D "Node 1", "Node 2"). Next to those columns is a column for current.

On the lower portion of the spreadsheet is a table in red with numbers going vertically and horizontally. I want to know the value of the current where the vertical and horizontal numbers match up. For example.

0-0 would read NA
0-1 would read 0.055555556
0-2 would read 0.019736842

And so on.

P.S. Theoretically I will be adding something that will make the current negative or positive according to which voltage is higher, but I can figure that out on my own. I need help with the first part.

Thanks!