Lewati ke konten utama

Perbarui Baris di Excel - Pengubah Data untuk Make

PDF4me Perbarui Baris di Excel adalah sebuah Make Modul yang memodifikasi baris yang sudah ada dalam buku kerja .xlsx atau .xls menggunakan JSON Array, yang secara otomatis mencocokkan nama properti dengan header kolom. Gunakan untuk menyinkronkan perubahan basis data, menyegarkan dasbor, atau memperbarui. CRM catatan di Excel tanpa menyisipkan atau menghapus baris.

Fungsi modul ini

PDF4me Perbarui Baris di Excel memodifikasi sel dalam baris yang ada menggunakan JSON array, tanpa menyisipkan atau menghapus baris. Nama properti di setiap JSON Objek dicocokkan dengan header kolom secara otomatis, dengan opsi konversi otomatis string ke angka atau tanggal, penguraian khusus budaya, pemformatan tanggal/angka khusus, dan kontrol atas cara penanganan nilai null.

Postingan Blog Terkait
Belum ada postingan blog untuk fitur ini — akan segera hadir.
Sementara itu, jelajahi blog PDF4me untuk menemukan tutorial dan alur kerja di berbagai platform.
Kunjungi blog ini

Bagaimana Cara Saya Mengautentikasi Saya? Make Skenario?

Setiap PDF4me modul di Make memerlukan validitas KoneksiBuat atau pilih salah satu yang sesuai dengan kebutuhan Anda. PDF4me API kunci agar skenario dapat diautentikasi Excel Pembaruan baris dilakukan dengan aman.

Fakta Penting yang Tidak Boleh Anda Lewatkan

Pembaruan di tempat saja
Modul ini tidak pernah menyisipkan atau menghapus baris. Modul ini hanya menimpa sel dalam baris yang sudah ada, dimulai dari Baris Awal dan mencocokkan kolom berdasarkan nama header.
Input JSON harus berupa array.
Bahkan pembaruan satu baris pun harus dibungkus dalam tanda kurung array: [{"Name":"John"}]Objek polos tanpa tanda kurung akan menyebabkan kesalahan.
Konversi tipe bersifat opsional, bukan otomatis.
Konversi Angka dan Tanggal harus diatur ke Ya agar Format Tanggal, Format Angka, dan Nama Budaya berlaku. Jika dibiarkan pada Tidak, nilai akan ditulis apa adanya.
Buat modul PDF4me Excel Update Rows in a worksheet yang dikonfigurasi dengan Connection, File diatur ke Map dengan File Name dan Document yang dipetakan, Worksheet Name Sheet1, Json Input, Start Row 2, Convert Numeric And Date diatur ke Yes, Date Format yyyy-MM-dd, Numeric Format N2, Ignore Attribute Titles No, Ignore Null Values No, dan Culture Name en-US.

Atur File ke Map, hubungkan Nama File dan Dokumen dari modul sebelumnya, lalu berikan Input Json dan opsi konversi baris/tipe.

Parameter

Diperlukan: Informasi koneksi, nama file, dokumen, dan input JSON harus diberikan. Json Input pastilah JSON Array objek, objek tunggal tidak didukung. Semua parameter lainnya bersifat opsional dan menggunakan nilai default modul jika dibiarkan kosong.

