+ Reply to Thread
Results 1 to 13 of 13

Excel Formulas and General

  1. #1
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Excel Formulas and General

    Write a formula to capitalize the first letter of every word in Column A that have more than 100 characters.
    Last edited by amberk1263; 04-11-2014 at 08:12 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Advance 2010

    Is this a training / testing exercise that you are supposed to be doing?

    What have you tried so far?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Excel Advance 2010

    Try this one

    =PROPER(A1)

    and copy down
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel Advance 2010

    =Proper(A1) is only for converting it to proper, but what if i have texts containing characters less than and more than 100 and i want to apply formula to only those which are greater than 100.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel Advance 2010

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel Advance 2010

    Yes Olly it is training/testing exercise. I was also working on it manually, like first counted all characters by LEN(A1) formula and then applied Proper Formula. but want to know the exact formula by which i can capitalize texts with more than 100 characters only.

  7. #7
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Formulas and General

    Share the formula you have come up with so far, then we can advise where you need to change it

  8. #8
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Excel Formulas and General

    hi amberk1263 ,

    Give example of name. you can try to use the text formula ="upper", "if", "len" and "mid"

    if(len("text">100,Upper(mid("text",1,1)

  9. #9
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel Formulas and General

    Olly please check formulas here, first i used LEN formula to count characters and then applied the formula mentioned in the screenshot.
    http://i.imgur.com/4JwWvSp.png?1

  10. #10
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Formulas and General

    Great, you're just about there. All you need to do is combine the two formulas:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This returns a blank cell if the length of A2 is 100 or less. Change the final "" argument if you want to change that.

  11. #11
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel Formulas and General

    Hi blue,

    Examples of Names are given in this screenshot.
    http://i.imgur.com/P2ndxPz.png?1

  12. #12
    Registered User
    Join Date
    04-11-2014
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel Formulas and General

    Great, Thanks Olly Solved ,

  13. #13
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel Formulas and General

    Your title still does not confirm to the rules.

+ 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. Excel 2010, Access 2010, SQL Insert and Update Statments and NULL value in Field
    By jmmach72 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 02:35 PM
  2. Hi new here and with excel could use some help thanks in advance
    By gtsjeff in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-26-2013, 06:56 PM
  3. Copying worksheets from excel to word in vba as images
    By papasideris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2012, 11:32 AM
  4. Searching the particular numberfrom excel'2010 table and locate the number in Word'2010
    By jaffirahamed1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2012, 08:09 AM

Tags for this Thread

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