ARRANGE COLUMN AND COPY ON THE OTHER COLUMN

  • Thread starter Thread starter GEOFF
  • Start date Start date
G

GEOFF

I haven't seen anything in the forum that could answer my problem regarding the excel file I'm starting. I WANT TO ARRANGE COLUMN A IN A WAY THAT WHEN THE WORD "CHECK" IS ENCOUNTERED, THAT DESCRIPTION AND THE WEIGHT WILL ARRANGE ITSELF AND POSITION ITSELF AT THE END OF THE GROUP
WITH SAME NAME BEFORE THE "CHECK".
ALL THE CELLS IN ARRANGED WAY IS REFLECTED IN COLUMN C & E.
EACH DESCRIPTION HAS UNIQUE WEIGHT.
THE DESCRIPTION & WEIGHT IS CHANGED EVERY NOW & THEN.

A B C E
EFFECT - ARRANGED
Description Weight Description Weight

GO1 0.5 GO1 0.5
GO2 0.4 GO2 0.4
MO1 0.7 GO1 CHECK 0.7
MO2 0.9 MO1 0.7
FO1 0.8 MO2 0.9
FO2 0.9 FO1 0.8
TO1 0.6 FO2 0.9
TO2 0.8 FO1 CHECK 0.7
GO1 CHECK 0.7
FO1 CHECK 0.7

I HOPE SOMEONE CAN HELP ME...

EggHeadCafe - Software Developer Portal of Choice
WPF And The Model View View Model Pattern
http://www.eggheadcafe.com/tutorial...b-7374d3da3425/wpf-and-the-model-view-vi.aspx
 
Enter formula
=LEFT(A2)&IF(ISNUMBER(SEARCH("CHECK",A2)),1,0)
in an empty helper column and sort table by this helper column, if you don't
mind that F preceeds G!

Regards,
Stefi


„GEOFF†ezt írta:
 
Another way with a helper column.

Type the formula in C2 =Len(a2) and copy down. I gave the Column the Header
RANK. Sort on then Description to get best sort. Repeat for other list.

HTH
Peter
 
If you must insist on G,M,F,T order then use this formula in the helper column
=LOOKUP(LEFT(A2),{"F","G","M","T"},{3,1,2,4})&LEFT(A2)&IF(ISNUMBER(SEARCH("CHECK",A2)),1,0)
Stefi


„Stefi†ezt írta:
 
Back
Top