Connect with us

Accounting

Microsoft researchers teach LLMs to use spreadsheets well

Published

on

Large language models like ChatGPT have traditionally had trouble reading and interacting with spreadsheets, limiting their application in this realm, but recent research from Microsoft claims to have found an answer. 

The paper, SPREADSHEETLLM: Encoding Spreadsheets for Large Language Models, described the problems LLMs typically face with spreadsheets and proposed what it called the “SheetCompressor” framework to address them. 

The issue LLMs have with spreadsheets has to do with tokenage requirements. LLMs, generally, run on “tokens,” which are the basic units of data the model processes. Tokens are words, character sets, or combinations of words and punctuation that are used by large language models to decompose text into. LLMs operate by converting input text into a series of tokens, which the model then uses to understand and generate responses. 

The number of tokens determines the computational cost and capacity needed to handle the input, making token management crucial, especially for complex data like spreadsheets. For example, the phrase, “I heard a dog bark loudly at a cat” would be represented by eight tokens, one for each unique word. In order to preserve system resources, many LLMs have token limits, but even in a limitless environment, complex jobs are resource intensive, with significant computational effort that affects both performance and efficiency. 

Typically, each part of a spreadsheet — even blank cells or repeating cells or those with irrelevant information — costs tokens, meaning even a simple spreadsheet has a much higher token requirement than traditional text. Furthermore, LLMs often struggle with spreadsheet-specific features such as cell addresses and formats, complicating their ability to effectively parse and utilize spreadsheet data. These challenges have limited just how much generative AI models can be applied to reading and interacting with spreadsheets. Considering how many spreadsheets the profession tends to use, this consequently limits their application towards deep accounting work. 

What Microsoft researchers discovered, in short, is that the LLM does not need to burn tokens reading and processing the entire spreadsheet. Instead people can create a compressed version of the document to function as something like an index, with markers or “anchors” indicating especially important information like totals. Additional compression comes from grouping together similar types of data like date columns. So, in a sense, the LLM does not work through the spreadsheet itself but instead references it via a much more efficient index. 

Complex spreadsheets are further supported through a concept called “chain of spreadsheet,” which is similar to “chain of thought” prompting. The method unfolds in two stages. First, the model identifies the table that is relevant to the query and determines the precise boundaries of the relevant content. This step ensures that only pertinent data is considered in the subsequent analysis. Then, the query and the identified table section are re-input into the LLM. The model then processes this information to generate an accurate response to the query.

“Through the CoS, SPREADSHEETLLM effectively handles complex spreadsheets by breaking down the process into manageable parts, thus enabling precise and context-aware responses,” said the paper. 

Experiments with this method found that it significantly increased performance on larger spreadsheets where token limits are a particular challenge. The F1 score (which is used to measure the accuracy of an AI model) for massive spreadsheets was 75% higher than GPT-4 and 19% higher than TableSense-CNN, another spreadsheet methodology for AI; for large spreadsheets, the difference was 45% and 17% respectively; for medium spreadsheets it was 13% and 5%; and for small spreadsheets it was 8%. Overall, the results show that while the method gets more effective the larger the spreadsheet, it can still improve the efficiency of even small spreadsheets. 

“Through a novel encoding method, SHEETCOMPRESSOR, this framework effectively addresses the challenges posed by the size, diversity, and complexity inherent in spreadsheets,” the paper concluded. “It achieves a substantial reduction in token usage and computational costs, enabling practical applications on large datasets. The fine-tuning of various cutting-edge LLMs further enhances the performance of spreadsheet understanding. Moreover, Chain of Spreadsheet, the framework’s extension to spreadsheet downstream tasks illustrates its broad applicability and potential to transform spreadsheet data management and analysis, paving the way for more intelligent and efficient user interactions.”

Implications

Donny Shimamoto, founder and managing director of accounting tech-focused accounting firm IntrapriseTechKnowlogies said, by enabling LLMs to “understand” tabular spreadsheets, accountants will have increased ability to either summarize or analyze a set of data. More than that, however, he said this will likely allow even non-accountants to do the same, removing the accountant as the middle person. However while some accountants may see this as a threat, he said what this would mainly do is clear the majority of simple inquiries from their plates, letting them save their energy for more complex questions and deeper analysis.

