count cells in columns on multiple sheets using colum headers

  • Hi,

    Thank you to everyone for any help – greatly appreciated

    I have multiple sheets in a work book with tables laid out as illustrated below

    ACLYACLYACLYACLYACLYACLYNRF2NRF2SIRT1KOSIRT1KO
    A1A2A3A4A5A6
    LEGA6371LEGA6379LEGA6545LEGA6553LEGA7703LEGA7711
    B1B2B3B4B5B6
    LEGA6372LEGA6380LEGA6546LEGA6554LEGA7704LEGA7712
    C1C2C3C4C5
    LEGA6373LEGA6381LEGA6547LEGA7697LEGA7705
    D1D2D3D4D5
    LEGA6374LEGA6382LEGA6548LEGA7698LEGA7706
    E1E2E3E4E5
    LEGA6375LEGA6383LEGA6549LEGA7699LEGA7707
    F1F2F3F4F5
    LEGA6376LEGA6384LEGA6550LEGA7700LEGA7708
    G1G2G3G4G5
    LEGA6377LEGA6385LEGA6551LEGA7701LEGA7709
    H1H2H3H4H5
    LEGA6378LEGA6544LEGA6552LEGA7702LEGA7710



    Most columns have a header as indicated, and there are multiple sheets with similar tables on each one –(with different headers). I want to ignore columns with no header.

    I have collected the header names in a separate sheet. Using the header names collected on the separate sheet (I would like to just define the header search input by defining a range since this will change with every workbook) I would like to


    • Search each sheet identifying all columns with a specific header name
    • Count the number of nonblank cells in each column for each of the header names
    • Store that number in a cell – perhaps next to the header name in the sheet where the headers have been listed or it could be on the sheet that the specific header is found or on a new sheet where all of the header names and number of cells are placed – this number will be used to perform calculations later on


    Again thank you very much in advance

  • Re: count cells in columns on multiple sheets using colum headers


    the format you specifeid is not proper please attach a workbook and specify your requirements highlighted , also you want to use vba or formulas for this.

  • Re: count cells in columns on multiple sheets using colum headers


    I believe vba would be best. please forgive my ignorance, how would i attach a workbook?

  • Re: count cells in columns on multiple sheets using colum headers


    on the bottom right hand side on the quick reply text box ends you will see a go advance button click that you will redirected to a page where all options are available..

  • Re: count cells in columns on multiple sheets using colum headers


    please let me know if there are additional questions or if i can provide any additional info that would be helpful and again thank you to everyone.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!