mikallangelo
New Member
I am trying to build a product for pilot scheduling.  Currently I track pilots based on which route they are flying on a given day as shown below.
[pre]
	
		
[/pre]
The first column is an example of how the data I'm trying to pull. In summary, I'm trying to change the row titles into the data, and the data into the row titles. Thank you for the help!
A bonus question: is there a way to get excel to output two pilot names? For example if I had both Pilot A and Pilot F scheduled to fly the Chicago route on 5 Oct, can I get the table to output both names (or more) seperated by commas (maybe concatenate?). Thanks again for the help!
				
			[pre]
		Code:
	
	Name	01-Oct	02-Oct	03-Oct	04-Oct	05-Oct	06-Oct	07-Oct
Pilot A	Dallas	OFF	Memphis	Denver	Houston	Miami	Chicago
Pilot B	Chicago	Dallas	OFF	Memphis	Denver	Houston	Miami
Pilot C	Miami	Chicago	Dallas	OFF	Memphis	Denver	Houston
Pilot D	Houston	Miami	Chicago	Dallas	OFF	Memphis	Denver
Pilot E	Denver	Houston	Miami	Chicago	Dallas	OFF	Memphis
Pilot F	Memphis	Denver	Houston	Miami	Chicago	Dallas	OFF
Pilot G	OFF	Memphis	Denver	Houston	Miami	Chicago	Dallas
I need help figuring out how to pull the name of the pilot for each date based on the route they are flying. The table below shows what I want the output to look like:
Route	01-Oct	02-Oct	03-Oct	04-Oct	05-Oct	06-Oct	07-Oct
Dallas	Pilot A
Chicago	Pilot B
Miami	Pilot C
Houston	Pilot D
Denver	Pilot E
Memphis	Pilot FThe first column is an example of how the data I'm trying to pull. In summary, I'm trying to change the row titles into the data, and the data into the row titles. Thank you for the help!
A bonus question: is there a way to get excel to output two pilot names? For example if I had both Pilot A and Pilot F scheduled to fly the Chicago route on 5 Oct, can I get the table to output both names (or more) seperated by commas (maybe concatenate?). Thanks again for the help!
 
	 
 
		 
 
		 -----> in english: =OFFSET(FlightsByPilot[Pilot],,,,)
 -----> in english: =OFFSET(FlightsByPilot[Pilot],,,,)