Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Microsoft Excel and E-Logbook

Thread Tools
 
Search this Thread
 
Old 2nd November 2007 | 21:33
  #1 (permalink)  
Thread Starter
20 Countries Visited
15 Anniversary
 
Joined: Oct 2007
Aviation Qualifications: ATPL
Posts: 1,027
Likes: 121
From: Wherever I go, there I am
Microsoft Excel and E-Logbook

Hi all,

Im quite proud of myself in my abilities at programming but have come up against an unexpected problem with my self made logbook in excel.

I want to be able to pull from my data the last 30, 90, 180 and 360 days worth of flight times. I would have thought this would have involved a simple sumif formula, but it always comes back #ref or invalid

for example I have tried

=sumif('logbook'a6:A1400,"",g6:r1400)

where A column equals the date of the flight and
G through R equal all the flight columns (Day, Night, PIC, SIC, etc)

and other variations on the SUM, SUMIF, IF etc formulae.

Ive had a friend who was able to do it all with a macro but it is not able to self-up-date with each new flight, making it useless as a record keeping device (considering I would have to re-write to code for each flight, assuming I understood Macro code...)

Im hoping someout out there has overcome this problem and could steer me in the right direction. For me this is a last resort asking, but after 10 months of trying I figure its time to be a man and ask for help...

but dont let my wife know...

Sorry about the prev. edition of this post!!!!

Last edited by +TSRA; 2nd November 2007 at 22:40.
+TSRA is offline  
Reply
Old 3rd November 2007 | 01:36
  #2 (permalink)  

Official PPRuNe Chaplain
 
Joined: Apr 2001
Posts: 3,498
Likes: 0
From: Witnesham, Suffolk
I nearly drove myself silly trying to do the same thing. It ought to be easy, but it isn't.

In the end, I added some columns, over on the far right hand side of the spreadsheet. They are 30 days, 60 days, etc, and follow the general principle =IF(A3>(TODAY()-30),B3,0)
Column A is date, Column B is hours and decimal.

Then I just add the relevant columns. The totals copy over to the "summary" detail bit of the logbook.

It's ugly, and inelegant, and it works.
Keef is offline  
Reply
Old 3rd November 2007 | 09:25
  #3 (permalink)  
 
Joined: Jul 2002
Posts: 537
Likes: 0
From: Northampton UK
It's ugly, and inelegant, and it works
It's what I'd do too. The only other way I can think of is to write a Visual Basic Macro that programatically scans through the logbook and does the calculations, and is called with one elegant statement =flighttime(30) etc. Lots more effort to come up with the same number.

I'd say do what Keef says and hide the inelegant columns

RC
rotorcraig is offline  
Reply
Old 3rd November 2007 | 12:36
  #4 (permalink)  
 
Joined: Jan 2007
Posts: 38
Likes: 0
From: UK
Keep things really simple!

Setup another sheet with every day of the year on the left column and use the VLOOKUP function to extract totals for that day from your logbook. Then running totals are as simple as =sum(B1:B31). Drag this formula down and it becomes =sum(B2:B32) etc.

TN
Temet_Nosce is offline  
Reply
Old 3rd November 2007 | 14:07
  #5 (permalink)  
 
Joined: Apr 2005
Posts: 455
Likes: 0
From: Euroville
There are commercially available electronic logbooks out there, tons and tons of functions, can track everything under the sun, JAR compliant and cost not a great deal of money.

Or is that not as much fun as building your own?
Telstar is offline  
Reply
Old 5th November 2007 | 15:50
  #6 (permalink)  
Thread Starter
20 Countries Visited
15 Anniversary
 
Joined: Oct 2007
Aviation Qualifications: ATPL
Posts: 1,027
Likes: 121
From: Wherever I go, there I am
Keef, rotorcraig and temet_nosce - Thank you! I played around with all three ideas and have it working better than I actually wanted it to, so thanks again.

Telstar - Ive tried one store bought logbook and did not like it at all, which is why I decided to program my own, that and I dont need it to conform to JAR, FAA, TC regs. I also wanted the challenge of writitng all the formulas myself and seeing the end result. After all, pilots all cant just be pretty faces in the crowd
+TSRA is offline  
Reply
Old 6th November 2007 | 06:29
  #7 (permalink)  
 
Joined: Aug 2007
Aviation Qualifications: ATPL
Posts: 57
Likes: 1
From: The World
TS,

Could you help and let us know how you've set up the formulae

Thanks
MetoPower is offline  
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.