Count days between aircraft type landings

Rich Ard

New Member
Joined
Mar 11, 2012
Messages
10
Hello,

I'm an analyst for and airport. I would like to count number of days between the landings of different aircraft types (cargo aircraft or freighters). The data does not come in clean.

My first column is dates. The following columns are aircraft types, but each day the same aircraft don't necessarily land each day.

e.g.

1/1/16, AN225, AN124, B747-F, B777F
1/2/16, B747-COMBI, B777F, AN124, B737-COMBI
1/3/16, B747F, AN225, B737F, A320F

Et cetera

I have several years of data. Data is daily aircraft landings.

Hacked at the forum first for something similar but I don't think I know how to search. Tried searching for DATEIF and count days between dates but couldn't find a solution.

Thank you in advance for any help you can offer.
Rich Ard from Texas
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hard to make out what your data looks like - and what would some sample answers look like?
 
Upvote 0
Hard to make out what your data looks like - and what would some sample answers look like?



Hi Ford

I'm looking for patterns of usage. Are aircraft types used daily or 3 days on then 3 days off? Is it a random pattern of usage? This is why I'm interested in counting the days between landings. There's a longer story but I don't want to consume pages for an explanation. The short story is to eventually approach an airline with a business case. One revenue source for airports are landings. Hence my a interest in analyzing landings.

My data would look something like this. Equipment Code is an aircraft type.

Again, big thank you for your help.

Dynamic Table Report for nonstop Cargo (Air Only) landings for travel between October 1, 2016 and October 11, 2016

DateEquipment CodeEquipment CodeEquipment CodeEquipment Code
Oct 1, 201674M77FSU9PA2
Oct 2, 201674F74MM1F124
Oct 3, 201674M225PA2SU9
Oct 4, 201674M77XM1F124
Oct 5, 201674F74M225PA2
Oct 6, 201674FABY225YN2
Oct 7, 201674F74M77X124
Oct 8, 201674M74M77FYN2
Oct 9, 2016SU9T20YK2YN2
Oct 10, 2016PA2PATYK4YN7
Oct 11, 201673C73XA5874M

<tbody>
</tbody><colgroup><col><col span="4"></colgroup>
 
Upvote 0
Rich Ard,

1. What is he worksheet name for the raw data in your reply #3?

2. What is the worksheet name where the results will be recorded?

3. Can we have a screenshot (manually formatted by you) of what the results should look like?
 
Upvote 0
1. Worksheet name is a generic name I get when I pull data from the database. In this case it is named Schedule Dynamic Table Report
2. I will call the worksheet for the results LandingsFrequency.
3. I'm having difficulty uploading a screen shot. I used the table feature here in Mr. Excel to create what I image the output would look like. Note some aircraft types come infrequently so all columns will not be filled equally as others.

I'm very grateful for your time. I look forward to learning something new. Thx

Equipment Code
124
225
73C
73X
74F
74M
Days between landings
1
3
1
1
3
7
5
1
20
1
3
5
2
3
751
3
2
5
1
1
3
20
1
3
1
3
5
1
1
3
2
3
1
3

<tbody>
</tbody>
 
Upvote 0
Rich Ard,

I have examined your raw data, and, results, and, can not see the logic to solve your request.

Here are screenshots (I think that the worksheet names are correct) that may help someone else to solve your request.


Excel 2007
ABCDEF
1DateEquipment CodeEquipment CodeEquipment CodeEquipment Code
2Oct 1, 201674M77FSU9PA2
3Oct 2, 201674F74MM1F124
4Oct 3, 201674M225PA2SU9
5Oct 4, 201674M77XM1F124
6Oct 5, 201674F74M225PA2
7Oct 6, 201674FABY225YN2
8Oct 7, 201674F74M77X124
9Oct 8, 201674M74M77FYN2
10Oct 9, 2016SU9T20YK2YN2
11Oct 10, 2016PA2PATYK4YN7
12Oct 11, 201673C73XA5874M
13
Schedule Dynamic Table Report



Excel 2007
ABCDEFGH
1Equipment Code
212422573C73X74F74M
3Days between landings131137
45120135
52375132
6511320
71313
85113
92313
10
LandingsFrequency




