+ Reply to Thread
Results 1 to 8 of 8

trying to remove a space

Hybrid View

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    peoria, il
    MS-Off Ver
    Excel 2003
    Posts
    2

    trying to remove a space

    you know how if you type in a1 and it's longer than cell width it will spill over into b1? if b1 has a formula with the result being "" it won't spill over. what do use as the result for the formula in b1 that will not block a1 spilling over?

    some of the results in a1 are shorter if b1 has anything shown. I just need b1 to not block a1 in cases where b1 needs to be blank and a1 is longer.

    sorry about the wacky first post. both a1 and b1 have if statements yielding text results or no results to provide a printable menu that is easily customizable be salesman


    a1 if(a24=1,"security plus gold preferred","resource")
    b1. if(a24=1,""," platinum")

    this is a very simple version, I just need the "" in b1 to not block last part of "security plus gold preferred" if a24 = 1

    thank you,
    Eddy Brown
    uftring Nissan

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: trying to remove a space

    You can't stop it doing this. It's the way it works. Either widen the column or use Wrap Text. And maybe align the text in all cells to the top.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-03-2012
    Location
    peoria, il
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: trying to remove a space

    thanks for looking. I think I will hit it a different way.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: trying to remove a space

    You're welcome. Thanks for the rep.

  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
    53,048

    Re: trying to remove a space

    if you cant widen the column, could you maybe increase the row height and then wrap the text?
    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 Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: trying to remove a space

    @FDibbins: I think I already suggested that in post #2.

  7. #7
    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
    53,048

    Re: trying to remove a space

    oops ok thx TM, that will teach to read other posts properly lol

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: trying to remove a space

    No problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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