how can we import terminal output of specific task/variable/message/debug in a excel sheet ?

how can we import terminal output of specific task/variable/message/debug in a excel sheet ?

You could register the results of whatever command output you are interested in, then use a local action (or delegate to localhost) task to append to a .csv file on your ansible controller. Then you could use win_copy to copy the .csv file over to a windows desktop machine so that it can be viewed using Excel.

There might be a better way of making data in a tabular form visible though.
I run some ansible playbooks which set facts and then I use the template module to generate an html page.
Using jinja2 loops I am able to generate a tabular report which I then transfer to a webserver so that users can click on a link to see the latest version of the report.

Hope this helps,

Jon