XLSM opening onto particular cell - why?

MadCallidus

New Member
Joined
Jan 11, 2017
Messages
8
Hi all,

I have a largeish timesheet XLSM which contains a tab for each month of the year. Each month contains project numbers against employees. there is also some project data on the tab.

Every time I open the workbook it defaults to select a particular cell in October's tab. This cell contains an array formula as follows:
=IF(COUNTIF(DATA!$A$12:$A$224,$A$1)<14,"",INDEX(DATA!$G$12:$G$224,SMALL(IF(DATA!$A$12:$A$224=$A$1,ROW(DATA!$A$12:$A$224)-ROW(DATA!$A$12)+1,""),14)))
This is the same formula and cell format as in every other month and for several cells above and below.

As well as automatically selecting this cell on opening the file, the cell loses the squiggly brackets meaning I have to CTRL/SHILFT/ENTER each time to show the result I want.

Any ideas what is happening here?

Thanks,

Andy
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Is there any code in the Workbook_Open event in the ThisWorkbook module of the workbook?
 
Upvote 0
Is there an Auto_Open routine in a normal module in the workbook?

Does the same problem manifest if you have the workbook unshared?
 
Upvote 0
Aha!

OK, I see where the issue is here - that cell must've been selected in another open version.

However, the reason it was selected is because I had to reenter that bloody array formula... Any thoughts on that? Just one cell - always the same cell - out of 120 similar cells. I've copy and pasted the formula and the format and that doesn't seem to help.
 
Upvote 0
To be entirely honest, any time someone says "I have a weird problem with a shared workbook" my answer is always the same: don't use Shared Workbooks. They are renowned for this.
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,662
Latest member
Aman1997

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