Share via

Mac Excel issue - one column only returns #REF errors

Anonymous
2023-07-28T09:14:27+00:00

Mac Excel issue - I have a formula which works perfectly on a number of sheets (and has worked perfectly in the test workbook). I must have deleted a column or cell because now i only get #REF in this one column, all other columns work as they should.

The formula is =IF(ROWS(JH$6:JH7)>COUNTA(IJ:IJ),"",INDEX(IJ:IJ,SMALL(IF(IJ$6:IJ$3970<>"",ROW(IJ$6:IJ$3970)),ROWS(JH$6:JH7))))

the results for the surrounding cells are shown here:

All these cells use the same formula, referencing their specific source column: IG, IH, II the error cell II, IJ, IK etc.

If I change the column number for the first cell above from IG to the problem column II the formula works:

Can anybody suggest a solution?

Microsoft 365 and Office | Excel | Other | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2023-07-28T10:01:48+00:00

    Your question isn't particularly clear to me, especially as no column headers are visible in the pictures, but the most likely cause I can see for that error from that formulas is due to #REF errors in column IJ.

    Was this answer helpful?

    0 comments No comments