index with match

ezzat

New Member
Joined
Dec 26, 2024
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
You need an equation on the sheet to extract the salary when two conditions are met
رمز تم التحقق منها بواسطة المنتدى
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
No need for Index/Match here.

If you had Excel 2016 or newer, you could simply use a SUMIFS formula like this:
Excel Formula:
=SUMIFS(C:C,A:A,G15,B:B,H14)

But if you are really using Excel 2010, you can use SUMPRODUCT, like this:
Excel Formula:
=SUMPRODUCT(--(A:A=G15),--(B:B=H14),C:C)
 
Upvote 0
Solution
You are welcome.

If the SUMIFS formula worked for you, that implies that you are probably using an Office version newer than the 2010 shown in your profile.

If that is the case, I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,225,969
Messages
6,188,112
Members
453,460
Latest member
Cjohnson3

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