I would like to be able to go from a column like this:
apple
banana
cherry
diaper
and the next column to have:
apple
apple
banana
banana
cherry
cherry
diaper
diaper
Sounds simple, but I'm stumped. Help! Thanks!
I would like to be able to go from a column like this:
apple
banana
cherry
diaper
and the next column to have:
apple
apple
banana
banana
cherry
cherry
diaper
diaper
Sounds simple, but I'm stumped. Help! Thanks!
Hi ice1980,
Copy A1:A4.
Paste in B1,
Paste again in B5,
Sort B.
Cheers,
Would you like to say thanks? Please click the: "Add Reputation" button, on the grey bar below the post.
If as you say A1:A4 hold
apple
banana
cherry
diaper
Then
B1: =INDEX(A:A,CEILING((ROWS(B$1:B1)-1)/2,1))
copied down as far as required
If you wanted apple three times change the divisor from 2 to 3 etc...
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks