Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
offset question
could someone help me with this code
Private Sub Worksheet_Activate() Dim jan As String, I As Long, X As Integer Dim v As Variant For I = 1 To 12 X = I jan = "=SumProduct(--(Sheet4!A1:A30000=" & _ "OFFSET('processed Amount'!A1,0,X,1,1)),--(Sheet4!AL1:AL30000 0))" v = Evaluate(jan) Range(X&2) = v Next I End Sub I'm trying to populate cells b2...m2 with the number of counts based on the following criteria: the date is equal to the dates in cells b1...m1 and the total is 0 Thanks for nay help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Offset Question | Excel Worksheet Functions | |||
Offset question | Excel Worksheet Functions | |||
OFFSET() question for '97 | Excel Discussion (Misc queries) | |||
Offset question | Excel Programming | |||
An OFFSET question | Excel Worksheet Functions |