Sum Index match with same criteria

Kulo5856

New Member
Joined
May 11, 2020
Messages
36
Office Version
  1. 365
  2. 2013
  3. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
Dear Expert,
I'm struggling with a condition for the criteria with index function

NameAmountFor PO NumberRemaining ValueNamePO NumberTotal PO Value
Raj6,500.00222943,500.00Raj222950,000.00
Sam2,500.00223057,500.00Sam223060,000.00
Jack3,000.00223172,000.00Jack223175,000.00
Raj4,500.00222939,000.00Raj223245,000.00
Raj9,500.00223235,500.00
Sam4,800.00223052,700.00

If we do Po for a person the total value will minus after releasing the next payment against the Po
For Ex. Raj total Po amount 50000 against Po no 2229 then payment released 6500 and 4500 so final is 39000
Please share the formula how to do it.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Book1
ABCDEFGHIJK
1NameAmountFor PO NumberRemaining ValueNamePO NumberTotal PO Value
2Raj6.500,00222943.500,0043.500,00Raj222950.000,00
3Sam2.500,00223057.500,0057.500,00Sam223060.000,00
4Jack3.000,00223172.000,0072.000,00Jack223175.000,00
5Raj4.500,00222939.000,0039.000,00Raj223245.000,00
6Raj9.500,00223235.500,0035.500,00
7Sam4.800,00223052.700,0052.700,00
Sheet1
Cell Formulas
RangeFormula
E2:E7E2=XLOOKUP(C2,$I$1:$I$5,$J$1:$J$5)-SUMIFS($B$2:B2,$C$2:C2,C2)
 
Upvote 0

Forum statistics

Threads
1,215,981
Messages
6,128,089
Members
449,418
Latest member
arm56

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