+ Reply to Thread
Results 1 to 2 of 2

1st, 2nd, 3rd with Text

  1. #1
    Registered User
    Join Date
    04-14-2010
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    10

    1st, 2nd, 3rd with Text

    http://www.excelforum.com/excel-gene...d-3rd-etc.html

    Hello,

    I found the above post very helpful and would like to know if it would be possible to do the following

    I would like an Excel field that says something along the lines of "John finished 3rd with a time of 4:50."
    I can link 'John', '3', and '4:50' from another matrix/table but would it be possible to include a formula to automatically put the 'rd' after 3 (or a 'th' after 5, etc)?

    Thanks for any help/suggestions offered!

    Albert

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: 1st, 2nd, 3rd with Text

    Hi Albert, welcome to the forum.

    Perhaps by combining one of the formulas from that other post...

    Let's assume John is in A1, 3 is in A2 and 4:50 is in A3, then use:

    =A1&" finished "&A2&IF(OR(MOD(A2,100)={11,12,13}),"th",CHOOSE(MIN(5,RIGHT(A2)+1),"th","st","nd","rd","th"))&" with a time of "&TEXT(A3,"h:mm")&"."

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1