+ Reply to Thread
Results 1 to 10 of 10

Formula for a fixed number of characters allowed in a cell

Hybrid View

sapfanatic.com Formula for a fixed number of... 05-19-2015, 04:37 AM
shukla.ankur281190 Re: Formula for a fixed... 05-19-2015, 04:43 AM
adhawan06 Re: Formula for a fixed... 05-19-2015, 05:02 AM
sapfanatic.com Re: Formula for a fixed... 05-19-2015, 04:49 AM
adhawan06 Re: Formula for a fixed... 05-19-2015, 05:04 AM
adhawan06 Re: Formula for a fixed... 05-19-2015, 04:59 AM
shukla.ankur281190 Re: Formula for a fixed... 05-19-2015, 05:00 AM
sapfanatic.com Re: Formula for a fixed... 05-19-2015, 05:11 AM
samba_ravi Re: Formula for a fixed... 05-19-2015, 05:12 AM
kvsrinivasamurthy Re: Formula for a fixed... 05-19-2015, 10:28 AM
  1. #1
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Formula for a fixed number of characters allowed in a cell

    Use below formula

    =5-LEN(A2)&" "&"with two spaces after"

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Formula for a fixed number of characters allowed in a cell

    Quote Originally Posted by shukla.ankur281190 View Post
    Use below formula

    =5-LEN(A2)&" "&"with two spaces after"
    You are doing minus from 5 to length of formula and then adding the text saying "with two spaces after" whereas OP is saying, OP need the second columns to always give a fixed 5 character long. Let me know If my understanding is wrong.
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

+ 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. Increase the number of characters allowed in a post
    By Tony Valko in forum Suggestions for Improvement
    Replies: 9
    Last Post: 11-22-2013, 12:44 PM
  2. [SOLVED] VBA to check a cell based on a set of allowed characters
    By trueimage in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-20-2013, 03:10 PM
  3. Fill the Cell with Zeros upto a fixed number of characters
    By hsmeet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2008, 10:24 PM
  4. [SOLVED] How can i specify a cell to have a fixed number of characters
    By john dunford in forum Excel General
    Replies: 1
    Last Post: 01-30-2006, 06:10 PM
  5. a way to limit the characters allowed in a cell?
    By EmRit24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2005, 05:06 PM

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