formula to generate reordring or resorting from given word

newbexcell

New Member
Joined
Mar 17, 2019
Messages
12
hello
need formula to generate reordring or resorting from given word
example i have this 3 word or lets say more
a1=cat b1=dog c1=bee
now i need formula to reorder them on max possible combination to be generated in bellow rows
and formula work with more words and mean generate max combination
cat bee dog

dog cat bee

dog bee cat

bee dog cat

bee cat dog

thanks
 
Re: formula to generate reordring or resorting from givin word

ok i get it a little more
i reach to this give me error


also i assume in other cell it should look like this.right?
[TABLE="width: 216"]
<colgroup><col span="3"></colgroup><tbody>[TR]
[TD="colspan: 3, align: left"].=VLOOKUP(F1,mytable,2)[/TD]
[/TR]
[TR]
[TD="colspan: 3, align: left"].=VLOOKUP(F2,mytable,2)[/TD]
[/TR]
[TR]
[TD="colspan: 3, align: left"].=VLOOKUP(F3,mytable,2)
[/TD]
[/TR]
[TR]
[TD="colspan: 3, align: left"].=VLOOKUP(F4,mytable,2)[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Re: formula to generate reordring or resorting from givin word

lookups are correct, instead of concatenate use =f1&" - "&f2&" - "&f3&" - "&f4

I should have explained that more clearly, sorry
 
Upvote 0
Re: formula to generate reordring or resorting from givin word

dont be sorry thanks for helping
here results
Code:
http://ipic.su/img/img7/fs/11.1553012423.png
it generate number not from word
:???:


1 bear
2 dog
3 cat
4 snake
 
Upvote 0
Re: formula to generate reordring or resorting from givin word

there is no dot in front of =vlookup otherwise I do not know why you are unable to replicate my worksheet and macro
 
Upvote 0
Re: formula to generate reordring or resorting from givin word

have you defined mytable ?

this is what i added
12.1553118939.png
 
Upvote 0

Forum statistics

Threads
1,223,610
Messages
6,173,339
Members
452,510
Latest member
RCan29

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top