Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default auto renumbering rows with blank spaces

I am so stumped on this one simple function! I am compiling an inventory list
of key rings we loaned to employees. Since there are different departments
with a varying amount of employees each, I skip a line between departments .

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the ROW()
function to maintain the proper numbering sequence. I am sure that there is a
function that allows for automatic renumbering, or automatic updating for the
column whenever a row is deleted, added, etc. I just don't remember where to
go to turn that on. Help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default auto renumbering rows with blank spaces

Try this...

Numbering will appear in column A based on entries in column B.

Enter this formula in A1 and copy down as needed:

=IF(B1="","",COUNTA(B$1:B1))

--
Biff
Microsoft Excel MVP


"edithprado" wrote in message
...
I am so stumped on this one simple function! I am compiling an inventory
list
of key rings we loaned to employees. Since there are different departments
with a varying amount of employees each, I skip a line between departments
.

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the
ROW()
function to maintain the proper numbering sequence. I am sure that there
is a
function that allows for automatic renumbering, or automatic updating for
the
column whenever a row is deleted, added, etc. I just don't remember where
to
go to turn that on. Help!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default auto renumbering rows with blank spaces

Put in A2 the following formula and copy down worksheet. Yo ucan't put it in
row 1 because you can't reference row 0

=COUNTA(A$1:A1)+1

"edithprado" wrote:

I am so stumped on this one simple function! I am compiling an inventory list
of key rings we loaned to employees. Since there are different departments
with a varying amount of employees each, I skip a line between departments .

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the ROW()
function to maintain the proper numbering sequence. I am sure that there is a
function that allows for automatic renumbering, or automatic updating for the
column whenever a row is deleted, added, etc. I just don't remember where to
go to turn that on. Help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default auto renumbering rows with blank spaces

Hm, that doesn't really help. Maybe I should've better stated what I was
saying. I want the rows to automatically renumber when I delete/add a row and
that formula does not do so. Also, I meant that I skip 2 lines before the
numbering continues, one is a blank space and one does not "count" since it
is a row that lists the name of the department. Thank you for your help
though!

"T. Valko" wrote:

Try this...

Numbering will appear in column A based on entries in column B.

Enter this formula in A1 and copy down as needed:

=IF(B1="","",COUNTA(B$1:B1))

--
Biff
Microsoft Excel MVP


"edithprado" wrote in message
...
I am so stumped on this one simple function! I am compiling an inventory
list
of key rings we loaned to employees. Since there are different departments
with a varying amount of employees each, I skip a line between departments
.

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the
ROW()
function to maintain the proper numbering sequence. I am sure that there
is a
function that allows for automatic renumbering, or automatic updating for
the
column whenever a row is deleted, added, etc. I just don't remember where
to
go to turn that on. Help!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default auto renumbering rows with blank spaces

Hmmm...

I'm pretty sure what I suggested will do what you want.

If you delete a row the numbers will reorder. If you "add" rows by inserting
them *within* the current range then you'll need an event macro to do this.
I'm probably not the person to suggest how to do that, though!

--
Biff
Microsoft Excel MVP


"edithprado" wrote in message
...
Hm, that doesn't really help. Maybe I should've better stated what I was
saying. I want the rows to automatically renumber when I delete/add a row
and
that formula does not do so. Also, I meant that I skip 2 lines before the
numbering continues, one is a blank space and one does not "count" since
it
is a row that lists the name of the department. Thank you for your help
though!

"T. Valko" wrote:

Try this...

Numbering will appear in column A based on entries in column B.

Enter this formula in A1 and copy down as needed:

=IF(B1="","",COUNTA(B$1:B1))

--
Biff
Microsoft Excel MVP


"edithprado" wrote in message
...
I am so stumped on this one simple function! I am compiling an inventory
list
of key rings we loaned to employees. Since there are different
departments
with a varying amount of employees each, I skip a line between
departments
.

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the
ROW()
function to maintain the proper numbering sequence. I am sure that
there
is a
function that allows for automatic renumbering, or automatic updating
for
the
column whenever a row is deleted, added, etc. I just don't remember
where
to
go to turn that on. Help!








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default auto renumbering rows with blank spaces

None of these seem to work, I'll just keep doing what I was doing. Thanks
all, I appreciate it!

"Joel" wrote:

Put in A2 the following formula and copy down worksheet. Yo ucan't put it in
row 1 because you can't reference row 0

=COUNTA(A$1:A1)+1

"edithprado" wrote:

I am so stumped on this one simple function! I am compiling an inventory list
of key rings we loaned to employees. Since there are different departments
with a varying amount of employees each, I skip a line between departments .

The problem: there are 700+ employees so far and since I skip a line,
renumbering if off, so I have to highlight each department and use the ROW()
function to maintain the proper numbering sequence. I am sure that there is a
function that allows for automatic renumbering, or automatic updating for the
column whenever a row is deleted, added, etc. I just don't remember where to
go to turn that on. Help!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto hide blank rows S A Jameel Excel Discussion (Misc queries) 1 July 12th 09 03:36 PM
Auto Hide Blank Rows Gord Dibben Excel Discussion (Misc queries) 0 February 25th 09 08:52 PM
auto hiding blank rows Jase Excel Discussion (Misc queries) 0 October 8th 08 02:50 PM
renumbering rows Zack Excel Discussion (Misc queries) 4 August 25th 08 08:03 PM
renumbering of rows pboost1 Excel Discussion (Misc queries) 2 October 3rd 05 08:11 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"