Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

HLookup/Indexx Hi, Here I attached one sample sheet..thiss is my data base.. I w

ID: 3565331 • Letter: H

Question

HLookup/Indexx

Hi,

Here I attached one sample sheet..thiss is my data base..

I want to look up these data by month/center wise ...

.if I put month or month code in an another sheet..., i will get all revenue details with center wise..

Please help me...

Thankz in Advance...........

January February Center 1 Center 2 Center 3 Center 4 Center 1 Center 2 Center 3 Center 4 1 Revenue 1 100 200 5 4 100 200 5 4 2 Revenue 2 200 150 10 8 200 150 10 8 3 Revenue 3 300 75 15 12 300 75 15 12 4 Revenue 4 400 20 20 16 400 20 20 16

Explanation / Answer

Hi,

I changed your table to include a month in every columns as below.

I then created another table in a different sheet as below.

The formula in B2 is this. Drag right and down.

=SUMPRODUCT((Sheet2!$B$3:$B$6=$A2))*(Sheet2!$C$2:$J$2=B$1)*(Sheet2!$C$1:$J$1=$A$1)*(Sheet2!$C$3:$J$6))

February Centeer 1 Center 2 Ceenter 3 Center 4 Revenue 1 100 200 5 4 Revenue 2 200 150 10 8 Revenue 3 300 75 15 12 Revenue 4 400 20 20 16