Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88075

Create exhaustive list from concatenated category values and category value counts

$
0
0

Given an example table below:

Category Value  Category Value Count
A               4
B               2
C               0
D               3
E               1

I need to create a list of concatenated text with the Category Value column and Category Value Count columns as shown below. Note the Category Value is repeated by the times based on the Category Value Count starting from 1 to MAX(Category Value Count). Category Value cells with Category Values Count equal to 0 should not be included in the list.

Result
A1
A2
A3
A4
B1
B2
D1
D2
D3
E1

Viewing all articles
Browse latest Browse all 88075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>