Rearrange data.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,402
Office Version
  1. 2007
Platform
  1. Windows
I'm looking for a formula that will rearrange the row from EM6:ER6 in this order, the 21511 first 11521 second, 12511 third and 11611 last.
Like the chart in ET6:EY6 and down.
Thank you.
Serge
Capture 22.PNG
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
How about:

Book1
EMENEOEPEQERESETEUEVEWEXEY
121511115211251111611
2
3
4
5
6116112151111611125111161111521215111152112511116111161111611
7116111152111521116111161112511115211152112511116111161111611
8116111251112511125111161111611125111251112511116111161111611
9116111152112511115211251112511115211152112511125111251111611
sheet
Cell Formulas
RangeFormula
ET6:EY9ET6=IF(COUNTIF($EM6:$ER6,$ET$1)-COUNTIF($ES6:ES6,$ET$1)>0,$ET$1, IF(COUNTIF($EM6:$ER6,$EU$1)-COUNTIF($ES6:ES6,$EU$1)>0,$EU$1, IF(COUNTIF($EM6:$ER6,$EV$1)-COUNTIF($ES6:ES6,$EV$1)>0,$EV$1, IF(COUNTIF($EM6:$ER6,$EW$1)-COUNTIF($ES6:ES6,$EW$1)>0,$EW$1))))
 
Upvote 0
Very nice, it works perfect, Thank you very much DanteAmor, really appreciate it.
Serge.
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,165
Members
448,870
Latest member
max_pedreira

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