


In other words, if the first or last name is present, number it.įor example, the last Excel formula won’t work in this case.īut in the first formula or with its avatar, we can add first and last names and use them as below. Here I want to add sequential numbers in column A after skipping blank rows in columns B and C. Sequential Numbers Skipping Blank Rows and Combined Columns Regular Formula # 2: =IF(B2:B20="","",SUBTOTAL(3,OFFSET(B2,0,0,SEQUENCE(ROWS(B2:B20)),1)))īut when using the first formula or its LAMBDA avatar, we can combine columns.īut the above SUBTOTAL-based one won’t allow that because of the OFFSET function. I have one more simple Excel formula that you can use for the said purpose. Note:- It won’t work until you add the corresponding LAMBDA function in your Workbook. Here is the array formula I have used in cell A2, and the LAMBDA version follows. In short, I want to use an array formula to add sequential numbers skipping blank rows (as per column B). We can use either of the following array formulas (in cell A2) to add sequential numbers without skipping blank rows in Excel 365.īut I want the result as per column A in screenshot # 1 above. So when we want to number items in rows, we usually use the ROW or SEQUENCE function in Excel 365.Īssume you have 19 items in column B in the range B2:B20 in an Excel spreadsheet.
#INSERT SEQUENTIAL NUMBERS IN EXCEL SERIAL NUMBERS#
So it won’t automatically add serial numbers in columns similar to IDs in some database applications. Sequential Numbers Skipping Blank Rows and Combined ColumnsĪrray Formulas for Sequential Numbering Skipping Blank Rows in ExcelĮxcel is a spreadsheet application.Array Formulas for Sequential Numbering Skipping Blank Rows in Excel.
