Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula

Status
Not open for further replies.
Hi,

Sort your lookup table by Miles ascending.

Use the MATCH() function with Match Type of 1 in your results table.

I use Named Ranges

=INDEX(INDIRECT(J$8),MATCH($I9,miles,1),1)

I'm assuming that your results table begins at I7
 
One of these days I'll remember the INDEX/INDIRECT/MATCH usage well like Skip. [smarty]

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top