{"id":20276566,"url":"https://github.com/qtexcel/excelcolumnnumber","last_synced_at":"2025-06-26T09:37:49.228Z","repository":{"id":96136616,"uuid":"539345005","full_name":"QtExcel/excelColumnNumber","owner":"QtExcel","description":"Convert a column string in Excel to a number.","archived":false,"fork":false,"pushed_at":"2023-03-29T05:05:48.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T06:44:53.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QtExcel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"j2doll","patreon":"j2doll","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-09-21T06:45:46.000Z","updated_at":"2023-04-20T06:54:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"78c231ed-fd84-45fe-9856-9fa0fece8c72","html_url":"https://github.com/QtExcel/excelColumnNumber","commit_stats":null,"previous_names":["qtexcel/excelcolumnnumber"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QtExcel%2FexcelColumnNumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QtExcel%2FexcelColumnNumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QtExcel%2FexcelColumnNumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QtExcel%2FexcelColumnNumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QtExcel","download_url":"https://codeload.github.com/QtExcel/excelColumnNumber/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768287,"owners_count":20017116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T13:14:37.160Z","updated_at":"2025-03-04T01:32:49.533Z","avatar_url":"https://github.com/QtExcel.png","language":"C++","funding_links":["https://github.com/sponsors/j2doll","https://patreon.com/j2doll"],"categories":[],"sub_categories":[],"readme":"# QXlsx::excelColumnNumber\n\n- Convert a column string in Excel to a number. \n  - :kr: 엑셀 컬럼 문자열을 숫자로 변환합니다.\n\n- Using pure C++ and STL. I don't use Qt. \n  - :kr: 씨플러스와 에스티엘만을 사용. 큐티는 사용하지 않습니다.\n  \n## Example\n\n### :one: number to string\n\n```cpp\n    std::cout \u003c\u003c \" [1] ------------ \" \u003c\u003c std::endl ;\n\n    std::cout \u003c\u003c \"   0 : \" \u003c\u003c QXlsx::columnNumberToString( 0 ) \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \"   1 : \" \u003c\u003c QXlsx::columnNumberToString( 1 ) \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \"   2 : \" \u003c\u003c QXlsx::columnNumberToString( 2 ) \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" 100 : \" \u003c\u003c QXlsx::columnNumberToString( 100 ) \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" UINT_MAX : \" \u003c\u003c QXlsx::columnNumberToString( UINT_MAX ) \u003c\u003c std::endl ;\n```\n\n- Output : \n\n```\n [1] ------------ \n   0 : \n   1 : A\n   2 : B\n 100 : CV\n UINT_MAX : MWLQKWU\n```\n\n### :two: alphabet to number\n\n```cpp\n    std::cout \u003c\u003c \" [2] ------------ \" \u003c\u003c std::endl ;\n\n    std::cout \u003c\u003c \" a : \" \u003c\u003c QXlsx::alphabetToNumber('a') \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" z : \" \u003c\u003c QXlsx::alphabetToNumber('z') \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" A : \" \u003c\u003c QXlsx::alphabetToNumber('A') \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" Z : \" \u003c\u003c QXlsx::alphabetToNumber('Z') \u003c\u003c std::endl ;\n    std::cout \u003c\u003c \" 5 : \" \u003c\u003c QXlsx::alphabetToNumber('5') \u003c\u003c std::endl ;\n```\n\n- Output : \n\n```\n [2] ------------ \n a : 1\n z : 26\n A : 1\n Z : 26\n 5 : 0\n``` \n\n### :three: string to number\n\n```cpp\n    std::cout \u003c\u003c \" [3] ------------ \" \u003c\u003c std::endl ;\n\n    std::string columnString = \"AB\";\n    unsigned int debug1 = QXlsx::columnStringToNumber( columnString );\n    std::string debug2 = QXlsx::columnNumberToString( debug1 );\n    std::cout \u003c\u003c debug1 \u003c\u003c \"   \" \u003c\u003c debug2 \u003c\u003c std::endl;\n    assert( debug2 == columnString );\n```\n\n- Output : \n\n```\n [3] ------------ \n28   AB\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtexcel%2Fexcelcolumnnumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqtexcel%2Fexcelcolumnnumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqtexcel%2Fexcelcolumnnumber/lists"}