#spill error, but I want to spill anyway

smking204

New Member
Joined
Jan 28, 2021
Messages
29
Office Version
  1. 365
Platform
  1. Windows
column A has expected values, column B has actual values, column C organizes A in a certain way, and column D uses a repeated formula to organize B in relation to C. Here is the essence of the formula in D:

if(c3<> "", useMatchFormula, if(and(c3= "", c2<> ""), "", if(and(c3= "", c2= "", c1<> ""), useUniqueFormula, "")))

this formula runs for 500 cells, allowing the list to populate correctly irrespective of the lengths of A, B, or C. The only problem, of course, is that once the unique formula triggers, it's trying to spill into cells that have a formula in them. The obstructing formulas are set to "", but I still get the #spill error.

Is there a way to tell the formula to spill anyway, overriding the existing formulas? I'm not sure of any suitable workaround. Any help is appreciated, thanks in advance!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Is there a way to tell the formula to spill anyway, overriding the existing formulas?
Nope, anything in the way of a spill range will stop it from spilling.
 
Upvote 0
You need to put the dynamic array formula someplace where there will not be anything impeding its ability to spill.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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