Help with Look up.

P

Pank

I have the following: -

Col B Col C Col D
Row 25 127.8
Row 26
Row 27
Row 28 > 110 £86.49
Row 29 111 – 114 £89.07
Row 30 115 – 118 £91.65
Row 31 119 – 122 £94.23
Row 32 123 – 126 £96.81
Row 33 127 – 130 £99.31
Row 34 > 130 102.00


I need to compare the value stored in D25 against B28:B34 and when a value
is found to report out the corresponding value from C28:C34.

Therefore if D25 were 127.8, I would expect to see a value of £99.31 to be
populated in cell F32.

Thank you in anticipation.
 
T

TomHinkle

Seperate colum B into 2 columns... Lower Range and upper range..
then the values in each column will be numeric and you can use simple
lookups.
 
D

Duke Carey

The ranges in col B trouble me. If the value in D25 was 126.8, it'd fall
between the range in row 32 and the range in row 33.

Aside from that, change B to the upper end of each range:
110
114
118
etc.

then use a VLOOKUP() formula

=VLOOKUP(D25,B28:C34,2,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top