Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

How do I number columns based on adjacent cells?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johnjesmer - 18 Oct 2006 02:08 GMT
Hello,

Subj: Filling-in data based on adjacent cells.

I am using Microsoft Excel 2000. Here's my (autofill?) question...
I have data in some rows, others are vacant; e.g.,
          Col 1       Col 2        Col 3
         
1        line two    line two    line two
2        line three line three line three
         empty
3        line five   line five     line five
         empty

My first question I suppose should be just how to number the lines within a
range.  Anyhoo, as you see, my question is not to number every line within a
range* but rather to number only those lines that
have data in the next column.

Thank you, -John
johnjesmer@yahoo.com

*I am aware "Edit, Fill, Series" will number every line.
This is not what I am looking for.  Can you help please?
Biff - 18 Oct 2006 02:36 GMT
Assume your data starts in B2.

Enter this formula in A2 and copy down as needed:

=IF(B2="","",COUNTA(B$2:B2))

Biff

> Hello,
>
[quoted text clipped - 22 lines]
> *I am aware "Edit, Fill, Series" will number every line.
> This is not what I am looking for.  Can you help please?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.