Forum Discussion

KennyK360's avatar
KennyK360
Copper Contributor
Jul 17, 2023

Searching multiple worksheets for different numbers simultaneously in Excel

Is it possible to search multiple worksheets for different numbers simultaneously in Excel?  Using CTL-F isn't working for me. 

 

For example, can I search 10 different worksheets all at once for the numbers 137, 142, and 154 simultaneously in Excel?

 

Thanks for any advice you can offer!

20 Replies

  • Please read this guide carefully -
    [code]https://www.extendoffice.com/documents/excel/3354-excel-search-multiple-sheets-workbooks.html[/code]
  • tanayprasad's avatar
    tanayprasad
    Copper Contributor

    KennyK360 

     

    Hi, 

    As suggested by Detlef_Lewin , After pressing Ctrl + F, you can Go to "Options" and change the scope to "Within Workbook".

     

    That will run your search across the whole workbook which includes your 10 worksheets.

     

    Best Regards.

      • KennyK360's avatar
        KennyK360
        Copper Contributor
        Good catch Sergei...I have used "Within Workbook" but need simultaneous search for multiple numbers...any suggestions?
  • peiyezhu's avatar
    peiyezhu
    Bronze Contributor
    My suggestion is to consolidate all sheets to one table and the search by sql.
      • SergeiBaklan's avatar
        SergeiBaklan
        MVP

        KennyK360 

        If output is entire row in the range for which criteria is met, as variant that could be like

        =LET(
            criteria, {137;142;154},
            k, SEQUENCE(, ROWS(criteria), , 0),
            combine, VSTACK(Sheet1:Sheet3!$A$1:$Z$1500),
        FILTER(
            combine,
            BYROW(
                combine,
                LAMBDA(v,
                    SUM( MMULT( k, --(v = criteria) ) )
                )
            )
        ))

        assuming you are on 365

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Silver Contributor

    KennyK360 

    Using CTRL+F:

    Goto the "Options" and change the scope to "Within Workbook".

     

    Notes:

    The search is always in the complete workbook.

    The settings will remain until changed.

    You can only search for one number at the time.

     

Resources