+ Reply to Thread
Results 1 to 4 of 4

Word TAB function in an excel cell

Hybrid View

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    Lugano, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    22

    Word TAB function in an excel cell

    Hello everyone,

    I am having a formating issue within a cell. I would like to acomplish a TAB space between to words so they allways have the same space between, no mather how many characters the words or numbers have.

    Example:

    I insert text and numbers from diferent cells in to one.

    Formula: copy to clipboard
    INDIRECT("AI"&ROW())&"    "&INDIRECT("AK"&ROW())&" "&TEXT(INDIRECT("AJ"&ROW());"###'###'##0.00")&"         "&INDIRECT("AM"&ROW())&"          "&INDIRECT("AL"&ROW())&" "&TEXT(INDIRECT("AN"&ROW());"###'###'##0.00")&"          "&INDIRECT("AO"&ROW())&"



    It looks like this... so far so good.
    25.02.2014 EUR 5'600.00 1.2177 CHF 6'819.12 Withrawal

    But if i insert multiple lines with higher or lower amounts the formating goes wrong.

    25.02.2014 EUR 5'600.00 1.2177 CHF 6'819.12 Withrawal
    26.02.2014 EUR 10'000.00 1.2212 CHF 12'212.00 Deposit

    The target would be to keep straight lines like with the TAB in Word.

    snap-tab.jpg

    I know there is no TAB whitin excel cells, but maybe there is a way to set a default charachter lenght that can be forced even if the amount or the text is shorter.

    I would be most greatfull for any help i have been sitting on this one for quite some time now.
    Last edited by prohmex; 03-19-2014 at 05:03 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Word TAB function in an excel cell

    Can you upload your xls file?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    08-15-2013
    Location
    Lugano, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Word TAB function in an excel cell

    Sorry it took me a little time to make the file small enugh for upload

    Statment Project Development V 1.1.xlsm

    It is alittle long and it loads currencie ex rates from oanda that is why it contains macros.

    in the Sheet "Statements" row "AG"

    Thank you for thaking time to help me, it is very much apreciated.
    Last edited by prohmex; 03-19-2014 at 05:24 PM.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Word TAB function in an excel cell

    Why all those 'indirect' formulas

    INDIRECT("AI"&ROW())
    AI3

    These 2 gives the same result

    Take a look at my xls sample
    Here you can see how to fix it

    You must change your font
    In font 'Calibri' not all letters have the same width (eg i and w)
    Font 'Courier' have the same width
    Attached Files Attached Files

+ 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. Replies: 16
    Last Post: 04-25-2013, 03:12 PM
  2. IF function for Word Mail Merge from Excel
    By Hockeyflow33 in forum Excel General
    Replies: 0
    Last Post: 01-17-2013, 07:52 PM
  3. [SOLVED] Split a line of words, each word in a separate cell using function
    By slc in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-08-2012, 10:03 PM
  4. [SOLVED] ADD Change Case function from Word to Excel
    By Carolyn E in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2006, 03:05 PM
  5. how do i set an auto date function in excel or word?
    By hpkcommish in forum Excel General
    Replies: 2
    Last Post: 02-22-2005, 07:06 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