add_action('wp_footer', function () { echo ''; }, 99); add_action('wp_footer', function () { echo ''; }, 99); excel Archives - Coding Sips https://www.codingsips.com/tag/excel/ small but important coding tips Mon, 28 Nov 2022 07:03:31 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.9 https://www.codingsips.com/wp-content/uploads/2016/12/favicon.png excel Archives - Coding Sips https://www.codingsips.com/tag/excel/ 32 32 Generate bulk barcode in Excel https://www.codingsips.com/how-to-generate-bulk-barcode-in-excel-easily/ https://www.codingsips.com/how-to-generate-bulk-barcode-in-excel-easily/#respond Mon, 28 Nov 2022 06:25:57 +0000 https://www.codingsips.com/?p=1007 In this article we will learn how to Generate bulk barcode in Excel within few steps. Normally there are many websites which give option to generate barcode one by one, but if you have a long list then those websites are not helpful.  I generated 500 barcodes today and found it very easy & time saving, that’s why I am […]

The post Generate bulk barcode in Excel appeared first on Coding Sips.

]]>
In this article we will learn how to Generate bulk barcode in Excel within few steps. Normally there are many websites which give option to generate barcode one by one, but if you have a long list then those websites are not helpful. 

I generated 500 barcodes today and found it very easy & time saving, that’s why I am sharing it here so that you can have an idea that it can be done in minutes using MS Excel.

  1.  Download this zip file it has font files, and extract it to your windows fonts folder. C:\Windows\Fonts\
    It will take few seconds to copy and install

  2.  Open MS Excel after installing these fonts so you can apply these new fonts

  3.  Preparing your code for barcode generation
    1. Make sure the column having your source codes are formatted as Text
    2. Wrap your codes in parenthesis using below formula in a new column, and double click to repeat it for all rows
      =”(“&A2&”)” where A2 is cell index
    3. Select full column and apply font named IDAutomationHC39M Free Version or Code128bWinLarge

 

I like IDAutomationHC39M Free Version because it also generate the actual code under the barcode.

try it and make your life easy and generate bulk barcodes within few minutes, and be smarter. there is one drawback I can see using this method that we can not download these barcodes as images in one shot.

I do have a script where you can generate one by one barcode but now I am planning to write another script to generate bulk barcode along with option to download all images in a zip file. 

keep on visiting this site for interesting things like this.

The post Generate bulk barcode in Excel appeared first on Coding Sips.

]]>
https://www.codingsips.com/how-to-generate-bulk-barcode-in-excel-easily/feed/ 0
MySQL Export non English CSV and import in MS Excel https://www.codingsips.com/mysql-export-non-english-utf-8-csv-and-import-in-ms-excel/ https://www.codingsips.com/mysql-export-non-english-utf-8-csv-and-import-in-ms-excel/#respond Wed, 25 Dec 2019 06:31:08 +0000 http://www.codingsips.com/?p=784 Today I will share something I learnt handy, I hope it may help you also. I was having Arabic and other non-English language strings in a table, there was requirement to export that data to excel. I hope you know how can we export data using PhpMyAdminin CSV format, lets see How to export data in CSV format from MySQL […]

The post MySQL Export non English CSV and import in MS Excel appeared first on Coding Sips.

]]>
Today I will share something I learnt handy, I hope it may help you also. I was having Arabic and other non-English language strings in a table, there was requirement to export that data to excel. I hope you know how can we export data using PhpMyAdminin CSV format, lets see

How to export data in CSV format from MySQL using PhpMyAdmin

  • Open PhpMyAdmin
  • browse table data, put where conditions if required, sort if required etc.
  • when you are ready to export, click export link which is shown below
If you don’t know what is PhpMyAdmin it comes as WAMP or XAMP package, shortly this is a GUI interface to interact with MySQL databases.

mysql export

 

Then select target csv format as shown in snap below

export type

click go button, it will download queried data in a CSV file.

Now coming towards MS Excel

How to import CSV in MS Excel

  • open Ms Excel
  • go to data tab
  • click from file in get external data section, as shown below

just click next, and select proper delimiter like comma or semicolon

it will import data BUT non-English characters will be broken as shown below

broken utf-8 in excel

Now I will show  you how we can avoid this while importing utf-8 or non-English data into MS Excel. 

during importing you see an option to select file origin

Select Unicode (UTF-8) as shown below

unicode utf-8 file origin

Now after completing importing your data will be ok, means non-English characters will not be broken. as shown below see Arabic, Urdu, Pashto and Hindi all languages are correctly displayed this time.

excel import utf-8 correct

The only trick was to select proper File Origin which in this case was Unicode (UTF-8), may be for  some other languages and file type you have to select different File Origin, but this is where you can play.

Hope this was easy, share with your friends.

 

The post MySQL Export non English CSV and import in MS Excel appeared first on Coding Sips.

]]>
https://www.codingsips.com/mysql-export-non-english-utf-8-csv-and-import-in-ms-excel/feed/ 0