CSE(array copying problem)

EdE

Board Regular
Joined
Apr 8, 2002
Messages
241
Hi All --
Goofy question. I have an array formula that when I drag and drop copy to more than one cell, when I save Excel crashes. I can do it one cell at a time. Here are the 3 instances:
=SUM(IF($C$60:$C$80=1,IF($F$60:$F$80<=H$56,$E$60:$E$80,0),0))
=SUM(IF($C$60:$C$80=2,IF($F$60:$F$80<=H$56,$E$60:$E$80,0),0))
=SUM(IF($C$60:$C$80=3,IF($F$60:$F$80<=H$56,$E$60:$E$80,0),0))

where h56 is a date. I want to drag the column to copy but crashes when I save. I am using Excel97. (I know I know, dont have a choice though.)

Thanks!!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hiya,

Can you try a similar formula using sumproduct? Something like:

=Sumproduct(($C$60:$C$80=1)+0,($F$60:$F$80<=H$56)+0,$E$60:$E$80)

Worth a shot

You should be able to run array formulas w/o crashing though. Does this only happen in that one file? What happens if you toss some test data into a blank xls file and try the same array formulas? At minimum, I guess you could try deleting *.tmp files, running scandisk, and maybe a defrag when you have time.

Hope that helps somewhat
Adam
 
Upvote 0
Thanks Adam. I have this problem no matter the file. I can copy one Row at a time but not a column. Your formula works great though. Thanks!!
 
Upvote 0
Ed,

also, the only incremental there is the 1,2,3 in your arrayed-IF statement

I have no clue to the internal mechanisms of a computer, but maybe this is what's causing the problem...... there's something adrift in your computer's ability to auto-increment by 1 each time...

try substituting the 1,2,3,4 etc with "row(A1)"

this will ask excel to give you the row number of row1, row2, row3 etc etc ad finitum which may be a different non-crashable function or DLL or something
 
Upvote 0
Should H$56 be $H$56? Do you want all date<=H56?

The following both give the same result; Array enter.

=SUM(IF(($C$60:$C$80=1)*($F$60:$F$80<=$H$56),$E$60:$E$80),0)

=SUM(($C$60:$C$80=1)*($F$60:$F$80<=H56)*($E$60:$E$80))
This message was edited by Dave Patton on 2002-04-10 16:25
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top