VBA Auto calculate and combine a list

Lars1

Board Regular
Joined
Feb 3, 2021
Messages
154
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a list of products where i would like to calculate the dublets into one line.

is it possible to do this with a macro / VBA ?

1628686029470.png


ProductDescription#
1702Product 1
200​
1702Product 1
300​
1702Product 1
200​
1702Product 1
400​
1900Product 20
80​
1900Product 20
90​
1900Product 20
60​
1900Product 20
40​
1900Product 20
12​
1900Product 20
18​
1900Product 20
20​
1900Product 20
30​
1984Product 123
125​
1984Product 123
100​
1984Product 123
75​
1984Product 123
200​
1984Product 123
100​
1984Product 123
90​
1984Product 123
110​
1984Product 123
100​
3620Product 1204
10​
3622Product 1205
20​
3630Product 1206
30​
3632Product 1207
40​
3664Product 1208
50​
3710Product 1209
60​
3720Product 1210
70​
3721Product 1211
80​
3722Product 1212
90​
 

Attachments

  • 1628685953280.png
    1628685953280.png
    49.1 KB · Views: 5
@Lars1: I noticed you marked your last post as the solution.

Did you solve your question yourself or still trying to reply to the other experts' questions they asked you regarding your data?
 
Upvote 0

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
@Lars1: I noticed you marked your last post as the solution.

Did you solve your question yourself or still trying to reply to the other experts' questions they asked you regarding your data?
@smozgur i simply find out that i don´t need this function anyway.
 
Upvote 0

Forum statistics

Threads
1,214,780
Messages
6,121,525
Members
449,037
Latest member
tmmotairi

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