top of page

Using SUMIF with Tables as an alternative to VLOOKUP


You can use the SUMIF formula as an alternative to VLOOKUP when working with tables in Excel. SUMIF makes it easy to set two different fields in the table as the search criteria.

In order to set up a table in Excel go to Insert . . .Table and select the required range of data.

After you have a table created, you can always look up the names of any existing tables by pressing CTRL + G.

The structure of a SUMIF formula is quite simple. First enter the field from the table that you want to extract data from, and then enter the references to the fields you are search for hits in. Since the data has been entered in a table, we can enter the field names rather than column letters.

=SUMIFS(Table2[H],Table2[playerID],P2,Table2[yearID],Q2)

In this example, we're searching for the names of baseball players and season years in order to determine how many hits Ed Delahanty and Dan Brouthers got between 1888 and 1896.

SUMIF has a limitation - it cannot be used to return text without an adjustment . . .


Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

​

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

​

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page