Forum Discussion

SkyTrader's avatar
SkyTrader
Copper Contributor
Apr 05, 2021
Solved

Stop First Row Being Numbered in Excel

Only Excel can make you spend an hour on Google trying to find the answer and figure out what should be the most ridiculously simple thing to do:

 

Stop the First Row Being Numbered.

Seriously where is the simple check/uncheck option to do this?

Thanks.

  • JMB17's avatar
    JMB17
    Apr 07, 2021

    SkyTrader 

    Based on my experience and everything I've ever read, there is no way to change excel's row/column labels via excel's menu or vba, which is what it appears you are asking.

     

    You can hide or unhide the row/column labels, and while you might be able to use a formula to visually replicate row/column label(s), either the custom row or column label won't agree to the actual cell references in your existing formulas, which comes back to Peter's comment regarding it would work better in a structured named environment.

     

    You could do this (replicating excel's column letters), for example, but your data table row 1 will actually be Excel's row 3 (still mismatched, but it wouldn't be as obvious).

     

     

    Seriously, I don't see any available options that I think you will like based on what you've said thus far.

  • transon's avatar
    transon
    Copper Contributor

    I have tripped into this one more time and found that after years have passed, Microsoft is still intractable. Since the numbers are visible, it is ridiculous not to be able to control where they begin. A header row function would be "outside the spreadsheet matrix" and be easily seen as such by anyone who can see where one is on the, again: VISIBLE DEFAULT NUMBERING. Another solution would be to begin columns with zero instead of 1. This makes the most sense to me, but either of these solutions require Microsoft to finally give up on not addressing this. The only solution available to the users I see is to use the page header function and put your column heads there, then use the layout that makes it visible. This forces you to waste time configuring the header, that could have easily been a checkbox. We are doomed to have the left side of the interface disagrees with our numbering if we simply put headers on row one, it is the curse of Excel. 

  • Lowellhawk's avatar
    Lowellhawk
    Copper Contributor

    SkyTrader

    There still is no way to stop the first row from being numbered, however if you want you could put the header and the first row of data both in row 1.

    This is pretty unconventional and doesn’t even look much better but it still works completely fine.

    To start, make an entirely new sheet where the properly listed data will be. In cell A1 enter the formula:

    ="[Insert Header for A1]"&CHAR(10)&
    INDEX([Insert the original sheet name here]!A2)

    So that the data from A2 on your original sheet is automatically combined with the header on A1. You will have to redo this for every column on your header row (so for example the next formula would be):

    ="[Insert Header for A2]"&CHAR(10)&
    INDEX([Insert the original sheet name here]!B2)

     

    Then for rows 2 and on just insert your data from rows 3 and on from your original sheet using the index function.

     

    You should still be able to sort and filter data normally on your original data sheet, but also have another sheet to view your sorted list with correct numbering.

     

    Its not a perfect solution; the new sheet will be a bit wonky and won’t be functional, but I think it’s still the best fix for this.

     

    Let me know if it works for you or if you have any trouble with the formulas

     

    Hope it helps,

     

    Lowellhawk

  • SkyTrader's avatar
    SkyTrader
    Copper Contributor
    Seriously, can anyone tell me how to do this or not??

    Thanks.
    • JMB17's avatar
      JMB17
      Bronze Contributor

      SkyTrader 

      Based on my experience and everything I've ever read, there is no way to change excel's row/column labels via excel's menu or vba, which is what it appears you are asking.

       

      You can hide or unhide the row/column labels, and while you might be able to use a formula to visually replicate row/column label(s), either the custom row or column label won't agree to the actual cell references in your existing formulas, which comes back to Peter's comment regarding it would work better in a structured named environment.

       

      You could do this (replicating excel's column letters), for example, but your data table row 1 will actually be Excel's row 3 (still mismatched, but it wouldn't be as obvious).

       

       

      Seriously, I don't see any available options that I think you will like based on what you've said thus far.

      • SkyTrader's avatar
        SkyTrader
        Copper Contributor
        Thanks for the quick response JMB17.
        Seems like Excel could easily add such a feature and it surprises me it's not available based on the large number of queries on google.

        Thanks to everyone else for your input.
    • PeterBartholomew1's avatar
      PeterBartholomew1
      Silver Contributor

      SkyTrader 

      Riny_van_Eekelen showed you how to switch of the built-in display of row and column headings.  You can then use worksheet cells to build index arrays to match your actual data by formula.

      If you insist on using the built-in heading, but wish to show custom values, then the answer is "Seriously, no one can tell you how to do this" because it probably implies rewriting Excel to allow zero and negative row numbers.

  • SkyTrader 

    If your reference style is based on Table names and dynamic ranges then it is perfectly possible to hide the 'town plan' style of sheet coordinates and create more meaningful array indices linked to data objects rather than the sheet.

     

    • Wesley_Horton's avatar
      Wesley_Horton
      Copper Contributor

      PeterBartholomew1 

       

      The problem is that in my 2023 version of excel (in the Office suite), I do not have that option.  See Attached:

       

      Clearly, there is no option.  All I wish to do is have label bars without numberation.  Any ideas?

    • SkyTrader's avatar
      SkyTrader
      Copper Contributor

      PeterBartholomew1 
      Hi Peter, thanks for the image, this is exactly what I want. A header with no zero and the rows starting with 1,2, 3 etc which will match my VIX levels of 1,2, and 3 etc. At the moment the VIX is "out of sync" with the Row numbers. Pls see image. 

      • PeterBartholomew1's avatar
        PeterBartholomew1
        Silver Contributor

        SkyTrader 

        I used the Excel 365 SEQUENCE function to generate fake row and column headers that matched the dimensions of the data ranges on the sheet (the sheet-based values being hidden as discussed subsequently).  You already have the 'VIX Reading's for that.  Formatting and sheet splits can be applied to taste.

         

        Hiding the grid and sheet headings only makes sense if you adopt a referencing style that is entirely based on Names and Structured References.

  • SkyTrader 

    Do you mean the row numbers on the left hand side?

    If so, there is no way to make them start on the second row.

    If you meant something else, please explain.

Resources