ParameterDiperlukanApa fungsinya?Contoh
ConnectionRequiredPDF4me API connection. Click Add and paste your API key if connecting for the first time.My PDF4me Excel connection
File NameRequiredFilename of the Excel workbook including extension, used for output file identification.sales_data.xlsx
DocumentRequiredExcel file buffer mapped from a preceding module such as Dropbox Download a File or Google Drive.[Buffer from Get File]
Worksheet NameOptionalName of the worksheet to update. Defaults to Sheet1 if left blank. Worksheet matching is case-sensitive.Sheet1
Json InputRequiredJSON array of objects, one object per row to update. Property names are matched to column headers automatically.[{"Product":"Widget","Price":55.99}]
Start RowOptional1-based row number where updates begin. Row 1 is usually the header row, so data updates typically start at row 2.2
Start ColumnOptional1-based column offset used for header matching, allows skipping initial columns.1
Convert Numeric And DateOptionalYes converts JSON strings to Excel numbers and dates using Date Format and Numeric Format. No writes values as-is.Yes
Date FormatOptionalExcel date format pattern applied when Convert Numeric And Date is Yes.yyyy-MM-dd
Numeric FormatOptionalExcel numeric format pattern applied when Convert Numeric And Date is Yes.N2
Ignore Attribute TitlesOptionalYes makes JSON property name matching case-insensitive against column headers.No
Ignore Null ValuesOptionalYes skips updating any cell whose JSON value is null, preserving the existing cell content. No overwrites it as empty.No
Culture NameOptionalCulture code used to parse incoming date and number strings before conversion, important for international data.en-US

Bidang Keluaran

BidangJenisIsi di dalamnya
NameStringOutput Excel filename, matches the File Name input.
Doc DataBufferThe Excel document with the modified rows, in buffer format, ready to upload or attach.

Bagaimana Cara Mengatur Pembaruan Baris di Make?

  1. Menambahkan PDF4meMemperbarui baris dalam lembar kerja untuk Anda Make skenario.
  2. Pilih Koneksi (atau klik) Menambahkan untuk membuat satu dengan milikmu PDF4me API kunci).
  3. Di bawah Mengajukan, memilih Peta dan kawat Nama File Dan Dokumen dari modul sebelumnya (Dropbox, Google Drive, atau HTTP).
  4. Mengatur Nama Lembar Kerja jika bukan Sheet1.
  5. Bangun Input JSON array sehingga nama properti setiap objek sesuai dengan header kolom Anda, satu objek per baris untuk diperbarui.
  6. Mengatur Baris Awal ke baris data pertama (biasanya 2 jika baris 1 berisi header).
  7. Memungkinkan Konversi Angka dan Tanggal dan mengatur Format Tanggal / Format Numerik jika milikmu JSON nilai adalah string yang seharusnya menjadi Excel angka atau tanggal. Jalankan skenario, buku kerja yang diperbarui akan dikembalikan sebagai buffer.

Pengaturan Umum

Contoh Alur KerjaCommon Make scenario patterns using Update Rows in Excel.
Penjadwalan antar basis dataExcel sinkronisasi
  1. Pemicu terjadwal berjalan pada interval tetap untuk mengambil data yang berubah sejak sinkronisasi terakhir.
  2. A SQL pertanyaan atau API format panggilan mengubah catatan yang telah diubah menjadi JSON array yang sesuai dengan judul kolom lembar kerja.
  3. Get File mengambil master Excel Laporan dapat diunggah ke Dropbox atau Google Drive.
  4. Update Rows menulis nilai baru mulai dari Baris Awal 2, dengan opsi Konversi Numerik dan Tanggal diaktifkan.
  5. Buku kerja yang telah diperbarui diunggah kembali ke lokasi yang sama, menggantikan versi sebelumnya.
CRM penyegaran peluang
  1. Webhook akan aktif ketika sebuah CRM Catatan peluang telah diperbarui.
  2. Skenario tersebut membangun sebuah JSON objek dengan tahapan, jumlah, dan tanggal penutupan yang diperbarui untuk peluang tersebut.
  3. Get File mengambil buku kerja pelacakan peluang.
  4. Update Rows memodifikasi baris yang sesuai, dengan Ignore Attribute Titles diatur ke Yes untuk pencocokan header yang fleksibel.
  5. Buku kerja yang telah diperbarui disimpan kembali ke penyimpanan bersama untuk tim penjualan.
