Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /home/reshajt1/public_html/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /home/reshajt1/public_html/wp-includes/wp-db.php on line 760

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /home/reshajt1/public_html/wp-includes/wp-db.php on line 760

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/reshajt1/public_html/wp-includes/comment-template.php on line 1747

Deprecated: Creation of dynamic property Disable_Comments::$is_CLI is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/disable-comments.php on line 59

Deprecated: Creation of dynamic property Disable_Comments::$sitewide_settings is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/disable-comments.php on line 61

Deprecated: Creation of dynamic property Yoast\WP\SEO\Main::$helpers is deprecated in /home/reshajt1/public_html/wp-content/plugins/wordpress-seo/lib/abstract-main.php on line 65

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property WP_Block_Type::$skip_inner_blocks is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block-type.php on line 391

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 26

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 29

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 160

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/reshajt1/public_html/wp-includes/pomo/translations.php on line 292

Deprecated: Implicit conversion from float 1789180851.56518 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 26

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 29

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/reshajt1/public_html/wp-includes/pomo/streams.php on line 160

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/reshajt1/public_html/wp-includes/pomo/translations.php on line 292

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$disabled_wp_cron is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 69

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$enable_self_cron is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 70

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$require_optin is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 74

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$include_goodbye_form is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 75

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$marketing is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 76

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$options is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 77

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$item_id is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 78

Deprecated: Creation of dynamic property Disable_Comments::$tracker is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/disable-comments.php on line 150

Deprecated: Creation of dynamic property DisableComments_Plugin_Tracker::$notice_options is deprecated in /home/reshajt1/public_html/wp-content/plugins/disable-comments/includes/class-plugin-usage-tracker.php on line 657

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-term-query.php on line 1118

Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 383

Warning: Cannot modify header information - headers already sent by (output started at /home/reshajt1/public_html/wp-includes/wp-db.php:760) in /home/reshajt1/public_html/wp-includes/feed-rss2.php on line 8
<br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Surfaces\Classes_Surface::$container is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/surfaces/classes-surface.php</b> on line <b>20</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Main::$classes is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/lib/abstract-main.php</b> on line <b>65</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Context\Meta_Tags_Context::$page_type is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php</b> on line <b>43</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Presentations\Indexable_Term_Archive_Presentation::$pagination is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/presentations/archive-adjacent-trait.php</b> on line <b>29</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Presentations\Indexable_Term_Archive_Presentation::$source is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php</b> on line <b>64</b><br /> <br /> <b>Deprecated</b>: Creation of dynamic property Yoast\WP\SEO\Presentations\Indexable_Term_Archive_Presentation::$title is deprecated in <b>/home/reshajt1/public_html/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php</b> on line <b>64</b><br /> excel Archives - ReshaJTama https://reshajtama.my.id Share Anything Sat, 04 May 2019 07:02:24 +0000 en-US hourly 1 https://wordpress.org/?v=6.0.14 https://reshajtama.my.id/wp-content/uploads/2022/05/cropped-cropped-Logo-32x32.png excel Archives - ReshaJTama https://reshajtama.my.id 32 32 Dasar dasar Formula di MS Office Excel https://reshajtama.my.id/dasar-dasar-formula-di-ms-office-excel/ Sat, 04 May 2019 07:02:22 +0000
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 383
http://reshajtama.my.id/?p=28 Deprecated: Implicit conversion from float 1789180851.596331 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Deprecated: Implicit conversion from float 1789180851.596534 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Kalian pasti kesusahan dalam mengolah data, apalagi jika data itu ada ribuan. Microsoft Office Excel, Spreadsheet, WPS Office, LibreOffice adalah aplikasi aplikasi pengolahan data Excel yang sangat sering di gunakan sekarang. Saya sendiri sering menggunakan nya untuk membuat laporan tentang data – data, dan saya sering menggunakan Ms Office Excel. Oleh karena itu dibuat lah …

The post Dasar dasar Formula di MS Office Excel appeared first on ReshaJTama.

]]>

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Implicit conversion from float 1789180851.598714 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Deprecated: Implicit conversion from float 1789180851.598776 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93
Kalian pasti kesusahan dalam mengolah data, apalagi jika data itu ada ribuan. Microsoft Office Excel, Spreadsheet, WPS Office, LibreOffice adalah aplikasi aplikasi pengolahan data Excel yang sangat sering di gunakan sekarang. Saya sendiri sering menggunakan nya untuk membuat laporan tentang data – data, dan saya sering menggunakan Ms Office Excel.

Oleh karena itu dibuat lah formula yang di gunakan untuk mempermudahnya. berikut adalah dasar – dasar perintah nya :

  • SUM (Penjumlahan)

Pada gambar tersebut saya menjumlahkan Nilai dari semua murid pada kolom D2 sampai D4.

  • MIN (Nilai Terendah)

Disini saya menncari Nilai terendah dari semua murid Tersebut pada kolom D2 sampai D4.

  • MAX (Nilai Tertinggi )

