xlookup to return a sum of return values

Mstevenson

New Member
Joined
Mar 14, 2025
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello. Not sure if xlookup can do this but here is what I'm trying to do:

In the worksheet below I'm trying to use two lookup values (Job and Code) in order to locate all instances of those values and I was hoping to have the sum of those returns (Price) calculated as the final return.

For example, I'm trying to locate all job numbers with the Code "F" and trying to find a formula that can calculate all matching prices as a sum price.

1743514561693.png
 
How about
Excel Formula:
=sumifs(c:c,a:a,e3,b:b,f3)
 
Upvote 0
Solution
Mstevenson,

Please Note: In the future, when marking a post as the solution, please mark the post that contains the solution (not your own post acknowledging that some other post was the solution).
When a post is marked as the solution, it is then shown right underneath the original question so people viewing the question can easily see the question and solution in a single quick glance without having to hunt through all the posts.

I have updated this thread for you.
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top