excel
Main Topics
Browse All TopicsI am printing a NCR form, the paper i was given came precollated . What i am trying to do is print a form 4 up on pdf will giving each section its own invoice number.
Each form would print 3 times in a row then each form would increase its invoice number by one. After they would be cut and glued
1-1000 1001-2000
2001-3000 3001-4000
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well, if the starting points are never going to change, then you could base it on the current row number. For example, if you want 1001 to begin on row 51 and 2001 to begin on row 65, then these formulae would work:
=CEILING((ROW() -50)/3, 1) + 1000
=CEILING((ROW() -64)/3, 1) + 2000
If your row numbers might be changing, then those won't really do it for you.
And just in case your rows do change (since they almost always do), I came up with a possible fix. I'm sure someone can come up with a more eloquent solution, but I've confirmed that this works.
First, you need to define a name (in Excel 2003, it's Insert, Name, Define). I named my first cell as BEGIN1001. I then named another cell as BEGIN2001. You could do this as often as you need.
I then pasted this formula for all the 1000s:
=CEILING((ROW() - ROW(BEGIN1001) + 1)/3, 1) + 1000
And for the 2000s:
=CEILING((ROW() - ROW(BEGIN2001) + 1)/3, 1) + 2000
They retain their values even if I add and delete rows.
I went ahead and attached my experiment. I haven't been able to break it yet.
Business Accounts
Answer for Membership
by: GrahamSkanPosted on 2009-10-31 at 15:40:36ID: 25711885
In which application are you working?