+ Reply to Thread
Results 1 to 7 of 7

Force text to be lowercase / copying the results of a formula not the formula itself

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Force text to be lowercase / copying the results of a formula not the formula itself

    I have created the attached spreadsheet which pulls together various pieces of data a user enters and concatenates them into a string.

    There are two issues I am trying to fix:

    1) It is important that the data which appears in the results cell (B10) is all lowercase. Can I add in a rule that corrects this automatically if someone enters data including uppercase characters?

    2) I want the users to be able to copy the resulting data string from B10 into column E of the 'collated' worksheet but have so far been typing it in manually as it tries to copy the formula. Is there a way to amend B10 so I don't have to ask people to use any 'Paste special' function (I am trying to make the instructions as simple as possible).

    Thanks

    Glayva
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    first part is easy:
    Please Login or Register  to view this content.
    second - not with formula. You can do it easily with simple macro, but not with formula.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    Thanks Kaper. Would be interested in the macro solution.

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    Macro similar to this (you may assign it to a button on LinkBuilder sheet - macro assumes Linkbuilder is active sheet):
    Please Login or Register  to view this content.

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

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    Hi Glayva,

    Please enter below formula in column E3 to E5:

    ="http://bbc.co.uk"&'Link builder'!$A$14&A3&'Link builder'!$A$15&B3&'Link builder'!$A$16&C3&IF(D3="","",'Link builder'!$A$17&D3)

    hope this will help

    Thanks

  6. #6
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    Thansk Kaper - but I get a Runtime-error '5'; message when I try to run that macro. It says there is an invalid call or argument and the debugger highlights the following line:

    .Hyperlinks.Add Anchor:=.Cells(freerow, "E"), Address:=Range("B10"), TextToDisplay:=Range("B10")

    Thanks blueblink01 but this isn't quite what I am looking for. The URL (and all other details) will change every time and I want the link to pull through without having to manually populate columns A-D.

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Force text to be lowercase / copying the results of a formula not the formula itself

    try:
    Please Login or Register  to view this content.
    PS. Please edit your post and apply code tags as required by forum rules - see above how it improves readability of code.

+ 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] Copying results from a formula
    By zachdking in forum Excel General
    Replies: 4
    Last Post: 10-16-2013, 02:18 AM
  2. Replies: 3
    Last Post: 06-19-2013, 03:40 AM
  3. unexpected results when copying a formula
    By plumcloth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2010, 12:35 PM
  4. copying formula results
    By np1966 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2009, 07:16 AM
  5. Copying info from formula results
    By racer27x in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2008, 10:48 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