Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default help adding up hour totals on a logbook

Hi,
I have created a logbook to log my flights and want to add up different
aircraft totals.
example column A2 contains type eg B747-300, B747-400 etc.
Column R2 contains flight time.
I was trying to create a formula that looks at A2 and if it contains say
B747-300 then put the value of R2 in a new table column -300, similarly for
the -400 etc.
so I can get the totals for each type, hope this makes sense????

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default help adding up hour totals on a logbook

There are a number of posts in this forum which give similar solutions using
SUMPRODUCT function. Try to search for them

Basically you have to enter a formula like this one to get the totals;
=SUMPRODUCT(--(A1:A100="B747-300"),(R1:R100))

Adjust the range according to your data points. In Excel 2007 you can use
A:A and R:R for range...

"joe1999" wrote:

Hi,
I have created a logbook to log my flights and want to add up different
aircraft totals.
example column A2 contains type eg B747-300, B747-400 etc.
Column R2 contains flight time.
I was trying to create a formula that looks at A2 and if it contains say
B747-300 then put the value of R2 in a new table column -300, similarly for
the -400 etc.
so I can get the totals for each type, hope this makes sense????

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default help adding up hour totals on a logbook

THANKS!! Sheeloo works perfect your a star :D

"Sheeloo" wrote:

There are a number of posts in this forum which give similar solutions using
SUMPRODUCT function. Try to search for them

Basically you have to enter a formula like this one to get the totals;
=SUMPRODUCT(--(A1:A100="B747-300"),(R1:R100))

Adjust the range according to your data points. In Excel 2007 you can use
A:A and R:R for range...

"joe1999" wrote:

Hi,
I have created a logbook to log my flights and want to add up different
aircraft totals.
example column A2 contains type eg B747-300, B747-400 etc.
Column R2 contains flight time.
I was trying to create a formula that looks at A2 and if it contains say
B747-300 then put the value of R2 in a new table column -300, similarly for
the -400 etc.
so I can get the totals for each type, hope this makes sense????

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding totals to new sheet Doug[_3_] Excel Worksheet Functions 9 August 1st 07 03:51 AM
Adding totals after filtering The Countryman Excel Discussion (Misc queries) 2 March 5th 07 05:32 PM
Adding time over a 24 hour period Paige Excel Discussion (Misc queries) 2 July 12th 06 06:34 PM
Adding on a 24 hour clock basis Suddes Excel Worksheet Functions 7 June 29th 06 02:20 PM
Adding category totals [email protected] Excel Worksheet Functions 3 June 15th 06 11:47 PM


All times are GMT +1. The time now is 06:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"