Pembaruan tingkat persediaan
  1. Suatu peristiwa sistem inventaris dipicu ketika jumlah stok berubah untuk satu atau lebih SKU.
  2. Skenario tersebut memformat SKU dan kuantitas yang diubah menjadi sebuah JSON susunan.
  3. Get File mengambil buku kerja inventaris utama dari SharePoint.
  4. Update Rows menuliskan level stok saat ini, dengan Ignore Null Values diatur ke Yes untuk mempertahankan kolom yang tidak terkait.
  5. Buku kerja inventaris yang diperbarui disimpan kembali ke SharePoint untuk visibilitas gudang.

Tips Praktis

Json Input must be an array, always
Even a single-row update needs array brackets. A bare object like {"Name":"John"} errors, wrap it as [{"Name":"John"}].
Start Row usually means row 2
Row 1 typically holds column headers. Set Start Row to 2 to update the first data row without overwriting headers.
Type conversion needs the toggle on
Date Format, Numeric Format, and Culture Name only apply when Convert Numeric And Date is Yes. Left at No, JSON values are written verbatim as text.
Header matching is case-sensitive by default
If your JSON property names differ in case from the column headers, set Ignore Attribute Titles to Yes rather than renaming every header.
Null values overwrite by default
Without Ignore Null Values set to Yes, a null in your JSON blanks the existing cell. Enable it when you only want to update the fields you actually send.
Culture Name affects parsing, not just display
Set Culture Name to match how your source data formats dates and decimals (e.g. de-DE for comma decimals), otherwise conversion can misread values.

Lembar Panduan Singkat

BidangNilai
ModuleUpdate Rows in a worksheet
ConnectionPDF4me API key
Default worksheetSheet1
Json Input shape[{"Column":"Value"}, ...] (array, always)
Typical Start Row2 (skips header row)
Type conversion toggleConvert Numeric And Date = Yes
Default date/numeric formatyyyy-MM-dd / N2
Default cultureen-US

Pertanyaan Umum

Does Update Rows insert or delete rows?+
No. The module only modifies cells in rows that already exist in the worksheet. It never inserts new rows or deletes existing ones. Use a different PDF4me Excel module if you need to add or remove rows.
What format must Json Input be in?+
Json Input must be a JSON array of objects, even when updating a single row. A bare object such as {"Name":"John","Age":31} without array brackets causes an error, it must be wrapped as [{"Name":"John","Age":31}].
How does header matching work?+
Each object in the Json Input array has its property names matched against the column headers in the target worksheet. Rows are updated sequentially starting from Start Row, with Start Column controlling any header offset.
What happens to null values in the JSON?+
By default, a null value in the JSON overwrites the corresponding cell as empty. Set Ignore Null Values to Yes to skip updating any cell whose JSON value is null, which preserves the existing content in that cell.
Can I control how dates and numbers are formatted?+
Yes. When Convert Numeric And Date is set to Yes, Date Format and Numeric Format apply Excel formatting patterns such as yyyy-MM-dd or N2, and Culture Name (for example en-US or de-DE) controls how the incoming strings are parsed before conversion. See <a href="https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings" target="_blank" rel="noopener noreferrer">Microsoft's numeric format string reference</a> and <a href="https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings" target="_blank" rel="noopener noreferrer">custom date format reference</a> for the full pattern syntax.

Studi Kasus & Aplikasi Industri

  • CRM Pembaruan Peluang: Ubah baris peluang di Excel dengan status terbaru, jumlah, dan tanggal penutupan.
  • Pembaruan Kinerja KampanyePerbarui baris metrik kampanye dengan tayangan, klik, dan konversi terkini.
  • Pembaruan Skor Prospek: Perbarui data penilaian prospek di Excel lembar pelacakan dari otomatisasi pemasaran
  • Sinkronisasi Basis Data Pelanggan: Perbarui baris data pelanggan dengan informasi kontak terbaru dan riwayat pembelian
  • Pembaruan Prakiraan Penjualan: Ubah baris perkiraan dengan data pipeline yang diperbarui dan probabilitas kemenangan

Tindakan Terkait

Tugas yang Sama di Platform Lain

Dapatkan Bantuan