Skip to main content

Easily lookup and sum the first or all matched values in rows or columns

Author: Xiaoyang Last Modified: 2024-12-06

Kutools for Excel

Boosts Excel With 300+
Powerful Features

Have you ever tried to lookup a specific value in a row or a column, and then sum the matching values together to get the total amount in Excel? Normally, you can apply some formulas for solving this task, but, here, I will introduce an easy – feature, Kutools for Excel’s LOOKUP and Sum, with this utility, you can quickly lookup and sum the first or all matched values in rows or columns without remembering any painful formulas.

Lookup and sum the first or all matching values in a row or multiple rows

Lookup and sum the first or all matching values in a column or multiple columns


Lookup and sum the first or all matching values in a row or multiple rows

To sum the first or all matching values in a row or multiple rows based on the specific criteria, please do with the steps:

1. Click Kutools > Super LOOKUP > LOOKUP and Sum, see screenshot:

shot-lookup-and-sum-1

2. In the LOOKUP and Sum dialog box, please do the following operations:

  • (1.) Select Lookup and sum matched value(s) in row(s) option from the Lookup and Sum Type section;
  • (2.) Specify the lookup data, output range and data table as you need in the Select Range section;
  • (3.) Select the type of the result from the Options section.

shot-lookup-and-sum-2

3. Then, click OK, you will get the following results as you need:

Lookup and sum the first matching values Lookup and sum all the matching values
shot-lookup-and-sum-3 shot-lookup-and-sum-4

Lookup and sum the first or all matching values in a column or multiple columns

To sum the first or all matching values in a column or multiple columns based on the specific criteria, please do as this:

1. Enable this feature by clicking Kutools > Super LOOKUP > LOOKUP and Sum.

2. Then, in the LOOKUP and Sum dialog box, please do the following operations:

  • (1.) Select Lookup and sum matched value(s) in column(s) option from the Lookup and Sum Type section;
  • (2.) Specify the lookup data, output range and data table as you need in the Select Range section;
  • (3.) Select the type of the result from the Options section.

shot-lookup-and-sum-5

3. Then, click OK, you will get the following results as you need:

Lookup and sum the first matching values Lookup and sum all the matching values
shot-lookup-and-sum-6 shot-lookup-and-sum-7

Demo: Easily lookup and sum the first or all matched values in rows or columns

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon