Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.