Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: CSV to Excel (where I keep the excel formula)

by strat (Canon)
on Sep 02, 2007 at 10:08 UTC ( #636591=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    excelPerl.pl -ane "$C->[2]->{FormulaLocal} .= '+99'" -f test.xls
    
  2. or download this
    perl excelPerl.pl -begin "use Text::CSV_XS; $csv = Text::CSV_XS->new( 
    +{ binary => 1 } )" -ane "$csv->combine( map { $_->{FormulaLocal} } @C
    +); print $csv->string, $/" -f test.xls
    
  3. or download this
    a,b,a+b
    1,4,=A2+B2
    ...
    3,2,=A4+B4
    4,1,=A5+B5
    5,5,=A6+B6
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://636591]
help
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-12-10 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (162 votes). Check out past polls.