Checking if a row is blank on every worksheet

Vipul1992

New Member
Joined
Jun 20, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I have a excel workbook having 70 worksheets. Now, I want to check if Row 13 on every worksheet is blank or not. If not blank, then I want name of that worksheet. Is there any excel formulae to get that detail without checking every worksheet separately?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
here is my Way:
First you need to grab all the names of sheets.

There is Macro to do so.

[
VBA Code:
CODE]Sub SheetNames()
Columns(1).Insert
For i = 1 To Sheets.Count
Cells(i, 2) = Sheets(i).Name
Next i
End Sub
[/CODE]


Now all the names of Sheets are in column 1 range.
Create Table out of it. Either by CTRL+T with no headers, or this macro:

VBA Code:
'Create Dynamic Table in Excel VBA
Sub VBAF1_Create_Dynamic_Table()
    
    'Variable Declaration
    Dim tableListObj As ListObject
    Dim TblRng As Range
    
    'Sheet Name
    With ActiveSheet
    
            
        'Find Last Row
        lLastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
        
        'Find Last Column
        lLastColumn = 1
        
        'Range to create table
        Set TblRng = .Range("A1", .Cells(lLastRow, lLastColumn))
        
        'Create table in above specified range
        Set tableListObj = .ListObjects.Add(xlSrcRange, TblRng, , xlYes)
        
        'Specifying table name
        tableListObj.Name = "FirstDynamicTable"
        
        'Specify table style
        tableListObj.TableStyle = "TableStyleMedium14"
    End With
    
    'Display message on the screen
   ' MsgBox "Table has created successfully.", vbInformation, "VBAF1"
 
 End Sub

Now that is our Basic formula to start:
Excel Formula:
=--NOT(ISBLANK(Sheet2!13:13))
now we need to make it dynamic:


Excel Formula:
=
SUM(NOT(ISNUMBER(--INDIRECT(T_Names_of_Sheets[@[Sheet Names]]&"!13:13")))+0)

Remember that the 1st column is a table.

Now for the info:
Excel Formula:
=IF(SUM(NOT(ISNUMBER(--INDIRECT(T_Names_of_Sheets[@[Sheet Names]]&"!13:13")))+0);"There is something here";"It Is empty")

and with the hyperlink to the not empty row 13 sheet:

Excel Formula:
=IF(
SUM(
NOT(
ISNUMBER(
--INDIRECT(T_Names_of_Sheets[@[Sheet Names]]&"!13:13")))+0);
HYPERLINK("#"&T_Names_of_Sheets[@[Sheet Names]]&"!A13";"There is something here");
"It Is empty")

ex-285 - WYSZUKAJ.PIONOWO - kilka kryteriów - tablicowa z JEŻELI.xlsx
ABC
1Sheet NamesIs It blank?
2Sheet1It Is empty
3Sheet2There is something here
4Sheet3It Is empty
5
Sheet1
Cell Formulas
RangeFormula
B2,B4B2=IF(SUM(NOT(ISNUMBER(--INDIRECT(T_Names_of_Sheets[@[Sheet Names]]&"!13:13")))+0),"There is something here","It Is empty")
B3B3=IF( SUM( NOT( ISNUMBER( --INDIRECT(T_Names_of_Sheets[@[Sheet Names]]&"!13:13")))+0), HYPERLINK("#"&T_Names_of_Sheets[@[Sheet Names]]&"!A13","There is something here"), "It Is empty")


However I was not able to figure out spilled arrey function.
Sorry about that.

hmmm
if possible can some1 figure out spilled arrey function for b2? I gladly learn.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,624
Messages
6,120,591
Members
448,973
Latest member
ksonnia

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