• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

Adding a Group Number for every X amout of records

I have an excel spreadsheet with about 30000 records.
There is also a column call "Group Number".
I would like to create a group number for every 150 records.
For example;
rows 1 through 150 would be "1",
rows 151 through 300 would be "2", etc.
0
mnoisette
Asked:
mnoisette
1 Solution
 
Saqib Husain, SyedEngineerCommented:
Enter this formula in a cell in the group number and copy it down.

=int((row()-1)/150)+1

******edited*********
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now