ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula to a Cell Reference (https://www.excelbanter.com/excel-worksheet-functions/9400-formula-cell-reference.html)

gerr

Formula to a Cell Reference
 
I am looking for the Formula or Function to find a cell reference. The range
will vary in A6 to A160 with adding and deleting of TEXT - names. What I
want is to always be able to find the MIDDLE cell within the range of names
at any given time in column A.

Peo Sjoblom

If there is an even number of text entries you obviously can't get a the
middle cell since there is no middle cell, you can get close and if there are
uneven numbers of entries you can get the middle cell

=CELL("address",INDEX(A6:A160,CEILING(COUNTA(A6:A1 60)/2,1)))



Regards,

Peo Sjoblom

"gerr" wrote:

I am looking for the Formula or Function to find a cell reference. The range
will vary in A6 to A160 with adding and deleting of TEXT - names. What I
want is to always be able to find the MIDDLE cell within the range of names
at any given time in column A.



All times are GMT +1. The time now is 09:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com