Excel M365-Windows 10: Search for criteria in Book A to automaticall post in Book B

DEISEL227

New Member
Joined
Jun 4, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

For an aircraft logbook sheet, I have 12 books for each month, (i.e. "May"). For the example, I enter an origin airport code (i.e. "KSUS") in cell C4, and destination airport code column D4 (i.e. "KIAD"), say. In the same row, cell R4 should be the state miles for this trip, and cell S4 should be the total miles for this trip.

I have created a separate book titled "Miles" to house the common routes we fly and the total miles as well as state miles for that flight. In this book column A is titled "Origin" and it houses the origin airport I am looking for "KSUS". In column B, titled "Destination" it houses the destination airport I am looking for "KIAD". State Miles are located in column C ("25") and total miles are located in column D ("712").

I would like the formula in Book "May" to take the origin and destination, and search for the state and total miles in Book "Miles."

Help! Thanks!
 

Attachments

  • 2021-06-04 (1).png
    2021-06-04 (1).png
    161.6 KB · Views: 7
  • 2021-06-04.png
    2021-06-04.png
    218.7 KB · Views: 8

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,215,215
Messages
6,123,668
Members
449,114
Latest member
aides

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