LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #32   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Magic Excel function or UDF?

"Ron Rosenfeld" wrote in message
...
On Sat, 24 Sep 2011 18:18:51 GMT, Oliver Annells
wrote:

This formula array entered (Ctrl+Shift+Enter) works without any VBA.

=MAX((TRANSPOSE(MID($A$18,ROW($A$1:INDEX(A:A,LEN ($A$18))),1))=MID($C5,ROW($A$1:INDEX(A:A,LEN($C5)) ),1))*TRANSPOSE(ROW($A$1:INDEX(A:A,LEN($A$18)))))

When I entered this the word was in C5 and the alphabet string was in
A18.




I made Alphabet a Defined Name.
With the alphabet string in F1,
Alphabet Refers To: =MID(Sheet1!$F$1,ROW(INDIRECT("1:99")),1)


This makes Alphabet an array constant with each letter a single
element, then:

array-entered:
=MAX(MATCH(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1),A lphabet,0)) gives
the requested results.



Oliver, Ron -
Thanks to both of you for sharing a different approach!

--
Clif McIrvin

(clare reads his mail with moe, nomail feeds the bit bucket :-)


 
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
Is there an Excel magic quadrant template JimW Excel Discussion (Misc queries) 1 October 25th 07 06:51 PM
Is there an Excel magic quadrant template JimW Excel Discussion (Misc queries) 0 October 25th 07 05:46 PM
how do I create a magic quadrant in Excel JimW Charts and Charting in Excel 1 October 25th 07 03:22 PM
My new book is available -- "This isn't Excel, it's Magic" Bob Umlas Excel Discussion (Misc queries) 1 September 10th 05 04:21 AM
how to make a magic square in excel? Razvan Excel Programming 2 August 23rd 05 04:01 PM


All times are GMT +1. The time now is 06:49 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"