ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Empty rows count (https://www.excelbanter.com/excel-worksheet-functions/198905-empty-rows-count.html)

Paul

Empty rows count
 
Colum A contains the name of the product:

Apples

Oranges

Nuts

Blubbery



Column B contains the codes used incremented by 1, used today

7225

7226

7227

7228



Next day oranges are still in the table but not used, and I need "Nuts" to
show 7226:

Apples 7225

Oranges

Nuts 7226

Blubbery 7227



7225 is a reference number manually entered.



Thanks,

Paul



Teethless mama

Empty rows count
 
Assume B1: = 7225

In B2: =MAX($B$1:B1)+1

Copy down


"Paul" wrote:

Colum A contains the name of the product:

Apples

Oranges

Nuts

Blubbery



Column B contains the codes used incremented by 1, used today

7225

7226

7227

7228



Next day oranges are still in the table but not used, and I need "Nuts" to
show 7226:

Apples 7225

Oranges

Nuts 7226

Blubbery 7227



7225 is a reference number manually entered.



Thanks,

Paul




T. Valko

Empty rows count
 
That won't exclude oranges.

Next day oranges are still in the table but not used


--
Biff
Microsoft Excel MVP


"Teethless mama" wrote in message
...
Assume B1: = 7225

In B2: =MAX($B$1:B1)+1

Copy down


"Paul" wrote:

Colum A contains the name of the product:

Apples

Oranges

Nuts

Blubbery



Column B contains the codes used incremented by 1, used today

7225

7226

7227

7228



Next day oranges are still in the table but not used, and I need "Nuts"
to
show 7226:

Apples 7225

Oranges

Nuts 7226

Blubbery 7227



7225 is a reference number manually entered.



Thanks,

Paul






Paul

Empty rows count
 
Thanks a lot!

"Teethless mama" wrote in message
...
Assume B1: = 7225

In B2: =MAX($B$1:B1)+1

Copy down


"Paul" wrote:

Colum A contains the name of the product:

Apples

Oranges

Nuts

Blubbery



Column B contains the codes used incremented by 1, used today

7225

7226

7227

7228



Next day oranges are still in the table but not used, and I need "Nuts"
to
show 7226:

Apples 7225

Oranges

Nuts 7226

Blubbery 7227



7225 is a reference number manually entered.



Thanks,

Paul






Teethless mama

Empty rows count
 
You're Welcome!

"Paul" wrote:

Thanks a lot!

"Teethless mama" wrote in message
...
Assume B1: = 7225

In B2: =MAX($B$1:B1)+1

Copy down


"Paul" wrote:

Colum A contains the name of the product:

Apples

Oranges

Nuts

Blubbery



Column B contains the codes used incremented by 1, used today

7225

7226

7227

7228



Next day oranges are still in the table but not used, and I need "Nuts"
to
show 7226:

Apples 7225

Oranges

Nuts 7226

Blubbery 7227



7225 is a reference number manually entered.



Thanks,

Paul








All times are GMT +1. The time now is 03:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com