0

I have a simple Excel file available for download here. The file contains two columns, but when I read the file and subsequently write it back to an .xlsx format, certain properties, especially the newline property in some rows, are lost.

Example Excel file:

enter image description here

I read the excel file using read_xlsx :

library(readxl)
library(writexl)
df <- read_xlsx("./Excel Files/Test.xlsx", sheet = 1) 

enter image description here

In the end if I write the xlsx:

write_xlsx(df,"Test2.xlsx")

Output of write xlsx:

enter image description here

Thank you for the help

Golem
  • 100
  • 9

0 Answers0