Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub problem() ActiveCell.FormulaArray = _ "=IF(ISTEXT(INDEX(I$1:I1,MAX(C2=$C$1:C1)*(D2=$D$1: D1)*(E2=$E$1:E1)*(F2=$ F$1:F1)*ROW($C$1:C1)))),0,INDEX(I$1:I1,MAX((C2=$C$ 1:C1)*(D2=$D$1:D1)*(E2 =$E$1:E1)*(F2=$F$1:F1)*ROW($C$1:C1))))+G2-H2" End Sub the upper source is error. but, the upper array function is worked well in excel worksheet. what's the problem? *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
naming tab macro error runtime error 1004 | Excel Programming | |||
Macro 'Automation error' with ChemOffice Excel macro | Excel Programming |