Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default SUMIF and SUMPRODUCT with INDIRECT formula problem

Afternoon from a sunny RSA,

Four sheets, three are input sheets and the last one is a summary sheet.
Sheets 1 to 3 are vehicle specific. Truck 1, Truck 2 and Truck 3.
One each sheet is three columns, Date, Driver and Kilometers travelled, so
therefore each row would have for example in cell A2=2007/08/16 B2=David
C2=162
Now each vehicle sheet would have similar information. Just the dates,
driver and kms would obviously change.
Driver David does not necessary always drive the same vehicle. His
co-workers are Paul and Simon. And they also switch vehicles.
I want on the summary sheet to show on a particular date that David drove so
many kilometers and the same calculation for Paul and Simon.

Hoping in anticipation.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default SUMIF and SUMPRODUCT with INDIRECT formula problem

This formula will calculate the km for Paul on 2007/08/16:
=SUMPRODUCT(--(Sheet1!A2:A9999=DATE(2007,08,16)), --(Sheet1!B2:B9999="Paul"),
Sheet1!C2:C9999) + SUMPRODUCT(--(Sheet2!A2:A9999=DATE(2007,08,16)), --(Sheet2!
B2:B9999="Paul"), Sheet2!C2:C9999) + SUMPRODUCT(--(Sheet3!A2:A9999=DATE(2007,
08,16)), --(Sheet3!B2:B9999="Paul"), Sheet3!C2:C9999)

What I would recommend is that you use one sheet for data entry, with one
additional column for the Truck number, then use a pivot table or data filter
to view the information by day, truck or driver. This will make your
spreadsheet more flexible, and will allow you to buy more camions without
having to change anything!

Stephane Quenson.

Sunnyskies wrote:
Afternoon from a sunny RSA,

Four sheets, three are input sheets and the last one is a summary sheet.
Sheets 1 to 3 are vehicle specific. Truck 1, Truck 2 and Truck 3.
One each sheet is three columns, Date, Driver and Kilometers travelled, so
therefore each row would have for example in cell A2=2007/08/16 B2=David
C2=162
Now each vehicle sheet would have similar information. Just the dates,
driver and kms would obviously change.
Driver David does not necessary always drive the same vehicle. His
co-workers are Paul and Simon. And they also switch vehicles.
I want on the summary sheet to show on a particular date that David drove so
many kilometers and the same calculation for Paul and Simon.

Hoping in anticipation.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200708/1

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
Formula help - indirect & sumif & dates ..... Ray Excel Discussion (Misc queries) 3 August 9th 07 01:56 PM
sumif/sumproduct formula help Robert Excel Worksheet Functions 2 May 30th 07 04:40 AM
sumproduct or sumif formula help ferde Excel Discussion (Misc queries) 4 April 15th 07 04:36 AM
Indirect Formula Problem sid@knee Excel Worksheet Functions 3 January 30th 07 12:58 AM
include INDIRECT function into SUMPRODUCT formula markx Excel Worksheet Functions 1 November 9th 05 05:04 PM


All times are GMT +1. The time now is 11:19 PM.

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

About Us

"It's about Microsoft Excel"