Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .