+ Reply to Thread
Results 1 to 9 of 9

Really Cool Widget in Column A to really-cool-widget in Column C

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Question Really Cool Widget in Column A to really-cool-widget in Column C

    I have one last problem and then I can finish my project. Can anyone tell me how to do this:

    Really Cool Widget in Column A to really-cool-widget in Column D

    Thanks!

    DukeURL
    Last edited by DukeURL; 12-16-2013 at 06:42 PM. Reason: wrong column

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    =subtitute(a1," ","-")

    Using the example from your previous post, you could use:

    =SUBSTITUTE(B1,"{A}",SUBSTITUTE(A1," ","-"))

    and save yourself the extra steps.
    Last edited by daffodil11; 12-16-2013 at 06:32 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    12-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    yeah, in hindsight I should have posted my two problems in the same post...sorry. This is not working: =subtitute(a1," ","-") I get a #NAME error...any ideas why?

  4. #4
    Registered User
    Join Date
    12-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    daffodil11, darn, I tried your condensed code and the hyphenated code actually needs to go in a separate column, column d. I hope this makes sense

    DukeURL

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    maybe try this...
    =LOWER(SUBSTITUTE(A1," ","-"))
    Put that in D1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    Yeah, that works.

    In D using your previous example =SUBSTITUTE(B1,"{A}",SUBSTITUTE(A1," ","-"))

    The functions breaks down like this:

    SUBSTITUTE(what, "replace what", "with what")

    So, SUBSTITUTE ("BO123BBY","123","") = "BOBBY" because we replaced 123 with nothing

    If A1 = Frodo Baggins, and B1 = Bilbo, then C1 =SUBSTITUTE(A1,"Frodo ",B1) = Bilbo Baggins

    Or do whatever FabulousDibbens says. That guy's a level 18 sorcerer or something.

  7. #7
    Registered User
    Join Date
    12-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    Daffodil and FDibbins, it worked perfectly! Thank you both very much for your help, I can complete my new project now!!!

    DukeURL

  8. #8
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    Sweet. Glad we could help out, always appreciate the feedback.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Really Cool Widget in Column A to really-cool-widget in Column C

    Or do whatever FabulousDibbens says. That guy's a level 18 sorcerer or something.
    LOL hardly, daffodil, but thanks for the kind words, and I have seen some really great stuff from you as well

+ 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. Dashboard Widget
    By Profsaid in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-14-2013, 07:00 AM
  2. Date widget for entering dates?
    By puch2 in forum Excel General
    Replies: 4
    Last Post: 10-11-2008, 05:00 PM
  3. Disappearing drop-down widget
    By JanetW in forum Excel General
    Replies: 4
    Last Post: 08-23-2005, 02:44 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