Row numbers

BORUCH

Well-known Member
Joined
Mar 1, 2016
Messages
548
Office Version
  1. 365
Platform
  1. Windows
I have a sales table which has customer #, customer name, sales $, salesman,etc.

I would like to create a pivot table which has row numbers as the first Column so if I filter the table by salesman the row numbers reorganize themselves

line # customer # sales amt s/m[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]100[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]b[/TD]
[TD]100[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]c[/TD]
[TD]100[/TD]
[TD]joe[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]d[/TD]
[TD]500[/TD]
[TD]david[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]e[/TD]
[TD]500[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]f[/TD]
[TD]500[/TD]
[TD]joe[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 500"]
<tbody>[TR]
[TD]jack[/TD]
[/TR]
</tbody>[/TABLE]
 
I have a sales table which has customer #, customer name, sales $, salesman,etc.

I would like to create a pivot table which has row numbers as the first Column so if I filter the table by salesman the row numbers reorganize themselves

line # customer # sales amt s/m[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]100[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]b[/TD]
[TD]100[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]c[/TD]
[TD]100[/TD]
[TD]joe[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]d[/TD]
[TD]500[/TD]
[TD]david[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]e[/TD]
[TD]500[/TD]
[TD]jack[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]f[/TD]
[TD]500[/TD]
[TD]joe[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 500"]
<tbody>[TR]
[TD]jack[/TD]
[/TR]
</tbody>[/TABLE]


I would appreciate any suggestions it must be possible somehow
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I would appreciate if anybody on the panel can find a solution to my problem.
All I’m looking for is simple line numbers, as the first Column on my pivot table which dynamically updates based on any filter I use

THANKS
 
Upvote 0

Forum statistics

Threads
1,225,678
Messages
6,186,397
Members
453,352
Latest member
OrionF

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
Back
Top