Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steved
 
Posts: n/a
Default A 13 period exercise

Hello from Steved

In a sheet called summary I have the below formula.
'From Charters'!$B$74=$B$5 is period ie in this case period.4
'From Charters'!$F$17=$A$45 is Charter Kilometres (Other)
'From Charters'!$G$74:$G$74) this is okay if I stipulate G74

Ok my issue is $G$74:$G74 I want it to be $G$1:$G900

Why is because period 5 will be $G$93:$G93, I would like to automate this
process

=SUMPRODUCT(--('From Charters'!$B$74=$B$5)*--('From
Charters'!$F$17=$A$45)*'From Charters'!$G$74:$G$74)

Thankyou.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Hi SteveD,

What are you trying to do here? SUMPRODUCT doesn't seem appropriate for
comparing one cell to another, IF will do that fine.

The formula you show seems easier as

=IF(AND('From Charters'!$B$74=$B$5,'From Charters'!$F$17=$A$45),From
Charters'!$G$74,0)

--
HTH

Bob Phillips

"Steved" wrote in message
...
Hello from Steved

In a sheet called summary I have the below formula.
'From Charters'!$B$74=$B$5 is period ie in this case period.4
'From Charters'!$F$17=$A$45 is Charter Kilometres (Other)
'From Charters'!$G$74:$G$74) this is okay if I stipulate G74

Ok my issue is $G$74:$G74 I want it to be $G$1:$G900

Why is because period 5 will be $G$93:$G93, I would like to automate this
process

=SUMPRODUCT(--('From Charters'!$B$74=$B$5)*--('From
Charters'!$F$17=$A$45)*'From Charters'!$G$74:$G$74)

Thankyou.



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
Identify month in a period and run a formula M Excel Discussion (Misc queries) 4 August 9th 05 12:39 PM
Huge problem with "if" formula's [email protected] Excel Discussion (Misc queries) 16 July 20th 05 07:20 PM
Input period, but get .+ Cameronsmi Excel Discussion (Misc queries) 2 June 24th 05 05:58 PM
Time calculation for a givenn period KT Excel Discussion (Misc queries) 1 April 27th 05 05:04 PM
Starting work period on a Saturday and ending on a friday JLyons Excel Worksheet Functions 3 February 18th 05 01:13 PM


All times are GMT +1. The time now is 12:46 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"