Results 1 to 9 of 9

Thread: Excel Number Format after exporting from Pastel Xpress

  1. #1
    Full Member
    Join Date
    Nov 2017
    Location
    Robertson, Western Cape
    Posts
    52
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Excel Number Format after exporting from Pastel Xpress

    Hi there

    If I export from Pastel Xpress to Excel, I am unable to manipulate figures as empty cells contain what looks like an apostrophe and I end up with the dreaded #VALUE error message.

    I have tried Text-to-Columns, saving as CSV, and various other hacks to no avail.

    Any suggestions, Clever Peeps?

    Thanks in advance.

  2. #2
    Diamond Member Justloadit's Avatar
    Join Date
    Nov 2010
    Location
    Johannesburg
    Posts
    3,497
    Thanks
    138
    Thanked 696 Times in 594 Posts
    Blog Entries
    1
    If I am not mistaken, you have to set up your local Windows to South Africa, and or the number format to D.P. not ','.
    The default setting is that the decimal symbol is a comma and the list separator is a semicolon.
    The decimal symbol should be a period and the list separator should be a comma.

    In reference to number and currency formats.
    These are found here:

    Control Panel > Clock, Language and Region > Change date, time or number formats > Additional settings > Numbers > Decimal symbol
    Control Panel > Clock, Language and Region > Change date, time or number formats > Additional settings > Numbers > List separator
    Control Panel > Clock, Language and Region > Change date, time or number formats > Additional settings > Currency > Decimal symbol
    Victor - Knowledge is a blessing or a curse, your current circumstances make you decide!
    Solar pumping, Solar Geyser & Solar Security lighting solutions - www.microsolve.co.za

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    Centurion
    Posts
    17
    Thanks
    2
    Thanked 1 Time in 1 Post
    - Select the columns that need fixing
    - Use the Find and Replace function (Ctrl H)
    - In the Find what field type ' (apostrophe)
    - Leave the Replace with field blank
    - Click Replace all

    If that doesn't work, insert an empty column, and then if the apostrophe value is in A1, and the empty column is B, type in B1 =value(A1)
    See if this provides the correct result.
    If it does, then just drag the formula down for the rest
    Oh, and remember to copy the values in B and paste them again as values

  4. #4
    Full Member
    Join Date
    Nov 2017
    Location
    Robertson, Western Cape
    Posts
    52
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Hi Justloadit - my Windows (10) settings are as you specified but it makes no difference.

    I noticed something weird though - the numbers are not all in the same format. Some are left-justified with no separator and a comma for decimal and others are right-justified with a comma as the separator and a period for the decimal point. This for both debit and credit columns.

    Moreover, the apostrophe only appears in blank cells in the debit column.

    The data is exported from a very old Pastel Xpress, I believe, which might be compounding the problem. I did have a workaround for this problem as suggested by acheronia below but that doesn't work in this case.

    Next step: I'll contact a Pastel/Sage reseller in Cape Town and see if he can shed some light.

    Thanks for your help, though.

  5. #5
    Full Member
    Join Date
    Nov 2017
    Location
    Robertson, Western Cape
    Posts
    52
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Hi acheronia - thanks for your response. As you can see from my answer to Justloadit, no luck.

    Regards

  6. #6
    Diamond Member Justloadit's Avatar
    Join Date
    Nov 2010
    Location
    Johannesburg
    Posts
    3,497
    Thanks
    138
    Thanked 696 Times in 594 Posts
    Blog Entries
    1
    Quote Originally Posted by Questor View Post
    Hi Justloadit - my Windows (10) settings are as you specified but it makes no difference.

    I noticed something weird though - the numbers are not all in the same format. Some are left-justified with no separator and a comma for decimal and others are right-justified with a comma as the separator and a period for the decimal point. This for both debit and credit columns.

    Moreover, the apostrophe only appears in blank cells in the debit column.

    The data is exported from a very old Pastel Xpress, I believe, which might be compounding the problem. I did have a workaround for this problem as suggested by acheronia below but that doesn't work in this case.

    Next step: I'll contact a Pastel/Sage reseller in Cape Town and see if he can shed some light.

    Thanks for your help, though.
    Your system has saved the file in xxx.CSV, with the new Excell, strange things occur as you have mentioned.

    What I do is that I change the extension from 'CSV' to 'txt'.
    Then I open Excell, go to 'File', next select 'Open', then browse to the directory I have saved the changed file.txt, you won't see it yet, because Excell defaults to looking for files with '.csv' or 'xlsx', however if you look to the right at the bottom of the file selection window, you will see a box, which says "All Excell files (".xlx",....), and so on, click this box, and a menu opens, scroll to the top where it says "All Files "*.*", click on this, and all files will now shoe in the window.
    Select your file and double click, a box Text Import Wizard will show.
    You will see your data in the window, you can select delimited, or fixed width. When you select it you may see the data change.
    Now press the "Next" button.
    A new box pops up. Under the "Delimeters box, select one of the delimiters, you will immediately see the data change. If it suits what you are looking for, then press the Next button. Excell will now open the file. You may recognise the data.
    Play with the "delimeter' to see if it matches the way you want to see your data, reloading again. Save the fole in 'XLSX: format, and it will open correctly. You can also save it in "CSV' format for export.
    In my case I usually select the delimeter ';', and solves my problem, I don't know if it will solve yours, but give it a try.
    Victor - Knowledge is a blessing or a curse, your current circumstances make you decide!
    Solar pumping, Solar Geyser & Solar Security lighting solutions - www.microsolve.co.za

  7. #7
    Full Member
    Join Date
    Nov 2017
    Location
    Robertson, Western Cape
    Posts
    52
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Fantastic!

    Thank you, Justloadit.

    And thank you for relieving me of the idea that I was sinking slowly into insanity, due entirely to an apostrophe.

  8. #8
    Silver Member
    Join Date
    Aug 2018
    Location
    Johannesburg
    Posts
    262
    Thanks
    0
    Thanked 35 Times in 31 Posts
    Sorry for the late reply - based on your explanation I assume you are exporting a TB directly to excel. Pastel will keep a blank place holder apostrophe in the debit column wherever there is no value. Find and replace will not recognise it. Quickest method I found to resolve it is as follows:
    Print the report to excel as you normally would.
    Insert a column in A. Add a number set down all your rows (Put a 1 in cell A1, a 2 in A2 and drag down / flash fill to the bottom of your report)
    Select all data and sort by largest to smallest on the debit column (assuming it is now E)
    Highlight all the cells with the ' as they are now grouped together at the top of the report and press delete.
    Sort by Column A again to get your data back into the original order, then delete column A.
    It should be quicker than the export save convert method mentioned above.
    Kevin Smith
    Sage Pastel Support Consultant
    KS Consulting
    www.ksconsulting.co.za

  9. #9
    Full Member
    Join Date
    Nov 2017
    Location
    Robertson, Western Cape
    Posts
    52
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Hi Kevin

    Apologies for the late response to the reply.

    Your method gets rid of the apostrophe but, in order to manipulate the data, I have to change the settings as noted in the earlier replies. I prefer brackets to indicate negative but it seems I'll have to settle for a minus sign.

    Many thanks

Similar Threads

  1. Exporting Statements into PDF/Excel in pastel 19
    By independentestates in forum Accounting Forum
    Replies: 3
    Last Post: 04-Nov-21, 08:20 AM
  2. Replies: 6
    Last Post: 20-Aug-20, 08:48 AM
  3. [Question] Exporting Xpress V11 to Excel 2013 Win8
    By JohnKeevy in forum Accounting Forum
    Replies: 0
    Last Post: 31-Oct-14, 10:29 AM
  4. Exporting from Pastel V12 to excel
    By Tat in forum Accounting Forum
    Replies: 2
    Last Post: 18-Feb-14, 08:26 AM
  5. [Question] exporting data in pastel to excel
    By bernardshap in forum Accounting Forum
    Replies: 5
    Last Post: 28-Aug-12, 01:19 PM

Did you like this article? Share it with your favourite social network.

Did you like this article? Share it with your favourite social network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •