สิ่งที่เกิดขึ้นกับเซลล์สูตร
- เลือก
- ตรวจสอบ
An Excel table contains formulas such as SUM and VLOOKUP. What happens to the formulas when converted to CSV or JSON? Here is how Convert Excel to CSV or JSON handles them.
Conclusion
This tool outputs the calculation results saved in the file. It doesn't output the formulas themselves.
ขั้นตอน
- With "Choose one .xlsx Excel file", choose the file.
- Choose the "Sheet" and "Format".
- In "After conversion", check that formula cells are the resulting values.
When results are stale
When Excel saves a file, it saves the calculation results together. Files made in other software or written out by programs may have no saved results and show empty or 0.
- Remedy: open in Excel and re-save. The calculation runs and the latest result is saved.
If you want to keep formulas
CSV and JSON are formats that save values only. If you want to keep formulas, store the file in Excel format (.xlsx).
Checking the results
It is recommended to check a few places to see that the values after conversion match what you see in Excel.
- Totals and averages
- Referenced values
- Results of date calculations
Error cells
Cells showing errors in Excel (#N/A, #REF! and so on) may have the error text output. Fix them before converting.
Uses it suits
- Extracting a tallied table as data
- Handing only the calculation results to another system
ตัวอย่าง
Converted a sales table with SUM formulas in the total column to CSV. The total numbers were output instead of the formulas. That was just right for importing into another system.
Common stumbling blocks
- Values are 0 or empty: results weren't saved. Re-save in Excel.
- Decimal places differ: the difference between display rounding and the actual value.
- Want to keep other formulas: store in Excel format.
Frequently asked questions
Can formulas be output as text?
No. Values only.
สรุป
Formulas are output as their result values. If results are stale, re-save in Excel.
ใช้ “แปลง Excel เป็น CSV หรือ JSON” (ฟรี)เครื่องมือที่ใช้คู่กันได้ดี
- แปลง CSV เป็น Excel (.xlsx): แปลง CSV เป็นไฟล์ Excel (.xlsx)
- แปลง CSV และ JSON: แปลงระหว่าง CSV และ JSON ได้ทันที
- ดึงข้อความจากไฟล์ Word: ดึงข้อความธรรมดาจากไฟล์ Word
หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก
ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)