Lookup (?) criteria from two columns to return the value from a third

ali_jellybean

New Member
Joined
Jun 7, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm trying to create a system where I can add project funding into a list (left image) and then have a table that will show this funding spread across the year (as in right image). I'm wondering if there is a formula that would, in the yellow cell for example, look in the list for the date in the first column AND the project in the second column and if both of these were present it would return the amount that's in the third column.

Screenshot 2024-06-20 111714.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
You could e.g. use SUMIFS as a lookup formula - provided that the "Date" header is in A1 you could use just one formula in G2:

Excel Formula:
=SUMIFS(C2:C5,B2:B5,F2:F4,A2:A5,G1:K1)
 
Upvote 0
Solution
You may want to watch for and experiment with Pivotby; it may still be in test mode and not released to everyone.

Groupby_a.xlsx
ABCDEFGHI
1
2DateProjectAmount Jul-24Aug-24Oct-24Total
3Jul-24Project 1100Project 110080180
4Aug-24Project 250Project 25050
5Aug-24Project 180Project 37575
6Oct-24Project 375Total10013075305
7
1b
Cell Formulas
RangeFormula
E2:I6E2=PIVOTBY(B3:B6,A3:A6,C3:C6,SUM)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,221,417
Messages
6,159,789
Members
451,589
Latest member
Harold14

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