Forum Discussion
Formula for excel
- Sep 06, 2023
Did you enter the formula in cell A2? If you expect the formula to return results from cell A2 to cell A14 (as shown in the screenshot of my last reply) then select range A3:A14 and delete all data from these cells.
Here is additional information on how to correct a #SPILL error.
=BYROW(C2:C14,LAMBDA(x,IF(SMALL(IFNA(DROP(SORT(FILTER(O2:O14,C2:C14=x)),1)-SORT(FILTER(O2:O14,C2:C14=x)),0),2)<=28,"Yes","No")))
Does this return the intended result? I've added sample data where 2 dates in column O are within 28 days for a group of IDs.
- jaolveraSep 06, 2023Brass ContributorI get a spill error, when I evaluate the formula it shows the lambda portion is causing it?
- OliverScheurichSep 06, 2023Gold Contributor
Did you enter the formula in cell A2? If you expect the formula to return results from cell A2 to cell A14 (as shown in the screenshot of my last reply) then select range A3:A14 and delete all data from these cells.
Here is additional information on how to correct a #SPILL error.
- jaolveraSep 06, 2023Brass Contributorthat worked ! thank you so much for the help! really appreciate it