I need a look-up function within Excel that works on an inconsistent set of data

Carlos 08

New Member
Joined
Oct 7, 2008
Messages
2
Any idea's? Basically, I get fuel costs each month on a spreadsheet for each team within our company. It has the months scrolling across the top (B2:L1) and the team names going down (A1 onwards) with a total under each one team. The problem is, we get new people joining the company or leaving each month, this causes the data to shift up and down the rows, so the totals for each team aren't in the same place each time I receive the sheet. I need to extract each teams total each month. Is there an offset and match or look up function that would help?

I need it to look at 'Team' and extract the 'Total' underneath corresponding to the month in question.

I hope you can help, I'm stuck! Cheers guys

I'll give you an example

Team Name on A5
January's Total B8, Feb's Total C8

But the following month the totals could be on row 11 and not 8, so it shifts. We can't alter the spreadsheet to have fixed cells, we aren't allowed! I need to get the totals for each team.

Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome, Carlos.

It sounds like Excel's INDEX function will be suitable. Help refers.

Combined with MATCH functions it can determine which row or column to return. So, something like below. HTH, Fazza

Code:
=INDEX(A1:L1000,MATCH(team name,A1:A1000,0),MATCH(month,A1:L1,0))
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

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