Adding information to a column

BarbaraDH

New Member
Joined
Jan 29, 2004
Messages
3
I have 4 columns of information. At the row above column A is an identifying Name for that section of the spreadsheet. After every 100 or so rows there is a new identifying Name in column A. I want to insert that identifying number in a new column to the right of column A and have the number change everytime a new identifying Name appears in column A, so that I can sort by the part number
Example:

Salesclerk 1 = Identifying Number
Column A has part numbers for items sold
Column B is where I want to put Salesclerk 1 in each row until Salesclerk 2's sales start
Column C has the number of sales made of the part number that is listed in Column A.

Salesclerk 1
pn23456 32
pn49857 35
pn67899 46

Salesclerk 2
pn23456 37
pn49857 32
pn67899 41
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
Hi Barbara:

You Are Welcome -- and let us know if you need to simplify the formula or if you need to discuss any thing further on this!
 
Upvote 0

Forum statistics

Threads
1,187,188
Messages
5,962,102
Members
438,584
Latest member
MASV

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top