Help with Lookup

stashman

New Member
Joined
May 20, 2002
Messages
18
Have database of GL transactions where i have mapped the P&L line affected. It has following columns: Month, Financial report line, Amount
There are several entries for same financial report line in specific month (so would need sum).

Trying to do lookup where I could feed financial report by looking up intersection of the month and financial report.

Month P&L Line Amount
Jan Rev-HW 100.00
Jan Rev-HW 250.00
Feb Rev-HW 200.00
Feb Rev-HW 140.00

I feel like i should be using match or index or vlookup...getting confused. At the intersection of Jan & Rev-HW, i would want the answer to be 350.00 At the intersection of Feb & Rev-HW, answer should be 340.00

Is there simple solution?
 

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.
Try this:

varios 17may2022.xlsm
ABCDEFGH
1MonthP&LLineAmountMonthP&LLine
2JanRev-HW100JanRev-HW350
3JanRev-HW250FebRev-HW340
4FebRev-HW200
5FebRev-HW140
Hoja8
Cell Formulas
RangeFormula
H2:H3H2=SUMPRODUCT(($A$2:$A$5=F2)*($B$2:$B$5=G2)*($C$2:$C$5))
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,433
Messages
6,124,863
Members
449,195
Latest member
MoonDancer

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