Basic Lookup

James Tebb

New Member
Joined
Nov 12, 2009
Messages
26
My table has three columns - JOURNEY START / JOURNEY END / DISTANCE.
On a seperate sheet I enter my start point in one cell, my end point in the next. I want it to lookup the values and tell me the distance in the next cell.
I understand basic lookups but how do get it evaluate JOURNEY START and JOURNEY END?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
try this
Excel Workbook
ABC
1JOURNEY STARTJOURNEY ENDDISTANCE.
21244112775334
3
4
Sheet3
Excel 2003
Cell Formulas
RangeFormula
C2=+B2-A2
Excel Workbook
ABC
8JOURNEY STARTJOURNEY ENDDistance
91244112775334
Sheet2
Excel 2003
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0
Thanks. BUT!!
I should have explained. The Journey Stsrt and End are place names. With the current formula i get a VALUE error message
 
Upvote 0
Try this:

Code:
=SUMPRODUCT((Sheet1!A2:A10=A2)*(Sheet1!B2:B10=B2)*(Sheet1!C2:C10))

Amend ranges as appropriate.
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,266
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top