If the screenshots are NOT correct, then:

See reply #2 at the next link, if you want to show small screenshots, of the raw data, and, what the results should look like.

http://www.mrexcel.com/forum/about-board/508133-attachments.html#post2507729


Or, you can post your workbook/worksheets to the following free site (sensitive data changed), mark the workbook for sharing, and, provide us with a link to your workbook:

https://dropbox.com
 
Upvote 0
Rich Ard,

I have examined your raw data, and, results, and, can not see the logic to solve your request.
Like hiker95, I cannot see the logic to for the output table that you want given the data you showed us. Something for you to consider when clarifying this question for us as well as for any questions you may ask in the future...

One thing you must keep in mind when you ask a question in a forum... the people you are asking to help you know absolutely nothing about your data, absolutely nothing about how it is laid out in the workbook, absolutely nothing about what you want done with it and absolutely nothing about how whatever it is you want done is to be presented back to you as a result... you must be very specific about describing each of these areas, in detail, and you should not assume that we will be able to "figure it out" on our own. Remember, you are asking us for help... so help us to be able to help you by providing the information we need to do so, even if that information seems "obvious" to you (remember, it is only obvious to you because of your familiarity with your the data, its layout and the overall objective for it).
 
Upvote 0
I'm not sure there is a pattern, but I think the OP knowing the FREQUENCY (MIN and MAX with MEAN) of a flight type would be helpful to his case. Whether its spotting the incoming drugs mules or being able to accommodate freight.
 
Upvote 0
Sorry for upsetting you Rick. And thanks to you andeveryone else in this forum. I learn a lot and I'm grateful to all thecontributors. And a big thank you to hicker95 for your consideration in trying to find a solution.

Problem statement:
Background

I work for an airport (public entity). Through our rates and charges we collectdata on landed aircraft. Landings is a source of revenue, hence we collectthe data.
Data collected includes but not limited to the type of aircraft that landed,and the date the aircraft landed. Aircraft type is identified by acode (e.g. and Antonov 225 is 225, a Boeing 777 freighter is 77F).


DataOutput
The data output I get is not ideal. It an old government system. In anattempt at humor I think it runs off Microsoft abacus (which was the version ofWindows before Window v1.0). Hopefully I made you laugh.

The data output is as follows:
*Column
The first column is the date the aircraft landed.
All other columns are types of aircraft by aircraft code.
*Row
The first row are headers
A1 is the date header for column 1
All other columns only say "Equipment Code" to indicate that thecolumn is populated by the types of aircraft that landed on that date.
*Closing
An example of a shortcoming of the data output is that aircraft 77F doesn'talways populate in the same column. Or aircraft T20 doesn't always populate inthe same column.

Goal
I want to analyze by type of aircraft the frequency each aircraft type lands.The aircraft I'm studying are freighter aircraft. Aircraft that carry aircargo. I am not studying passenger aircraft.
I am analyzing how air freighters are being utilized. I'm studying airfreighter utilization in the air logistics supply chain.
Over a long time series (several years) I want to know the number of daysbetween landings for each aircraft type.
*First pass questions I have in my analysis:
-What patterns are there, if any, in the utilization of aircraft types? Is theaircraft type used daily, every 3 days, used randomly? Why?
-If I review a long time series, are there seasonal patterns in the use ofaircraft? Why? Will I discover that for certain times of the year the aircraftis flowed into the Southern Hemisphere (where the seasons are opposite from theNorthern Hemisphere)?

Closing
This analysis is part of a larger study I'm doing. Even though I'vedeveloped relationships in the air logistics community, they are veryguarded in sharing information. Once I arm myself with facts, hopefully I canget individuals to open up and share more information with me.

The long view is to create a business case to convince a air freightercompany or an airline with air frieghters (Lufthansa, Air China, EVA, AtlasAir) to begin a new route from my city to someplace in the world.

END BACKGROUND EXPLINATION

Thank you in advance again to everyone. If a solution can't be found then I'll figure something out. It won't be efficient but I'll have to figure something out.

Rich Ard
 
Upvote 0

Forum statistics

Threads
1,217,401
Messages
6,136,410
Members
450,010
Latest member
Doritto305

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