“Implementing something like this will require good testing to ensure that the risk of hallucinations is minimized, especially if it is going to help provide non-accountants with information to support decision-making,” said Shimamoto.

David Wood, a Bringham Young University accounting professor who specializes in AI within the profession, raised a similar point, as it would allow those without significant technical knowledge to do the same kinds of tasks that, previously, could only be done by seasoned accounting experts. He raised the example of novices being able to use generative AI to make spreadsheets that only expert professionals could put together. However, while he thinks this could be possible soon, he said that, despite the Microsoft research, it hasn’t arrived just yet.

“However, there are at least three challenges holding back using GenAI with spreadsheets: the size and complexity of the spreadsheets, and the required accuracy for most uses of spreadsheets. This paper takes a large step in the right direction, but it doesn’t solve all the challenges and more work will still be needed in each of these three areas. It would be a mistake to assume that after reading this paper, we have fully figured out how to use spreadsheets and GenAI together. More work is still needed. … I think the path these researchers are taking is significant, but the research “hasn’t arrived yet” meaning that more work is needed. The accuracy rates are just not high enough…yet. Hopefully this paves the way for the next researcher to move it forward further.” he said in an email.

Continue Reading

Accounting

Continuous Auditing Transforms Corporate ERPs

Published

on

continuous auditing transforms corporate erps

As corporate accounting departments cross the threshold into late July 2026, the adoption of continuous, automated auditing systems has reached a definitive turning point. Driven by advances in artificial intelligence and deep integration with modern Enterprise Resource Planning (ERP) platforms, leading finance organizations are moving away from traditional, periodic post-hoc audits in favor of real-time, 100% transactional verification. This technological transition is redefining internal control environments, reducing compliance costs, and eliminating the structural delays inherent in legacy quarterly closing processes.

Unlike traditional auditing frameworks that rely on statistical sampling—a process that inevitably leaves operational blind spots—continuous auditing software monitors operational data feeds continuously. Every purchase order, electronic invoice, payroll disbursement, and cross-border wire transfer is automatically cross-referenced against established corporate governance parameters, regulatory tax schedules, and anti-fraud algorithms in real time. Anomalies or unauthorized ledger entries are flagged instantly, allowing internal audit teams to investigate and remediate compliance gaps immediately rather than months after the close of a financial period.

The implications for executive financial management are far-reaching. By embedding continuous verification directly into daily transaction workflows, chief financial officers gain uninterrupted visibility into the organization’s true financial standing. Real-time balance sheet auditing eliminates the severe operational bottlenecks associated with month-end and quarter-end financial reconciliations, freeing accounting professionals to focus on strategic financial modeling, tax planning, and capital allocation rather than manual data entry and spreadsheet consolidation.

However, implementing continuous auditing requires accounting leadership to invest heavily in data governance and technical upskilling. Internal audit teams must evolve from manual ledger reviewers into system architects capable of auditing complex algorithms and validating automated data pipelines. Accounting firms and corporate controllers that master continuous auditing will establish a resilient compliance framework capable of meeting stringent international regulatory standards with total transparency.

Continue Reading

Accounting

U.S. Imposes New 50% Tariffs on Canadian Imports Under Rare Legal Provision

Published

on

U.S. Imposes New 50% Tariffs on Canadian Imports Under Rare Legal Provision

WASHINGTON — In a major escalation of cross-border trade friction, U.S. President Donald Trump has signed executive orders imposing new 50% tariffs on a wide selection of Canadian exports, citing discriminatory practices by Ottawa targeting American auto, dairy, and beverage industries.

The new duties, announced Monday, will take effect in 30 days. They target a broad spectrum of consumer and industrial goods—ranging from wine, liquor, and milk products to commercial cement, furniture, clothing, and hockey equipment.

Untested Legal Mechanism

To enact the sweeping measures, the administration invoked Section 338 of the Tariff Act of 1930—a rarely used legal provision allowing the executive branch to levy additional tariffs of up to 50% on foreign nations deemed to discriminate against U.S. commerce.

