Thread: Help with sums
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
duane[_35_] duane[_35_] is offline
external usenet poster
 
Posts: 1
Default Help with sums


You can find the column of the date in question by something like

Set rng = Sheets("yoursheet").Range("daterange").Find(date)
datecol = date.column

You need to define date as the date you are looking for, and obviousl
have the ranges defined

Then you can use datecol as the maximum column in your sum formul

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=27596