Autonumber Payments

Robby19

Board Regular
Joined
Mar 19, 2018
Messages
227
Good day,

Tried searching for this, but was unable to come up with anything that solved my problem. I am trying to write a formula to autonumber the payments received from each customer.

[TABLE="width: 500"]
<TBODY>[TR]
[TD]ID
[/TD]
[TD]Payment #
[/TD]
[/TR]
[TR]
[TD]1001
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]1001
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]2001
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]3001
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]1001
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]2001
[/TD]
[TD]2
[/TD]
[/TR]
</TBODY>[/TABLE]

Having trouble coming up with a formula to auto-compute the "Payment #" column.
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

Change/adjust cell reference as needed, formula copied down:


Book1
HI
1IDPayment #
210011
310012
420011
530011
610013
720012
Sheet520
Cell Formulas
RangeFormula
I2=COUNTIF(H$2:H2,H2)
 
Last edited:
Upvote 0
hi robby19,
i think you want this?
enter E2,
1001
2001
3001

please try.
=SUMIF($B$2:$C$7,E2,$C$2:$C$7)

[TABLE="width: 122"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]ID[/TD]
[TD]Payment Rec[/TD]
[/TR]
[TR]
[TD="align: right"]1001[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD="align: right"]2001[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]3001[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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