How to sum numbers from 1 to n in Excel worksheet?
In Excel worksheet, we can use the SUM function to calculate a list of numbers quickly and easily. However, when you want to sum numbers from 1 to n, do you have any good formula to solve this task?
Sum numbers from 1 to n with formula in Excel
Sum numbers from 1 to n with formula in Excel
For example, I will sum numbers from 1 to 150, the following formula can do you a favor, please do as this:
Enter this formula: =SUMPRODUCT(--(ROW(INDIRECT(B1&":"&B2)))) into a blank cell where you want to get the calculated result, and then press Enter key, the numbers from 1 to 150 have been added up as following screenshot shown:
Note: In the above formula, B1 and B2 are the first and last number that you want to sum from.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