Disini saya mencari Nilai Tertinggi dari semua murid tersebut pada kolom D2 sampai D4.

  • Average (Rata – Rata)

Disini saya mencari Nilai rata-rata dari semua murid tersebut pada kolom D2 sampai D4.

  • IF ( Operator Logika )

Disini saya membuat kondisi jikaNilai murid di atas 8 maka dia akan di nyaatakan lulus, tetapi jika di bawah 8, maka murid itu akan di nyatakan tidak lulus.

  • Concatenate ( Penggabungan )

Disini saya menggabungkan Nama, Nilai dan Status nya. Kalian tinggal menyeretnya seperti ini. anda akan lebih mudah untuk membuat laporan tersebut.

Mungkin sekian dulu dari saya. nanti akan saya posting kembali perintah perintah advance dalam excel. Terima kasih

The post Dasar dasar Formula di MS Office Excel appeared first on ReshaJTama.

]]>
Python – Import XLSX to SQL file https://reshajtama.my.id/python-import-xlsx-to-sql-file/ Wed, 01 May 2019 06:54:21 +0000
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 383

Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 383

Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/reshajt1/public_html/wp-includes/category.php on line 383
http://reshajtama.my.id/?p=6 Deprecated: Implicit conversion from float 1789180851.600022 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Deprecated: Implicit conversion from float 1789180851.600077 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Selamat datang di blog saya. Kali ini saya akan membagikan tutorial bagaimana cara untuk import file xlsx untuk masuk ke query sql kita. kita membutuhkan 2 module yang di butuhkan untuk membuat script tersebut yaitu : xlrd mysqldb Disini saya mempunyai sebuah file dengan format xls dengan nama “Test.xls”. Berikut isi file tersebut : Jangan …

The post Python – Import XLSX to SQL file appeared first on ReshaJTama.

]]>

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Creation of dynamic property WP_Block::$attributes is deprecated in /home/reshajt1/public_html/wp-includes/class-wp-block.php on line 179

Deprecated: Implicit conversion from float 1789180851.601239 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93

Deprecated: Implicit conversion from float 1789180851.601282 to int loses precision in /home/reshajt1/public_html/wp-content/plugins/intelly-related-posts/includes/classes/utils/Logger.php on line 93
Selamat datang di blog saya. Kali ini saya akan membagikan tutorial bagaimana cara untuk import file xlsx untuk masuk ke query sql kita. kita membutuhkan 2 module yang di butuhkan untuk membuat script tersebut yaitu :

  • xlrd
  • mysqldb

Disini saya mempunyai sebuah file dengan format xls dengan nama “Test.xls”. Berikut isi file tersebut :

Jangan lupa membuat Database dengan Table yang sesuai dengan file nya. Seperti ini :

Nah sekarang kita buat script untuk bisa konek ke database kita. disini saya menggunakan mysql sebagai databasenya, jadi saya menggunakan module MySQLdb sebagai connector nya. jika anda menggunakan database lain, anda bisa mencari module database connector nya.

import MySQLdb as sql

db = sql.connect(host="localhost", user="root",passwd="123", db="excel")

curs = db.cursor()

query = """ INSERT INTO belajar(id,nama,kelas,alamat) VALUES (%s,%s,%s,%s)"""

Kemudian untuk mengimport file xls nya kalian harus menambahkan module xlrd. xlrd hanya bisa menggunakan file dengan exstensi ‘.xls’ saja. Anda tidak bisa import file seperti ‘.xlsx’,’.csv’ atau file excel lainnya.

import xlrd

book = xlrd.open_workbook("Test.xls") #nama file xls nya
sheet = open.sheet_by_name('Test') #nama sheet excel

Nah, tinggal kita gabungin terus pake looping buat masukin datanya. Untuk full script nya bisa di lihat disini atau mendownload nya via github :

import xlrd
import MySQLdb as sql

# SQL
db = sql.connect(host="localhost", user="root",passwd="toor", db="excel")

curs = db.cursor()

query = """ INSERT INTO belajar(id,nama,kelas,alamat) VALUES (%s,%s,%s,%s)"""

# XLS File
book = xlrd.open_workbook("Test.xls") #nama file xls nya
sheet = book.sheet_by_name('Test') #nama sheet excel

#Execute

for n in range(1,sheet.nrows):
		id		= sheet.cell(n,0).value
		nama		= sheet.cell(n,1).value
		kelas		= sheet.cell(n,2).value
		alamat		= sheet.cell(n,3).value

		values = (id,nama,kelas,alamat)

		curs.execute(query,values)

curs.close
db.commit()

print("Anda telah berhasil Import !!!")

Silahkan jika anda ingin mendownload source Code nya. Bisa di ambil di akun saya.

https://github.com/ReshaJTama/xlstosql

Anda dapat mengunjungi source tutorial ini di

https://mherman.org/blog/import-data-from-excel-into-mysql-using-python/

The post Python – Import XLSX to SQL file appeared first on ReshaJTama.

]]>