+ Reply to Thread
Results 1 to 4 of 4

Line shift in cell with formula and &

  1. #1
    Registered User
    Join Date
    01-26-2015
    Location
    Oslo, Norway
    MS-Off Ver
    Office 365 for MAC and PC
    Posts
    2

    Line shift in cell with formula and &

    Hi,

    Im trying to display information from a product page like in the image. Its a simple "IF" formula to display information present in the product page in the product offering to clients. The formula has line shifts, and it works perfectly fine in a pc, but in mac, it appears without a line shift.

    Does someone know how I can make a line shift between each "HVIS"? "HVIS" is the same as "IF". The ctrl + alt + enter does not work :-(

    Skjermbilde 2015-01-26 kl. 22.15.38.png

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Line shift in cell with formula and &

    Have you tried Ctrl-Command-Return?

    Or in a function try Chr(13) instead of Chr(10)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-26-2015
    Location
    Oslo, Norway
    MS-Off Ver
    Office 365 for MAC and PC
    Posts
    2

    Re: Line shift in cell with formula and &

    Hi,

    Thanks for your help! Found it! Excel translated char(10) to the Norwegian word (not used to that), replacing 10 with 13 made the difference!

    3rd day with mac after 25 years with pc (client demand), so I will probably be back with other questions later
    Attached Images Attached Images
    Last edited by carl84; 01-27-2015 at 05:12 PM. Reason: Found the solution

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Line shift in cell with formula and &

    Quote Originally Posted by carl84 View Post
    Hi,

    3rd day with mac after 25 years with pc (client demand), so I will probably be back with other questions later
    ...of that I have no doubt. Been there and got too many T shirts.

    I love the Mac for many things and use it frequently for other stuff but when it comes to Excel I try to avoid it. I find it a real pain particularly in the VBE area where the syntax is often different to Windows VBA and the editor is just not user friendly. I dread it when a client wants s Mac devlopment, even more when the same development has to work on both platforms.

+ 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] If criteria met: delete cell and shift to the left but shift only over a certain range
    By olivierpbeland in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2013, 07:44 AM
  2. Need Help on Time Sheet Formula (Day Shift OK/Night Shift=Problem)
    By jomapac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2013, 02:26 AM
  3. Add extra line, shift cells dwn
    By Navhonda84 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-25-2010, 11:32 AM
  4. Shift up cells and Line up
    By ruby1766 in forum Excel General
    Replies: 3
    Last Post: 06-03-2009, 10:32 AM
  5. A Automated Line Shift Roster
    By Deniroaus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-25-2008, 08:27 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