Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Bit of help required.


Hey People,

I am trying to set a calculation statement so that it adds together
only certain week commencing dates. For example I need a script to go
to a seperate sheet and recognise all of the week commencing dates of
the 18/07/2005 for example and then from the rows within the commencing
dates perform a calculation..

I am sure it is possible, I think i should be using DSUM but cant seem
to get it to work? Any advice?

Thanks in advance,


--
PaulOakley
------------------------------------------------------------------------
PaulOakley's Profile: http://www.excelforum.com/member.php...o&userid=25103
View this thread: http://www.excelforum.com/showthread...hreadid=387983

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Bit of help required.

It is hard to tell from your question exactly what you want but it sounds
like a SumProduct formula might be in order. Take a look at this link...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"PaulOakley" wrote:


Hey People,

I am trying to set a calculation statement so that it adds together
only certain week commencing dates. For example I need a script to go
to a seperate sheet and recognise all of the week commencing dates of
the 18/07/2005 for example and then from the rows within the commencing
dates perform a calculation..

I am sure it is possible, I think i should be using DSUM but cant seem
to get it to work? Any advice?

Thanks in advance,


--
PaulOakley
------------------------------------------------------------------------
PaulOakley's Profile: http://www.excelforum.com/member.php...o&userid=25103
View this thread: http://www.excelforum.com/showthread...hreadid=387983


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Bit of help required.

It may be useful to look at the weeknumber.

e.g.

WeekNumber of DateRquired =Weeknumber of Cell
And Year of DateRequired = Year of Cell

You need the Analysis addin installed if you want to use the WEEKNUM
function.

HTH

PaulOakley wrote:
Hey People,

I am trying to set a calculation statement so that it adds together
only certain week commencing dates. For example I need a script to go
to a seperate sheet and recognise all of the week commencing dates of
the 18/07/2005 for example and then from the rows within the commencing
dates perform a calculation..

I am sure it is possible, I think i should be using DSUM but cant seem
to get it to work? Any advice?

Thanks in advance,


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
Help Required Safi. Excel Worksheet Functions 2 December 31st 07 11:29 PM
Help Required.... kiran Excel Discussion (Misc queries) 2 November 4th 06 11:48 AM
VB Required?? Ket Excel Worksheet Functions 3 July 4th 05 07:32 PM
Help required...... Duncan Excel Discussion (Misc queries) 2 February 17th 05 10:26 PM
New to VBA - help required please. Neil Grantham Excel Programming 3 September 30th 03 01:56 PM


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