Return Row values for 2 sets of conditions

drogers

New Member
Joined
Mar 1, 2011
Messages
2
Hi I have a set of grid coordinates (i,j) that are in a table next to the corresponding latitude/longitude values for a particular grid position. As I am new, I cannot post an attachment; however, the same data I am looking at can be found here:
http://www.meteo.gc.ca/grib/30kmgridpoints_e.html

What I would like to do is input any latitude/longitude (for the area on the map) and have excel return the corresponding i,j grid coordinate. It is important to note that the latitude/longitude values used as input may not be exactly the same as the lat/long values in that table; therefore, I need excel to determine the lat/long values that represent the boundaries of the grid point my lat/long of interest is located in. The ideal output would not always be an integer. This means that if my point was in the very center of grid point (1,1) excel would output (1.5,1.5).

Is it possible for me to create a spreadsheet that does this?
I apologize if my question is confusing and will clarify if anyone requires.

Thanks for any help you can provide
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,606
Messages
6,179,862
Members
452,948
Latest member
UsmanAli786

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