White House officials noted that Section 338 addresses trade discrimination rather than national security or economic emergencies. The move comes months after prior global emergency tariffs faced legal challenges in domestic courts, signaling Washington’s pivot toward alternate statutory authorities to maintain import duties.

Senior administration officials briefed reporters that the measure directly responds to Canadian provincial bans on U.S. alcohol, restrictions on American vehicle exports, and import quota disparities affecting U.S. dairy and cheese producers relative to third-party trading partners.

“While the administration continues to secure reciprocal trade agreements globally, Canada retaliated against efforts to protect domestic industry,” U.S. Trade Representative Jamieson Greer stated.

USMCA Impact and Carve-Outs

Significantly, the newly ordered 50% duties will apply to designated items even if they otherwise comply with the United States-Mexico-Canada Agreement (USMCA).

However, the administration confirmed key targeted exemptions:

  • Energy products (including oil and natural gas)
  • Potash and critical minerals
  • Fish and seafood
  • Goods already governed by sector-specific duties (such as existing steel and aluminum tariffs)

Administration representatives emphasized that the tariffs do not stem from recent disputes concerning drifting Canadian wildfire smoke, noting that policy options regarding environmental spillover remain under separate review.

Canadian Response and Market Reaction

Following the White House announcement, the Canadian dollar experienced a sharp decline against the U.S. dollar, falling approximately 0.4% during evening trading.

Canadian Prime Minister Mark Carney issued a statement emphasizing that Canada’s earlier counter-duties had merely matched previous U.S. trade actions. “Canada stands ready to engage intensively to address outstanding issues with the U.S. to the mutual benefit of our citizens,” Carney stated, pointing to detailed proposals Ottawa submitted to modernize the USMCA framework.

Ontario Premier Doug Ford took a firmer stance, urging a “dollar-for-dollar” reciprocal response if the measures go into effect on August 19.

With a 30-day implementation window before the duties officially lock in, industry associations and trade groups on both sides of the border are calling for urgent bilateral negotiations to avert further supply chain disruption across North America.

Continue Reading

Accounting

Automated Continuous Auditing: Transforming Compliance and Real-Time Financial Oversight

Published

on

Transforming Compliance and Real-Time Financial Oversight

The traditional accounting paradigm—defined by periodic monthly closures and post-hoc annual audits—is rapidly giving way to continuous, automated financial oversight. As of July 2026, forward-thinking accounting practices and multinational corporate finance departments are leveraging continuous auditing systems powered by advanced machine learning models. These systems monitor operational transactions in real time, shifting audit methodologies from sample-based post-analysis to absolute, 100% transaction-level verification.

The operational advantages of continuous auditing are transformative. Standard auditing procedures historically relied on statistical sampling, which, despite rigorous methodology, inherently left gaps where anomalies or fraudulent transactions could go undetected for months. Modern continuous auditing platforms integrate directly with enterprise resource planning (ERP) databases, instantly cross-referencing purchase orders, invoices, bank feeds, and tax records. Any deviation from established control parameters or unusual transaction behavior triggers immediate flags for internal audit teams, dramatically reducing detection lag from quarters to seconds.

Beyond fraud prevention, continuous auditing fundamentally alters internal reporting and decision-making. Executive leadership no longer has to wait weeks after the close of a quarter to evaluate precise financial standing; real-time verified ledger data provides an uninterrupted view of operating margins, tax liabilities, and cash flow dynamics. This real-time visibility enables corporate controllers to adjust capital allocation strategies dynamically, mitigating liquidity constraints and capitalizing on emerging commercial opportunities far more efficiently than competitors bound to legacy reporting cycles.

However, implementing continuous auditing requires accounting professionals to acquire new analytical capabilities. The role of the auditor is evolving from manual data reconciliation toward system validation, algorithmic model governance, and strategic risk interpretation. Accounting firms and corporate finance departments must invest in continuous technical education, ensuring that audit staff possess the data engineering skills necessary to design, maintain, and evaluate complex automated compliance systems.

Continue Reading

Trending