Wikiposts
Search
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."

Excel logbook question

Thread Tools
 
Search this Thread
 
Old 16th Apr 2012, 04:18
  #1 (permalink)  
Thread Starter
 
Join Date: Aug 2000
Location: formally Alamo battleground, now the crocodile with palm trees!
Posts: 960
Likes: 0
Received 0 Likes on 0 Posts
Question Excel logbook question

Any Excel gifted ppruners that can help me out with the following issue?

I have my logbook in Excel and I am currently flying three different aircraft types, that I like to break in hours flown in each type.

I have a cell that I dedicated "aircraft type". What formula do I need to use if I want to specify e.g. "if aircraft type" cell = E190 than add time in cell "YY" to cell "xx"?

Any suggestions?

7 7 7 7
Squawk7777 is offline  
Old 16th Apr 2012, 06:51
  #2 (permalink)  
 
Join Date: Mar 2003
Location: England
Posts: 286
Likes: 0
Received 0 Likes on 0 Posts
7777,

Assume that you have the type in colum B and the corresponding hours in column C and there are 10 rows of data from row 2 - 11. Then you can use the SUMPRODUCT function to calculate the numbers for each type:

Put the type name in cell A12
Put this formula in A13:
=SUMPRODUCT((B2:B11=A12)*C2:C11)

HTH

EG
ExGrunt is offline  
Old 17th Apr 2012, 11:25
  #3 (permalink)  
 
Join Date: Oct 2011
Location: South-East, United Kingdom
Posts: 248
Likes: 0
Received 0 Likes on 0 Posts
Or try this

=COUNTIF(B:B,"=Type")

You can extend it to multiple counts in one cell e.g.

=COUNTIF(B:B,"=Type") + COUNTIF(C:C,"=Othertext")
piperarcher is offline  
Old 17th Apr 2012, 11:44
  #4 (permalink)  
bnt
 
Join Date: Feb 2007
Location: Dublin, Ireland. (No, I just live here.)
Posts: 733
Received 6 Likes on 5 Posts
If you're looking to analyse the data, note that Excel has various features to help you extract various info, without having to write functions. For example, you can sort the records by aircraft type, then use the Subtotals button to automatically insert subtotals of hours by aircraft type.



More details: Inserting Subtotals in an Excel 2007 Worksheet - For Dummies.
bnt is offline  
Old 17th Apr 2012, 11:45
  #5 (permalink)  
Moderator
 
Join Date: Feb 2000
Location: UK
Posts: 14,217
Received 48 Likes on 24 Posts
I use " =SUMIF(range-containing-aircraft-types,cell-containing-aircraft-name, range-containing-flying-hours) ".

My Excel logbook handles that fine for 100ish types. My person preference is to split it over three sheets that contain:

(1) Classical logbook information
(2) Calculations
(3) 1 page presentational logbook summary that I can print out.

(1) I enter data on, (3) is all that useful stuff like total experience, hours on type, hours in last 28/90/365 days, instructional hours, expiry dates....

(2) is just necessary but best kept away from the other two.

G
Genghis the Engineer is offline  
Old 17th Apr 2012, 12:59
  #6 (permalink)  
 
Join Date: Mar 2003
Location: England
Posts: 286
Likes: 0
Received 0 Likes on 0 Posts
Genghis,

I agree that your formula is an equally workable solution and your separation of inputs, workings and outputs is well in line with good excel practice.

As a counsel of perfection have you considered adding a further worksheet of cross check calculations? eg: count of input data matches count of output data, sum of input hours matches sum of output hours.

HTH

EG
ExGrunt is offline  
Old 17th Apr 2012, 14:15
  #7 (permalink)  
Moderator
 
Join Date: Feb 2000
Location: UK
Posts: 14,217
Received 48 Likes on 24 Posts
No, but that's a good idea. A task for a long winter evening.

G
Genghis the Engineer is offline  

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 © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.