Vlookup/Hlookup need help

kredstonepop

New Member
Joined
Sep 11, 2019
Messages
1
Hello,

I have GL data that basically looks like this

A1:GL Acct # B1: Name C1: Total D1: Department 1 E1: Department 2 F1: Department 3
A2: 65000 B2: Wages C2: 1,000,000 D2: 500,000 E2: 250,000 F2: 250000
A3: 79000 B3: Travel C3: 250,000 D3: 100,000 E3: 100,000 F3: 50,000

Question: I want to do a lookup as follows:

A1: Account# B1: Department C1: Amount
A2: 65000 B2: 3 C3: ??????????

So basically I want to know what department 3's cost was in account 65000.

My data isn't all that large, I go from A1:A400.

Thank you in advance!!!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try

=SUMIFS(INDEX($A:$F,0,MATCH("Department 3",$1:$1,0)),$A:$A,65000)

The criteria can be directed to other cells as desired.
 
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,085
Members
449,064
Latest member
MattDRT

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