Values for using sensors to export files

I want to collect usage data from sensors, switches, battery values ​​and export them to a file such as Excel.

Or can you recommend another platform?

Read the whole topic, the action was changed and the new way of doing this is in the last post: How do I create a CSV file and append values to it? - #2 by tom_l