friends,
please help me for the formula to auto arrange the markings :
Column A Column B
WWC001 WWC001
WWC005 WWC002
WWC003 WWC003
WWC002 WWC004
WWC004 WWC005
column B should be formula to arrange the column A.
friends,
please help me for the formula to auto arrange the markings :
Column A Column B
WWC001 WWC001
WWC005 WWC002
WWC003 WWC003
WWC002 WWC004
WWC004 WWC005
column B should be formula to arrange the column A.
👍
Try this array formula
Formula:Please Login or Register to view this content.
***Array formula must be entered by using key combination of CTRL+SHIFT+ENTER and not just ENTER
Data Range
A B 1 WWC001 WWC001 2 WWC005 WWC002 3 WWC003 WWC003 4 WWC002 WWC004 5 WWC004 WWC005
or regular version
Formula:Please Login or Register to view this content.
Last edited by AlKey; 11-10-2015 at 12:12 PM.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Try this...
Data Range
A B 1 Data Sorted 2 WWC001 WWC001 3 WWC005 WWC002 4 WWC003 WWC003 5 WWC002 WWC004 6 WWC004 WWC005
This array formula** entered in B2 and copied down:
=INDEX(A$2:A$6,MATCH(SMALL(COUNTIF(A$2:A$6,"<"&A$2:A$6),ROWS(B$2:B2)),COUNTIF(A$2:A$6,"<"&A$2:A$6),0))
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
If all cells have unique first 3-characters, then rank the next 3 digits:
="WWC"&TEXT(SMALL(INDEX(--RIGHT($A$1:$A$5,3),),ROW(1:1)),"000")
Quang PT
thank you. its great...
Yes, how about if there is subletter A,B,C etc...
WWC001
WWC001A
WWC001B
something like that. its not function..
only like this WWC001a, WWC002ab.,,,,,
With original entries in A1:A5, type below formula in B1 then drag down:
Please Login or Register to view this content.
friends,
also the attached file. pls help.
sir,
the above formula is not working
If you have duplicates use formula suggested by Tony Valco in post#3
www.Withdraw.com by bebo021999
with latest sample file not also I could not find any sub-letter, but I could find other prior strings like "CCF","BR"...
This array formula** entered in G8:
=IFERROR(INDEX(B$8:B$23,MATCH(SMALL(IF(D$8:D$23>=G$5,IF(D$8:D$23<=G$6,COUNTIF(B$8:B$23,"<"&B$8:B$23))),ROWS(G$8:G8)),IF(D$8:D$23>=G$5,IF(D$8:D$23<=G$6,COUNTIF(B$8:B$23,"<"&B$8:B$23))),0)),"")
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Copy down until you get blanks.
Here's your file with this formula implemented...
thank you very very much mr tony valko. its great!!!!!
You're welcome. Thanks for the feedback!
If your question has been solved please mark the thread as being solved.
In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks