Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I have got 2 columns. Column A has got Identities in it, and column B has got a quantity, I want to expand this so that it results in a column with just the identities in it repeated as many times as the quantity.

Appreciate any help

share|improve this question

Put the formula REPT(A1,B1) in cell C1 and fill down as far as you need.

REPT repeats a piece of text multiple times. For example, REPT("ABC", 3) returns "ABCABCABC".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.