Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2011, 12:41 AM
ilkks ilkks is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Novice
Automatic numbering
 
Join Date: May 2011
Posts: 23
ilkks is on a distinguished road
Default Automatic numbering


In Word there is AutoNum-field that inserts an automatic number: 1. 2. 3. 4. 5. etc whereever the field is located. I was trying to find this feature in Excel but I coulnd't.

So, do I have to make automatic numbering with formulas? I can be very complicated because the numbers are at random places all over the document.
Reply With Quote
  #2  
Old 05-10-2011, 01:12 AM
macropod's Avatar
macropod macropod is offline Automatic numbering Windows 7 32bit Automatic numbering Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi ilkks,

Excel doen't provide that kind of facility. If you provide some more detail on what you're trying to achieve, maybe something could be worked out.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-11-2011, 12:46 PM
OTPM OTPM is offline Automatic numbering Windows 7 32bit Automatic numbering Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi Ilkks
See the link below this may give you what you want.
Tony
http://www.techrepublic.com/blog/mso...preadsheet/293
Reply With Quote
  #4  
Old 05-11-2011, 11:00 PM
ilkks ilkks is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Novice
Automatic numbering
 
Join Date: May 2011
Posts: 23
ilkks is on a distinguished road
Default

Hi Tony, it is something like that that I am looking for. But in my case it is a a bit more complicated.

In A1, I have the numbering. In B1, product name. Product has 1-5 features that are listed in rows C1-C5. So the next automated number can be in cells A2, A3, A4, A5 or A6, depending on how many features/rows the previous product has.

So the code would be something like this:

IF(There is text in B#,Insert number [1,2,3,4,...] in A#,blank cell)

I have trouble to make this formula working.
Reply With Quote
  #5  
Old 05-12-2011, 05:19 AM
OTPM OTPM is offline Automatic numbering Windows 7 32bit Automatic numbering Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi ILKKS
Are you able to post a sample spreadsheet to help us understand better what you need?
Tony
Reply With Quote
  #6  
Old 05-12-2011, 11:13 PM
ilkks ilkks is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Novice
Automatic numbering
 
Join Date: May 2011
Posts: 23
ilkks is on a distinguished road
Default

Example Excel-sheet attached.

There should be ascending numbering at column E. How to make blank cell instead of space " "?

And 'Total price' should sum up every cell next to text "Price", but that formula is also failing.
Attached Files
File Type: xlsx ExcelSheet.xlsx (10.7 KB, 24 views)
Reply With Quote
  #7  
Old 05-13-2011, 12:47 AM
OTPM OTPM is offline Automatic numbering Windows 7 32bit Automatic numbering Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Quote:
Originally Posted by ilkks View Post
Example Excel-sheet attached.

There should be ascending numbering at column E. How to make blank cell instead of space " "?

And 'Total price' should sum up every cell next to text "Price", but that formula is also failing.
Hi Ilkks
I am not sure if this is what you want but I have modified the formulae slightly. What will happen now is if you insert extra rows against each product the numbering will still run ascending.
If this is not what you want please provide more info and I will see what I can do.
Tony
Attached Files
File Type: xlsx Copy of ExcelSheet(1).xlsx (10.7 KB, 17 views)
Reply With Quote
  #8  
Old 05-13-2011, 02:20 AM
ilkks ilkks is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Novice
Automatic numbering
 
Join Date: May 2011
Posts: 23
ilkks is on a distinguished road
Default

That formula works if the rows between products stays the same. But the amount of rows varies. I am looking for a formula that is in cells E10...E999, so when new product is inserted it automaticly increase the position number by one.
Reply With Quote
  #9  
Old 05-19-2011, 10:59 AM
Catalin.B Catalin.B is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

A solution can be this: in cell E6 enter this formula for the start
=IF(D6=0;"";1)
and in next row, same column:(E7)

=IF(D7=0;"";COUNTIF(E$6:E6;">0")+1)
You can copy this cell to your range (only formula without format) and it will work
you will find this solution in the modified file

Now stop surfing the net and start working :)
Your country needs you
Attached Files
File Type: xlsx Copy of ExcelSheet(1).xlsx (23.6 KB, 26 views)
Reply With Quote
  #10  
Old 05-19-2011, 10:23 PM
ilkks ilkks is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Novice
Automatic numbering
 
Join Date: May 2011
Posts: 23
ilkks is on a distinguished road
Default

Thank you Catalin! This works perfectly!
Reply With Quote
  #11  
Old 05-20-2011, 09:42 AM
Catalin.B Catalin.B is offline Automatic numbering Windows Vista Automatic numbering Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

Glad to help
Ilkks, that was simple, we expect you to do greater things... Almost any work can be simplified with the right approach...
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Formatting for whole row Bacchanal Promotions Excel 2 03-19-2011 05:12 AM
Automatic numbering Automatic Chapter Numbering arainyplace Word 1 08-11-2010 07:39 AM
automatic requirement numbering with change detection stijnos Word 0 05-13-2009 12:10 AM
Automatic bcc nickynono Outlook 0 06-13-2006 02:30 PM
Automatic numbering Automatic email pop up anitadzebic Outlook 4 03-09-2006 08:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft