Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ascending Order

Can someone show me the formula to solve my problem?

Cell A1=3
Cell B1=4
Cell C1=2

in cell D1=a1&b1&c1 which give me 342 but I like it to show i
ascending order 234.

What formula should be in cell D1?

Thanks
Michae

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Ascending Order

Hi
one way (if you only have these three cells):
=MIN(A1:C1) & LARGE(A1:C1,2) & MAX(A1:C1)

--
Regards
Frank Kabel
Frankfurt, Germany


Can someone show me the formula to solve my problem?

Cell A1=3
Cell B1=4
Cell C1=2

in cell D1=a1&b1&c1 which give me 342 but I like it to show in
ascending order 234.

What formula should be in cell D1?

Thanks
Michael


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Ascending Order

Michel,

Try =SMALL(A1:C1,1)&SMALL(A1:C1,2)&SMALL(A1:C1,3)

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *

"Michael168 " wrote in message
...
Can someone show me the formula to solve my problem?

Cell A1=3
Cell B1=4
Cell C1=2

in cell D1=a1&b1&c1 which give me 342 but I like it to show in
ascending order 234.

What formula should be in cell D1?

Thanks
Michael


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Ascending Order

Tr
=Small(A1:C1,1)*100+ Small(A1:C1,2)*10 + Small(A1:C1,3)

Assumes that cells A1,B1 & C1 contain a single digit

Small(A1:C1,1) & Small(A1:C1,2) & Small(A1:C1,3) ' this gives you the correct sequence as tex

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Place numbers in ascending order Pavel Excel Discussion (Misc queries) 2 February 5th 10 03:09 PM
Using vlookup in a table that is not in ascending order Parks Excel Discussion (Misc queries) 6 November 21st 07 11:02 PM
How do I # my rows in ascending order. burgos Excel Worksheet Functions 1 February 16th 06 07:13 PM
Digits in ascending order ? toyota58 Excel Worksheet Functions 2 February 3rd 06 06:47 PM
cells in ascending order mikewild2000[_13_] Excel Programming 19 January 31st 04 10:54 PM


All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"