Tech industry experts are urging IT decision-makers to be wary of AI vendor gimmicks such as free tokens, and to adopt a multi-vendor and multi-model strategy to avoid vendor lock-in.
“Don’t be afraid to adopt a multi-vendor approach to get value from different AI tools rather than risk lock-in with a single one,” said Max Goss, senior director analyst at Gartner.
It is unlikely one AI vendor or model will meet an organization’s requirements, Goss said.
The advice comes as more AI vendors are offering cheap tokens subsidized by venture capital in a land grab for customers. The companies are also hiring forward-deployed engineers (FDEs) to push their models to enterprises.
Once companies start developing business processes around specific AI models, they get locked into their ecosystem. “People are adopting hybrid strategies…to cut token costs, and adopting more token-efficient models,” said Jack Gold, principal analyst at J. Gold Associates.
Free and low-cost tokens from AI vendors could incentivize companies to build processes and workflows around proprietary LLMs and agents, said Max Leaming, head of data science and AI solutions at ManpowerGroup.
But as the AI landscape evolves, it’s difficult to predict whether a multi-model or multi-vendor landscape will emerge, said Logan Wolfe, partner of global AI strategy and sovereign transformation at IT consulting firm Kyndryl. “I think it could be multi-model, yes. It really comes down to the use case and the type of implementation that you’re having,” Wolfe said.
Enterprises are still in the midst of moving blue-sky experimentation to a mindset where they see AI as a powerful tool that needs to make sense from a business perspective. With that in mind, IT leaders should ground their AI strategies on use cases as opposed to vendors, Wolfe said.
“If it’s a highly regulated space, if it’s a financial sector, a healthcare sector, then you will be placing a lot more emphasis on safety, privacy, maintaining certain regulations, and so that could prevent you from rapid model switching based on cost,” Wolfe said.
For low-stakes use cases, it would be prudent to have a model-switching approach that doesn’t break the bank. “For a low-hanging fruit use case with varying volume, like a customer support data center, during heavy load times you could switch to the more capable model, then optimize that on evenings and weekends,” Wolfe said.
ServiceNow Chief Digital Information Officer Kellie Romack, who’s worked in IT for 25 years, said companies need to understand how their AI is built. “You can’t have AI built in such a way that you don’t have human beings understanding how it was built…, how to debug, back up, and retrace,” she said.
Romack has also long resisted ripping out one vendor’s platform to replace it with another. “I say, ‘Let’s talk about the technology you already have…, now let’s see the best of breed,’” she said.
After studying what customers already own and where their contracts and plans are headed, Romack looks at options based on architectural principles and the problem being solved, then runs multiple models in-house, such as Anthropic’s Claude and Microsoft’s Copilot, through one LLM gateway.
“We have a lot of different things in-house that people can put their fingers on,” Romack said.
For example, Claude might be better for reading a long Word document, while Copilot might be better for a quick summary.
She is sensitive about internal AI spending. “Every day we look at token spend. I’ll look at an engineer that’s got the same job as another engineer, and I’m like, ‘OK, you spent $10, you spent $10,000. Why?’”
Avoiding vendor lock-in is important for continuity of service. Outages hit AI services from OpenAI and Claude in recent months, and a multi-model approach provides fallback options, Gartner’s Goss said.
“If you are relying on a single provider with a single model, there’s risk there. You can mitigate that risk with a multi-model approach,” he said.
Not-yet-profitable AI companies are constructing a vast and expensive global network of server farms to support cloud-based generative AI (genAI) services. Deeply financed by venture capitalists who will one day want to see return on their investments, these centers are consuming enough memory to drive consumer technology prices higher and higher.
Yet, for all the investment now going on, it’s inevitable that new on-device genAI models will emerge. When they do, the AI tasks for which you use cloud services today will be handled on device tomorrow. And at the speed we’re going, tomorrow is not very far away.
We already know it is possible. Just look at Siri AI. To create it, Apple worked with Google Gemini — using the latter to help build and distill Apple’s own AI models, many of which now work entirely on device.
The hidden cost of the AI buildout
This move toward edge AI takes place as the tech industry pours its eggs into the AI basket, with major memory suppliers redirecting manufacturing capacity toward higher-value memory products for AI servers, such as advanced-layer 3D NAND. They’ve done so while failing to invest in additional capacity, prompting a shortage of the kind of general purpose RAM you use in your computer, console, or smartphone.
This is having a dramatic impact. Gartner says the memory shortage will cause PC shipments to drop 10.4% in 2026 and smartphone shipments to decline 8.4%, with prices on those products rising 17% and 13%, respectively, versus 2025 levels.
The AI consumer tech tax
This leaves electronics manufacturers quarrelling over the remaining supply, while shrinking profit margins force them to increase prices. Sony has already raised the PS5 price by $100, Microsoft has raised Xbox prices, and Nintendo has raised the price of its first-generation Switch. Samsung has quietly increased prices across Galaxy smartphones, tablets, and laptops. Analysts also warn that “shrinkflation” is escaping from the supermarket and coming to your tech, an insidious move in which manufacturers quietly reduce the features/performance of their devices to maintain familiar price points. That laptop you purchase could ship with a downgraded display, for example.
Apple is not immune. The iPhone 18 Pro is tipped for a significant price increase in 2026, potentially adding $100 to $150, even before tariffs are considered. Apple CEO Tim Cook recently warned of price increases ahead as a direct impact of demand for memory components.
A business model under pressure
Surely all this investment in AI servers and the increased cost of tech products will be worth it in the end, right? Writer and tech critic Ed Zitron disagrees, pointing out that for $200 a month, a user can burn $8,000 in Anthropic tokens or $14,000 in OpenAI tokens.
He argues that subsidy at this scale suggests AI economics are already broken, and that the actual value of AI may be inflated, forming a big bad bubble ready to burst once market opinion (and investment) catches on.
By spending billions chasing market share, AI has fundamentally undermined its own value, making it harder to achieve sustainable business success. Costs might well fall in future, of course, but edge AI could be the biggest cost reduction exercise of all.
Make tokens pay
Perhaps AI companies have finally begun turning things around? Maybe not. Less than three months into paying the actual costs of LLM-based services, both OpenAI and Anthropic are considering drastic price cuts, with one Cisco executive stating publicly that AI token costs are far higher than the actual value those tokens are generating at scale.
Even Meta has imposed strict limits on token usage after finding it was on track to spend billions on internal AI alone in 2026. The Times reports that two large banks spent an astonishing $1 billion on AI experiments without seeing any significant return.
That’s the use value, but what about the hardware investment? It is really hard to ignore the irony that billions of dollars are being poured into a server-based infrastructure that might become obsolete before turning any kind of profit. Today’s H200-based servers will need to be upgraded sooner or later, and when they are, where will the money come from?
Apple has a different approach
Consumer electronics leader Apple clearly sees this. While it has been accused of being behind in AI, perhaps it was just being realistic. After all, the reality seems to be that we’re experiencing something akin to venture capital backed economic socialism in the AI sector, with billions invested for no visible — or, if Zitron is right — possible return.
At the same time, Apple seems focused on building edge AI as a privacy-preserving, cost-saving alternative to the massive data center buildouts rivals have pursued.
Rather than squandering billions on a revenue-draining chatbot, Apple worked with others to create its own alternative. As part of its agreement with Google, Apple is using a large version of Gemini to train a smaller, distilled version capable of running locally on Apple hardware. Siri AI can hold conversations, pull context from a user’s emails, messages, and photos, answer live questions from the web, and act across apps, with much of the work taking place on the device itself.
These tools are also available to app developers, thanks to Apple’s Foundation Models framework. At WWDC, Apple showed how its devices can work together to run local LLMs using MLX Distributed, which means users can run on-premises, highly private AI models. And the company continues to make strategic acquisitions, such as the recent purchase of on-device AI startup Liquid AI.
On-device or off, the move has caused Apple to break with years of tradition to pack its systems with more and more memory, ironically feeding the same component pricing narrative.
The squeeze isn’t over
Who pays for all this? You do. Memory prices will continue to rise across the year, with TrendForce predicting up to 75% increases on top of the already 100% spike we’ve seen in recent months. Memory suppliers seem unwilling to ramp up supply to help bring costs down, potentially because they don’t want to be left with unused capacity once the AI bubble does burst. That means existing manufacturing is being pointed at the highest value memory components, further feeding price hikes.
When AI leaves the cloud
What happens to investors when AI stops needing a data center to be useful? The companies that survive this shift won’t necessarily be the ones who built the biggest and most costly clouds. They are more likely to be the ones who identified cloud-based AI as the start of a transition toward more intelligent devices equipped with their own on-device AI. That is precisely what Apple is building toward.
Please join me on social media at BlueSky, LinkedIn, or Mastodon, even better, please subscribe to The Corefor your daily fix of human-curated Apple News.
It was the best of trends, it was the worst of trends. It was the epoch of artificial intelligence, it was the epoch of artificial inflation.
I’m truly excited to be alive at a time when AI, formerly the stuff of science fiction, is now an everyday reality and promising so many benefits to humankind.
AI is accelerating drug discovery, slashing the cost of protein folding research, diagnosing cancers earlier than human radiologists can, automating the drudgery out of nearly every white-collar job, translating speech across hundreds of languages in real time, and giving the blind a way to see the world through a camera.
AI is giving us all this and so much more. But no amount of techno-optimism can hide the fact that AI is making just about everything more expensive.
While the AI trend is making a tiny number of rich people even richer, the public at large is paying the price through rapidly rising prices; it represents a transfer of wealth from the have-nots to the haves.
AI is a machine that eats resources. It eats chips. It eats electricity. It eats water, land, labor, and building materials. AI’s gluttony creates scarcity, and scarcity creates inflation.
Here are all the ways AI is driving up costs for you and me.
Your gadgets cost more
AI runs on memory chips and other computing hardware. AI companies buy so many of them that they’ve created a shortage. NAND prices shot up around 246% from the start of 2025 through last December, according to Kingston. Hard disk drive prices in Europe rose 46% in just four months.
The chip shortage pushed smartphone prices to all-time highs — one analyst called it a “tsunami-like shock” to the industry. Beyond that, computer and device prices will climb by 20% by the end of 2026, according to one estimate.
Greedflation has hit the software industry. Salesforce, ServiceNow, and others have increased subscription prices, blaming AI for the hikes. IT spending globally is forecast to grow 13.5% in 2026 over the previous year, reaching $6.31 trillion, according to Gartner, with the bulk of the increase driven by AI infrastructure investments.
The pricing models themselves are getting more complex and more expensive: seat licenses plus API usage plus GPU compute plus data storage plus compliance layers. What used to be one subscription is now five line items.
The services you buy cost more because companies are burning money on AI and passing on the costs to you. While tokens are getting cheaper, the new reasoning models can use anywhere from several times to tens of times more tokens than traditional models for comparable tasks.
SaaS inflation now runs at 13.2%, which is nearly five times the consumer inflation rate, and a majority of that increase is due to AI costs.
Goldman Sachs forecasts that agentic AI could drive a 24-fold increase in token consumption by 2030, and that applies to the companies that provide enterprise services.
Wholesale electricity prices near data center clusters have more than doubled since 2020. Goldman Sachs says electricity inflation will hover around 6% through 2027.
The utilities build new power plants and transmission lines to serve these data centers, then hand the bill to everyone on the grid. You pay for AI’s appetite, whether you use AI or not.
Your heating bill goes up, too, because the same natural gas that warms your home is being burned to generate power for data centers.
Your car costs more
Modern cars are computers on wheels. And a new automotive chip shortage is now underway. Prices for the memory chips that go into cars are expected to rise 70% to 100% in 2026 adding as much as $400 to the price of a car.
Your house costs more
Data centers need land near power lines and water. They buy it at record prices, and they outbid the people who would have built homes on it. In Texas, data centers compete directly with homebuilders for utility-ready lots. In Northern Virginia, the data center buildout is squeezing the housing supply in a market that is already short. In Columbus, Reno, and Salt Lake City, data center land deals are pushing up land values beyond anything those markets have ever seen for industrial property. And the houses that do get built cost more, because data center construction has driven up wages for workers by 25% to 30%.
Data centers even compete with public infrastructure projects for the same crews and the same concrete, copper, and steel — driving up the cost of roads and public works.
Everything costs more
AI is helping all kinds of companies fleece customers. Research from Carnegie Mellon in 2025 found that AI-driven ranking and pricing systems raise prices.
AI-powered pricing algorithms now set the price of your rideshare, your flight, your hotel room, even your concert ticket. They use AI to estimate the maximum amount you’re willing to pay, then charge you that amount. Called surge pricing or dynamic pricing, the bottom line is that it affects your bottom line.
A 2020 study in the American Economic Review showed that AI algorithms create a poverty premium: They learn that people with fewer alternatives are less sensitive to price, so they charge poor people more.
Here’s another weird phenomenon hardly anyone talks about: When competing companies all use similar AI pricing systems, they can arrive at higher prices together without ever talking to each other. It adds up to a kind of accidental price-fixing.
Food costs more
Higher electricity prices flow through the entire economy. Farms, food processors, trucking companies, and stores all pay more for power because of AI consumption, and they pass those costs down the chain until they’re ultimately paid by food consumers.
Data centers are also consuming land that was once used for farming, forcing some farms to locate further away from population centers.
Texas is projected to lose $3.3 billion by 2029. Meta’s got a 20-year sales tax exemption from the state of Louisiana on data center equipment worth an estimated $3.3 billion. Pennsylvania will probably give around $2 billion in data center tax breaks.
AI may one day change the world. But for now, it’s mainly just changing the cost of living.
AI disclosures: I don’t use AI for writing. The words you see here are mine. I used a few AI tools via Kagi Assistant (disclosure: my son works at Kagi) as well as both Kagi Search and Google Search as one part of my fact-checking for this column. I used a word processing product called Lex, which has AI tools, and after writing the column, I used Lex’s grammar checking tools to hunt for typos and errors and suggest word changes. Why I disclose my AI use and encourage you to do the same.
Enterprises implementing agentic AI face a challenge: Which tools should they allow their agents to use, where can they be found, and how can they be used safely? A new protocol, Agentic Resource Discovery, or ARD, aims to let agents answer those questions for themselves. Behind it are Google, Microsoft, Cisco, Nvidia, Salesforce and others.
ARD aims to standardize the way that tools and services are shared across systems within a corporate domain. For example, when investigating a production problem, an agent may want to query engineering documentation and open support tickets, deployment history and observability systems, all of which could be managed by different registries and across different silos. There is no common layer that pulls them together. ARD has been designed to be that layer.
It operates across two levels. Catalogs and Registries. In the first, an organization publishes a catalog setting out its available capabilities. The Registries layer act as a form of search engine, crawling those published catalogs.
The ARD specification is available now. Organizations are invited to publish their own catalogs using the quickstart guide. After this, they are able to join the community and participate in the evolution of ARD.
With the market capitalization of AI companies soaring, US Senator Bernie Sanders is looking to give the American people a piece of the action.
The veteran senator for Vermont has introduced the American AI Sovereign Wealth Fund Bill, aiming to give the public a 50 percent ownership in the largest AI companies in the US. It’s a timely move with both OpenAI and Anthropic preparing for the imminent IPOs.
Sanders is not the only one pondering such a move. As the bill notes, OpenAI has proposed the creation of a “Public Wealth Fund” giving citizens a stake in “AI-driven economic growth,” while Anthropic has proposed a sovereign wealth fund to “shape the sector’s behavior.” President Trump’s advisors are also contemplating the possibility of the government grabbing a stake in major AI corporations, according to media reports.
Sovereign wealth funds are not a new idea: Many administrations across the world have implemented them, notably Norway which has about $2 trillion in its wealth fund.
Sanders’ proposal would give the public a direct ownership stake in the largest AI companies, but, he said, it wasn’t just about the wealth. “The foundation of AI is based on the collective knowledge of humanity and the creative work of tens of millions of people. The American people must have the ability to slow it down and make sure that AI benefits humanity, not just the richest people on the planet. That’s precisely what this legislation does,” he said.
An IT executive changing jobs usually attracts little attention outside a narrow group of people, but Noam Shazeer’s move from Google to OpenAI is as momentous as any high-value soccer transfer.
He announced the news in a post on X: “I’m excited to share that I’ll be joining OpenAI and look forward to working with the exceptional team there.”
Shazeer initially achieved fame as one of the eight co-authors of the influential AI paper Attention Is All You Need, published when he was working at Google Brain. He is also one of the creators of the transformer technology that lies at the heart of modern AI models.
He left Google when the company failed to back his chatbot Meena and was tempted back when Google subsequently bought the company he founded, Character.AI, for $2.7 billion. That company achieved notoriety when it was sued by a grieving mother, who alleged that a Character.AI chatbot had contributed to her son’s death by suicide. The company subsequently settling out of court.
Shazeer has since been working as the co-lead on Google’s Gemini project. It’s not clear what role he will play at OpenAI, but hiring someone with his background shortly before the company’s IPO could be an attractive move for investors.
Google, Microsoft, OpenAI, and others want to help enterprises demonstrate that their AI applications are behaving themselves through the creation of a new foundation.
The Appia Foundation will, it explained rather impenetrably, “establish modular specifications that provide a connecting layer to bridge foundational global standards with practical, trusted assessments across the global AI value chain.”
Those specifications will help AI users ascertain whether the systems they are using meet all the obligations that apply to them in the form of standards and regulations, it said. It’s a challenging task with so much regional variation in requirements, and where the EU, for example, is more tightly controlled than the US.
The Foundation has established a set of criteria to demonstrate conformity with what is expected. There are two layers: the Requirements and Guidance layers will help users determine what is actually required, while the Assessment Enablement layer will look at how those requirements are evaluated.
Appia stressed that what it is offering are not standards — which are set by recognized international bodies such as ISO/IEC — but a means of assessing what those standards mean and how they can be used by organizations. However, the Foundation said that some of the criteria that it is introducing may become standards themselves after a period of time.
The Appia Foundation is hosted by the Linux Foundation’s Joint Development Foundation, and its other members include Arm, Ericsson, Mastercard, Mitsubishi Electric, Omron, Schneider Electric, and Siemens. It is also looking to bring academics and government into the fold, so that it can establish an advisory board.
Microsoft Office users may find that some of their applications are failing to open when called on by third-party applications. It’s an issue that has emerged after the latest round of Microsoft updates.
The problem affects Word, Excel, and other Office applications opened from third-party offerings including CCH Engagement, Workpaper Manager, Zotero, or dental office software such as Dentrix or Softdent.
The update issued on June 9 appears to have triggered problems with the OLE automation that these third-party applications use to interact with Office. Users have reported that files are failing to open, with no error message indicating what has gone wrong,
According to one Windows user forum, the issue is particularly frustrating because of this lack of error message. As one user put it, “‘Word won’t open from our workpaper system’ is functionally the same as ‘Word is broken.’ To an administrator, the difference determines whether the next hour is spent repairing Office, rolling back Windows, calling a line-of-business vendor, or opening a Microsoft support case.”
Microsoft has said that it is aware of the issue and is working towards a resolution.
Deleting mystery file
The company is also looking to fix a minor issue that has emerged from this latest round of updates: Users are finding that when items are deleted, the confirmation dialog box displays the internal Recycle Bin file name (for example, $Rxxxxx.ext) instead of the original file name. However, Microsoft stressed that in the Recycle Bin, the item still appears with its original name.
OpenAI has introduced spend controls and enhanced usage analytics for ChatGPT Enterprise to enable organizations to monitor AI adoption, track consumption across teams, and set budgets for AI usage. But, analysts cautioned, it still can’t show how those costs lead to business benefits.
The new features provide administrators with centralized dashboards showing how ChatGPT is being used across an organization, enabling them to understand adoption patterns, and manage AI costs by setting budgets and tracking spending.
“The Global Admin Console brings ChatGPT and Codex credit usage into one view, so admins can see a more granular breakdown of credit consumption across users, products, and models — helping them understand where spend is coming from and how it maps to actual credit usage,” OpenAI said.
A shift toward AI cost governance
The introduction of budgeting and usage analytics reflects a broader change in enterprise priorities, according to Biswajeet Mahapatra, principal analyst at Forrester.
“Enterprises are clearly shifting from adoption-led enthusiasm to cost and value governance, but this is a natural maturity transition rather than a pullback,” Mahapatra said. “AI is no longer an adoption problem but a measurement and credibility problem, with productivity gains present but fragmented and hard to tie to financial outcomes.”
As AI expands across business units, spending becomes distributed across teams, tools and experiments, making visibility and governance increasingly important, he said.
“Budgeting, usage visibility and spend controls are therefore becoming foundational, not just operational concerns, as they enable alignment between technology usage and business outcomes,” Mahapatra added.
OpenAI is addressing those needs with its new dashboards and spending controls address, he said.
Agent sprawl will add to cost control challenges
Anushree Verma, senior director analyst at Gartner, said AI cost governance is becoming a focus for enterprises, as fragmented pricing models, vendor-defined consumption units and inconsistent pricing structures make it difficult for organizations to predict AI costs.
She expects the challenge to intensify over the next few years as enterprises scale up their use of AI.
“By 2028, an average global Fortune 500 enterprise will have over 150,000 agents in use, up from less than 15 in 2025, generating significant agent sprawl, IT complexity and management challenges,” she said.
Against that backdrop, OpenAI’s new administrative capabilities provide organizations with tools to monitor organizational usage and spending as AI deployments become larger and more distributed.
Measuring AI value beyond consumption
While OpenAI’s analytics emphasize adoption patterns and usage visibility, analysts say enterprises will ultimately need to connect AI consumption with business outcomes.
“Token consumption alone is insufficient because it measures activity rather than impact,” Mahapatra said.
Instead, organizations should evaluate AI initiatives using business metrics such as revenue growth, cost reduction and risk mitigation alongside operational indicators including productivity improvements and quality gains.
Verma said traditional cloud FinOps practices are also evolving to accommodate AI’s usage-based economics.
“Traditional FinOps practices were built around predictable, centralized cloud environments and are insufficient for handling unpredictable AI consumption metrics, such as token usage, LLM requests and GPU hours,” she said.
She added that real-time tracking is becoming increasingly important as multiagent systems scale, because misconfigurations can cause AI costs to rise rapidly across interconnected environments.
One of the most commonly used Microsoft programs, Excel is highly useful for data collecting, processing, and analysis. To fully harness Excel’s powers, though, you need to make use of formulas.
Excel formulas allow you to perform calculations, analyze data, and return results quickly and accurately. The usefulness of formulas is even greater once you start dealing with large data sets. With the correct formula, Excel can process vast amounts of information in a matter of seconds.
In this article we’ll look at five useful types of formulas and functions that will get you started performing data analysis in Excel. Along the way, you’ll learn several different ways to enter formulas and functions in Excel.
We’ll demonstrate using Excel for Windows under a Microsoft 365 subscription. If you’re using a different version of Excel, you might not have exactly the same interface and options, but the formulas and functions work the same.
If you have the right kind of M365 subscription, you can have Microsoft’s generative AI assistant, Copilot, create formulas for you. This requires an M365 Personal, Family, or Premium plan for individuals or an M365 business or enterprise plan with a paid Copilot add-on subscription — which means not everybody has access to Copilot in Excel. Even if you do, it’s helpful to know what formulas can do and how to work with them so you can write better prompts for Copilot. We’ll cover using Copilot to create Excel formulas later in this story, but first we’ll give you a solid understanding of how to work with formulas and functions.
A formula is an expression that operates on values in a range of cells in Excel. Using formulas, you can perform calculations and data analysis on the contents of the cells. Formulas can be as simple as adding a column of numbers together or as complex as returning the kurtosis of a data set. They can be incredibly useful when you want to turn spreadsheet data into meaningful information for driving business decisions.
What is a function in Excel?
A function is a built-in formula in Excel — basically, a shortcut for performing a calculation or other operation on cell data. There are around 500 Excel functions, and the list continues to grow every year. Fortunately, most of the actions that a typical business user would want to perform can be done with just a handful of functions.
1. Basic mathematical formulas and functions
We’re going to group these formulas together since they are very simple and have similar syntax. All formulas in Excel start with the equal sign (=) and build from there.
Adding, subtracting, multiplying, and dividing
To add the numbers in two cells together, first click the on the target cell where you want the total to appear. Then type = in the cell to start the formula.
loading="lazy" width="400px">
Starting a formula in Excel.
Shimon Brathwaite / Foundry
Next, click on the cell that contains the first number you want to add, and its cell reference (such as A2) will appear next to the equal sign in the formula.
loading="lazy" width="400px">
When you select a cell when building a formula, its cell reference appears in the formula.
Shimon Brathwaite / Foundry
Type + next to the first cell reference. Then click the cell that contains the second number you want to add, and its cell reference (such as A3) will appear next to the + sign. The full syntax for the formula to add the values in cells A2 and A3 is:
=A2+A3
loading="lazy" width="400px">
The complete addition formula appears in both the target cell and the formula bar above.
Shimon Brathwaite / Foundry
Note that in addition to appearing in the target cell, the formula also appears in the formula bar directly above the worksheet. Once you’ve inserted the initial = sign in the target cell, you can type your formula in the formula bar. It’s sometimes easier to see the whole formula and work with it in the formula bar than down in the worksheet page.
If you wanted to add additional numbers to your total, you’d type another + sign, select another cell, and so on. Once your formula is complete, press Enter, and the result appears in the target cell.
loading="lazy" width="400px">
Press Enter, and the result appears in the target cell.
Shimon Brathwaite / Foundry
Subtraction, multiplication, and division calculations work the same way. You simply change the operator — the symbol that tells Excel what math operation you want to perform — from the + sign to the – sign for subtraction, the * sign for multiplication, or the / sign for division.
loading="lazy" width="400px">
Subtraction, multiplication, and division actions. The formula for each is shown in the formulas bar and the result in the target cell.
Shimon Brathwaite / Foundry
Adding numbers with the SUM function
There’s a quicker way to add together a group of numbers. This is where Excel’s built-in SUM function comes in.
First click on the target cell where you want the total to appear. Then type =SUM to start the function. A list of options will come up. Click the first option, SUM. You’ll now see =SUM( in the target cell.
loading="lazy" width="400px">
Starting a SUM function.
Shimon Brathwaite / Foundry
Just underneath the cell with the SUM function is a tooltip showing the SUM syntax:
=SUM(number 1, [number2],…)
To add individual cells together, select a cell, type a comma, select another cell, and so on. (Alternatively, you can type a cell reference, type a comma, type another cell reference, and so on.)
If you want to add consecutive cells (such as in a row or column), select the first cell, then hold down the Shift key and select the final cell in the group. (Or you can type in the cell references for the first and last cells separated by a colon — for instance, A2:A7 selects A2, A7, and all the cells in between.)
loading="lazy" width="400px">
Select the range of cells you want to add together.
Shimon Brathwaite / Foundry
Once all the cells you want to add together are selected, hit Enter.
Now you should see the final result, which is the sum of the numbers you highlighted. If you highlight that target cell again, you’ll see the full formula in the formula bar — in our example, it’s:
=SUM(A2:A7)
loading="lazy" width="400px">
The SUM function is shown in the formulas bar; the result appears in the target cell.
Shimon Brathwaite / Foundry
One important thing to note for all Excel formulas is that they produce relative values. This simply means that if any of the values in the selected cells changes, then the final number will change to reflect that.
loading="lazy" width="400px">
If the value of a cell used in a formula changes, the result also changes.
Shimon Brathwaite / Foundry
If you want to make it an absolute value, a number that will not change even if the cells that were used to calculate it change, then you need to right-click the cell and select Copy from the pop-up menu. Then right-click the cell again and, under Paste Options, select the Values button (the icon of a clipboard with 123).
loading="lazy" width="400px">
Copy and paste the value into the cell to prevent the value from changing if one of the source cell’s values changes.
Shimon Brathwaite / Foundry
Now when you select that cell you’ll just see the plain number, not a formula, in the formula bar.
loading="lazy" width="400px">
The cell now contains an absolute value, not a formula.
Shimon Brathwaite / Foundry
Tip: Excel provides a SUM shortcut in certain circumstances. If you have a series of numbers in a row or a column, Excel assumes you want to add them together. So if you place your cursor in the cell to the right of a row of numbers and click the AutoSum (Σ) button toward the right end of the Ribbon’s Home tab, Excel automatically selects the numbers in the row, then adds them together when you press Enter. Likewise, if you place your cursor in the cell below a column of numbers, click AutoSum, and hit Enter, Excel totals up the numbers in the column.
loading="lazy" width="400px">
AutoSum is a shortcut for adding a row or column of numbers.
Shimon Brathwaite / Foundry
Calculating the average with the AVERAGE function
To calculate the average of a group of numbers, repeat the same steps but using the syntax =AVERAGE and highlighting the cells containing the numbers that you want to use in the calculation.
loading="lazy" width="400px">
To quickly calculate the average of a group of numbers, use the AVERAGE function.
Shimon Brathwaite / Foundry
Tip: As with SUM, there’s a shortcut for using the AVERAGE function if you have a series of numbers in a row or a column. Place your cursor in the cell to the right of a row of numbers or in the cell below a column of numbers. Click the tiny down arrow at the right side of the AutoSum button, select Average from the menu that appears, and hit Enter. Excel calculates the average of the values in that row or column.
loading="lazy" width="400px">
There’s an AutoSum shortcut for the AVERAGE function as well.
Shimon Brathwaite / Foundry
Find more details, examples, and best practices for these functions at Microsoft’s SUM function and AVERAGE function support pages.
2. The IF function
This function helps you automate the decision-making process by applying if-then logic to your data. Using this function, you can have Excel perform a calculation or display a certain value depending on the outcome of a logical test. For example, you can create a test that checks if the value of a cell is greater than or equal to the value of 18 and enter “Yes” or “No” accordingly.
While we’re learning this function, we’ll cover another way to enter functions in Excel: by using the Formulas tab on the Ribbon. Here you’ll find buttons that provide quick access to functions by category: AutoSum, Financial, Logical, Text, Date & Time, and so on. Being able to browse through functions by category can be helpful if you can’t remember the exact name of a function or aren’t sure how to spell it.
To enter the IF function, select the target cell, and on the Formulas tab, click the Logical button, then select IF from the list of functions that appears.
Alternatively, you can click the Insert Function button all the way to the left of the Formulas tab. An “Insert Function” pane appears, showing a list of commonly used functions.
loading="lazy" width="400px">
Instead of typing = to start a function, you can go to the Formulas tab and select Insert Function.
Shimon Brathwaite / Foundry
Select IF from the list and click OK. (If the function you want isn’t in the “Commonly Used” list, select a different category or All to see all available functions.)
The Function Arguments pane appears, and you’ll see =IF() in the target cell.
loading="lazy" width="400px">
You can use the Function Arguments dialog box to build a function.
You’ll notice that the Function Arguments pane for the IF function has fields for Logical_test, Value_if_true, and Value_if_false. In our “greater than or equal to 18” example, the logical test is whether the number in the selected cell is greater than or equal to 18, the value if true is “Yes,” and the value if false is “No.” So we’d enter the following items in the pane’s fields like so:
Logical_test: B2>=18
Value_if_true: “Yes”
Value_if_false: “No”
or just type the full formula into the target cell:
=IF(B2>=18,”Yes”,”No”)
This tells Excel that if the value of cell B2 is greater than or equal to 18, it should enter “Yes” in the target cell. If the value of cell B2 is less than 18, it should enter “No.”
loading="lazy" width="400px">
The IF function in action.
Shimon Brathwaite / Foundry
Tip: When using functions like this, rather than entering the function repeatedly for each row, you can simply click and drag the tiny square on the bottom right of the cell that contains the function. Doing so will autofill each of the rows with the formula, and Excel will change your cell references to match. For example, when the formula we used in cell C2 that references cell B2 is autofilled into cell C3, it changes to reference cell B3 automatically.
loading="lazy" width="400px">
Autofilling a formula to subsequent rows in the column.
Shimon Brathwaite / Foundry
Find more details at Microsoft’s IF function support page.
3. The SUMIF and COUNTIF functions
SUMIF is a more advanced SUM function that allows you to add up only the values in a range that meet the criteria you specify. To use this function, you must specify the range of cells to apply the criteria to, the criteria for inclusion, and, optionally, the sum range, which is the range of cells to total if that’s different from the initial range. The syntax is as follows:
=SUMIF(range,criteria,[sum_range])
Note that any criteria with text or mathematical or logical symbols must be enclosed in double quotes.
In the sales spreadsheet shown below, for example, suppose you want to total up only the sales that are more than $100. The criteria range is C2 to C9, and the criteria is “greater than 100.” Since you’re adding up the values in that same cell range (C2 to C9), you don’t need to supply a separate sum range. So your formula is:
=SUMIF(C2:C9,”>100″)
loading="lazy" width="400px">
Using the SUMIF function.
Shimon Brathwaite / Foundry
What if instead you want to find the total for all sales in the East region only? To do that you’ll have to specify both the criteria range (cells B2 to B9) and the sum range (cells C2 to C9). This is the formula:
=SUMIF(B2:B9,B2,C2:C9)
Note that you don’t have to type out “East” for the criteria. You can simply type B2 or click the cell B2 to have Excel search for the text it contains.
loading="lazy" width="400px">
Using SUMIF with both a criteria range and a sum range.
Shimon Brathwaite / Foundry
There is a similar function called COUNTIF that lets you create a count of values that meet specified criteria. The syntax is as follows:
=COUNTIF(range,criteria)
So to count the total number of sales in the West region, for instance, you supply the range of cells to apply the criteria to (B2 to B9), followed by the criteria (“West” or cell B3). The formula is:
=COUNTIF(B2:B9,B3)
loading="lazy" width="400px">
The COUNTIF function can instantly count up items that meet your criteria.
Shimon Brathwaite / Foundry
What if you want to apply multiple criteria to your data, such as calculating total sales for books in the East region, or counting the number of sales over $100 in the West region? Excel can do that too, via functions called SUMIFS and COUNTIFS. These functions use more complex syntax than SUMIF and COUNTIF. For more details, use cases, and best practices for all four of these functions, see Microsoft’s SUMIF, SUMIFS, COUNTIF, and COUNTIFS support pages.
4. The CONCAT function
This function is useful for piecing together text from different cells into one complete string. For instance, maybe you have a worksheet with different columns for people’s first and last names, but you want to put first and last names together. Other common use cases are completing an address, reference number, file path, or URL. The syntax is as follows:
=CONCAT(text1,text2,text3,…)
In this example we will use CONCAT to combine a list of first names and last names into a full name with a space in between. To do so we simply place the cursor in cell C2, type =CON and select CONCAT from the list of options that appears. Next, select the cell that contains the first name (A2) and add a comma, a blank space surrounded by quotation marks, and another comma. Then add the last name by selecting the adjacent cell (B2) and hit Enter. Here’s the full formula:
=CONCAT(A2,” “,B2)
Next, click and drag the bottom right of cell C2 to autofill the formula in all the other rows.
loading="lazy" width="400px">
The CONCAT function combined the values from column A with those from column B.
Shimon Brathwaite / Foundry
For more details and examples, see Microsoft’s CONCAT function support page.
5. The VLOOKUP function
This is one of the most commonly used functions in Excel and a valuable data analysis tool. VLOOKUP lets you look up a value in a table and return information from other columns related to that value. It’s very useful for combining data from different lists or comparing two lists to find matching items. To use this function, you need to provide three to four pieces of information:
The value you want to look for. This is known as the lookup value.
The range of cells to look in. This is known as the table array.
The column that contains the information you want to return, called the column index number.
Optionally, the type of lookup you want to perform: TRUE or FALSE. This is known as the range lookup. FALSE means you want an exact match for the lookup value, while picking TRUE returns the best approximate match. If you don’t specify a range lookup, VLOOKUP defaults to TRUE.
The lookup value must be in the first column of cells you specify in the table array. The leftmost column in the table array has a column index number of 1, with subsequent columns numbered 2, 3, and so on.
In this example, we’ll look up what region our employees work in. To do so, we first need to specify the value that we are going to search for: the employee name Mike (cell A2). Next, we need to highlight the entire cell range (table array) that we want to look in: cells F2:G8.
Then we specify which column holds the information that we want. Rather than picking the column itself, we count from left to right within the table array. Since the column that contains the region is the second from the left, type in 2.
Lastly, we enter the TRUE (best approximate match) or FALSE (exact match) option. TRUE is typically only used with numbers or when you aren’t sure if the value you want is in the table. Since we know the value we want is in the table, we will pick FALSE. Generally, FALSE is the better option, as it returns more accurate results.
This is the full formula:
=VLOOKUP(A2,F2:G8,2,FALSE)
loading="lazy" width="400px">
Use VLOOKUP to find values linked to other values in large data sets.
Shimon Brathwaite / Foundry
This is an oversimplified example using a small data set, but when you need to search through a spreadsheet with thousands (or tens of thousands) of cells, VLOOKUP is a huge time-saver and reduces the possibility of errors. For more details and examples, see Microsoft’s VLOOKUP function support page.
Using Copilot to create Excel formulas
Remembering all these different formulas and functions can be difficult, so another good approach for those who have access to Copilot in Excel (see details at the top of this story) is to use the AI tool to dynamically create formulas that meet your needs. Using Copilot, you can describe what you want the formula to do and have the AI generate the syntax for you. In this section we’ll demonstrate with two sample data sets.
To access Copilot, click the Copilot icon on your ribbon toolbar or at the bottom right of your screen.
To invoke Copilot, click its icon, which you might find in the ribbon toolbar up top or floating at the bottom right of your Excel window.
Shimon Brathwaite / Foundry
The Copilot sidebar opens along the right side of your spreadsheet. Type in a prompt describing the formula you want created — in this example, a simple formula that adds up all the sales values in the data set. Be sure to instruct Copilot where to place the formula:
Create a formula in B7 that sums all of the sales
Describe the formula you want Copilot to create.
Shimon Brathwaite / Foundry
Click the submit arrow in the chat window, and Copilot will create and insert the formula to give you the result you want.
Copilot has inserted the correct Excel formula for the sum operation, with the result appearing in cell B7.
Shimon Brathwaite / Foundry
That was a simple one. Now try a more advanced example working from a more complex data set, as shown in the screenshot below.
A more complex data set for our second example.
Shimon Brathwaite / Foundry
Try the following prompt:
Create a formula in G2 that calculates total revenue per unit while accounting for the discount on each purchase. Then fill the formula down for all rows and create a summary table showing total revenue by Region.
Click the submit arrow, and it should create something like this:
Copilot creates the requested formula and fills in the results.
Tip: It’s not required, but it can be helpful to format your spreadsheet as a table when working with Copilot. This helps define more clearly the exact cells for Copilot to use when it creates formulas or takes other actions on your data.
You’re just getting started
In this story you’ve seen how powerful formulas and functions can be in Excel — and we’ve only the scratched the surface of what they can do. Once you get comfortable using them, you can explore some of the myriad prebuilt functions Excel offers and learn how to build more complex formulas (including nesting functions). That’s all beyond the scope of this article, but a great place to start is Microsoft’s “Overview of formulas in Excel” support page, which includes links to several helpful tutorials.
For those who have access to it in Excel, experimenting with Copilot is another great way to learn. You can review the steps it took and the formulas it created to get a better understanding of how formulas work and what they’re capable of.
This story was originally published in May 2023 and updated in June 2026.