Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Adding Data Automatically

I am importing data automatically into a spreadsheet from a database
and I need to give serial numbers to each row of data. So for example
I am importing in a bunch of product data such as product number
description etc. from a database. I want to know how to automatically
add a sequential serial number into another column for the number of
rows imported in. So the final resut woult look something like this


Product Number Description Serial number
3849284 Waffle Iron 10000
8489298 Skillet 10001

So on and so forth with the serial number column increasing for each
row of data imported.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 695
Default Adding Data Automatically

=IF(A1<"",--TEXT(ROW(1:1)+9999,"######"),"")


"BlackJackal" skrev:

I am importing data automatically into a spreadsheet from a database
and I need to give serial numbers to each row of data. So for example
I am importing in a bunch of product data such as product number
description etc. from a database. I want to know how to automatically
add a sequential serial number into another column for the number of
rows imported in. So the final resut woult look something like this


Product Number Description Serial number
3849284 Waffle Iron 10000
8489298 Skillet 10001

So on and so forth with the serial number column increasing for each
row of data imported.


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
New Data, automatically adding new row badtzuman New Users to Excel 0 December 14th 10 05:38 PM
Summarize Data and automatically update including adding rows Dawnaha Excel Discussion (Misc queries) 4 October 18th 06 10:01 PM
adding data series automatically mbk6784 Charts and Charting in Excel 0 June 9th 06 04:56 AM
How do I automatically update a graph after adding a data point Beertje Charts and Charting in Excel 2 October 10th 05 11:32 AM
Automatically Adding Data to Charts lhollen1 Charts and Charting in Excel 1 June 9th 05 05:43 PM


All times are GMT +1. The time now is 08:23 AM.

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"