+ Reply to Thread
Results 1 to 13 of 13

Display Names Beginning WIth

  1. #1
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Display Names Beginning WIth

    Attached is an excel sheet.

    In column A is a list of names.

    In Column B i want to display the names that start with A, B, C and/or D

    the red font in column B is the outcome i am looking for.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display Names Beginning WIth

    Hi,

    One way

    =IF(CODE(LEFT(A2,1))<=68,A2,"")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Display Names Beginning WIth

    Many thanks. Is there a way to have a formula at the top only and not copy it down?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display Names Beginning WIth

    You are showing your Excel version as Excel 2010

    If that's out of date and you happen to have Excel 365 then you could use the new

    =FILTER(A2:A231,CODE(LEFT(A2:A231,1))<=68)

    Otherwise automating it would need a macro to apply the original formula I gave you.

  5. #5
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Display Names Beginning WIth

    That works a treat. Many thanks. Sorry to be a pain, just a couple of more questions:

    1) What does the number 68 mean?
    2) how do i now display it between letters. For example Display C to E??

    Many thanks,

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Display Names Beginning WIth

    Please try at B2:E2

    =FILTER($A$2:$A$231,MATCH(LEFT($A$2:$A$231),MID($B$1:$E$1,11,1))=COLUMNS($B1:B1),"")
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Display Names Beginning WIth

    Thanks Bo_Ry. I would still like to see Richard's response to my question(s).

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display Names Beginning WIth

    Quote Originally Posted by sirdon View Post
    Thanks Bo_Ry. I would still like to see Richard's response to my question(s).
    My response would only be of use if you have Office 365 Excel - or possible Excel 2019. Have you?

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,261

    Re: Display Names Beginning WIth

    @Richard,
    I think OP wants a response to post #5 questions.

  10. #10
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Display Names Beginning WIth

    yes i do have excel 365

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,261

    Re: Display Names Beginning WIth

    Can you please you please update your profile to reflect you have 365.

  12. #12
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Display Names Beginning WIth

    Done...Sorry about that.

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,261

    Re: Display Names Beginning WIth

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Finding names beginning with lower case
    By Russet in forum Excel General
    Replies: 11
    Last Post: 08-09-2018, 09:25 AM
  2. How do I add http://www. to the beginning of 500 domain names all at once
    By Domaineroo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2012, 04:40 AM
  3. [SOLVED] Legal range names beginning with C??
    By Oppressed1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-04-2012, 03:37 PM
  4. [SOLVED] Select All Sheets With Names Beginning With Specified Value In Macro
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 03:48 PM
  5. Macro to search for sheet names beginning with some text
    By trillium in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2011, 10:16 PM
  6. [SOLVED] How can I display numbers beginning with zero?
    By CSMthePR in forum Excel General
    Replies: 4
    Last Post: 07-19-2005, 02:05 PM
  7. [SOLVED] How do I display an insignificant 0 at the beginning of a number
    By nuttylocke in forum Excel General
    Replies: 3
    Last Post: 02-09-2005, 09:06 AM

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