Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Get Excel column name for given decimal number

by Akshit (Novice)
on Mar 28, 2020 at 13:52 UTC ( [id://11114752]=note: print w/replies, xml ) Need Help??


in reply to Re: Get Excel column name for given decimal number
in thread Get Excel column name for given decimal number

Thanks all, such nice ideas to come up with for my problem. I will take those ideas and try which is the best fit for my code.

Replies are listed 'Best First'.
Re^3: Get Excel column name for given decimal number
by Tux (Canon) on Mar 28, 2020 at 16:07 UTC

    Take into account that there is a real performance difference between the three methods, which especially shows for high column numbers:

    (warning: too few iterations for a reliable count) Rate getcolname int2LATIN col2label getcolname 0.119/s -- -100% -100% int2LATIN 31.4/s 26218% -- -55% col2label 68.9/s 57742% 120% --

    So if this is hot code, don't use johngg's version, however nice his solution is :)


    Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found