Match Column Header then find cell below (offset 1 cell to right) that match another value.

Johnny J

New Member
Joined
Jul 25, 2011
Messages
6
Each Zip Code listed in row 1 has 4 data elements. I am trying to find the Miles for the Zip listed in row 1 and match it to the zip code 1 column over from it and give me the miles to the right of that. Essentially, I have two cells containing the 1st zip code and another containing the second zip code. I need a formula to find the Miles on the table. The data directly under the zip in row 1 is the format I get when I import that data so I used the 3 columns beside it to extract out the Zip, Miles and City.

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
43061 43065 43207
OstranderZipMilesCityPowellZipMilesCityColumbusZipMilesCity
43001 - ALEXANDRIA - 33.99081940894300134.0ALEXANDRIA25247 - HARTFORD - 98.47846959492524798.5HARTFORD25106 - HENDERSON - 88.3234484512510688.3HENDERSON
43002 - AMLIN - 15.61343026174300215.6AMLIN25260 - MASON - 96.60501092142526096.6MASON25123 - LEON - 98.0500463132512398.1LEON
43003 - ASHLEY - 15.42604154334300315.4ASHLEY25287 - WEST COLUMBIA - 99.52220190412528799.5WEST COLUMBIA25187 - SOUTHSIDE - 95.56123737772518795.6SOUTHSIDE
43004 - BLACKLICK - 28.94902194454300428.9BLACKLICK26181 - WASHINGTON - 99.3053337342618199.3WASHINGTON25239 - COTTAGEVILLE - 93.9596978212523994.0COTTAGEVILLE
43005 - BLADENSBURG - 48.59845253194300548.6BLADENSBURG41174 - SOUTH PORTSMOUTH - 99.72184371634117499.7SOUTH PORTSMOUTH25241 - EVANS - 98.65245271712524198.7EVANS
43006 - BRINKHAVEN - 55.95529845614300656.0BRINKHAVEN43001 - ALEXANDRIA - 25.31838931394300125.3ALEXANDRIA25247 - HARTFORD - 80.76740236132524780.8HARTFORD
43007 - BROADWAY - 11.80414527144300711.8BROADWAY43002 - AMLIN - 8.41921323954430028.4AMLIN25253 - LETART - 85.75277148292525385.8LETART
43008 - BUCKEYE LAKE - 45.35091066254300845.4BUCKEYE LAKE43003 - ASHLEY - 18.73394157054300318.7ASHLEY25260 - MASON - 78.8092065482526078.8MASON

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,215,459
Messages
6,124,946
Members
449,198
Latest member
MhammadishaqKhan

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