Index Match Help: Multiple cell references (combined) - range lookups across tabs

Cleveranchors

New Member
Joined
Jun 18, 2014
Messages
7
I'm new here so good day all! Could do with a bit of assistance if anyone has time?
I have tried searching Google and these forums for an answer I could apply to the situation ...

Ie. Inside these threads:




...but I'm not quite getting the logic behind this Index match setup...despite spending a few hrs learning the definitions of each part of the formula structure...

The plan in theory is simple:
(Please see example docs below to get a better idea)

Reference 2 cells combined (ie. $B$3&$C$3 in 'schedule' tab and allow it's range to stretch the entirety og Cols B3:B5000+ & C3:C5000) Match these with 'timesheet' tab for the same range and pull back the corresponding '# hrs' values in 'timesheet' tab into 'schedule' in COL E.

Is INDEX / MATCH the correct function to use for these types of formulas please?

Hopefully these supporting references illustrate my plans further:

0B7ZDtUDVoADYdnNfWUFhaTZJbWs
Pic 1: schedule tab
The idea is to pull the 'hrs' value from this tab using reference points / ranges

0B7ZDtUDVoADYQkxWd3pnamNidWM
Pic 2: timesheet tab
and input them in here for the corresponding values (&) in COLS B:C



I've shared a link to a GDoc here to illustrate the workings and my point:

https://docs.google.com/spreadsheets/d/12YkFDAUKEYIZzPHdRj-shPP2LX7p8ZWf-3BBcJPzDws/


I really hope that someone here can help, I've been looking on Youtube and walking through many tutorials - I just aint getting it

Thanks in advance


~ CA
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
See if this works for you.

It's an array formula and must be entered with CTRL-SHIFT-ENTER.

Excel Workbook
ABCDEF
1PositionStaff MemberProjectScheduled HrsHrs Spent
2********Project 160
3ManagerPerson 20Project 10
4ManagerPerson 12Project 10
5ManagerPerson 2Project 11.5
6ExecPerson 3Project 13
7ExecPerson 21Project 10
8CEOPerson 11Project 10
9TempPerson 1Project 12.55
10TempPerson 13Project 10
11TempPerson 14Project 10
12ExecPerson 4Project 10
13ExecPerson 5Project 10
14ExecPerson 7Project 10
15HRPerson 22Project 10
16ExecPerson 8Project 10
17
schedule



Excel Workbook
ABCDE
1NullUserProjectHours
2Person 1Project 12.55
3Person 2Project 11.5
4Person 1Project 23.63
5Person 3Project 13
6Person 4Project 1218
7Person 5Project 120.75
8Person 6Project 122.73
9Person 7Project 1214
10Person 8Project 1213.5
11Person 9Project 123.82
12Person 10Project 2713.62
13Person 10Project 288.5
14Person 1Project 2715.25
15Person 11Project 2718.6
16Person 11Project 284
17Person 12Project 272.33
18Person 13Project 274.58
19Person 14Project 2720.5
20Person 5Project 278.33
21Person 15Project 2728
22Person 6Project 270.55
23Person 16Project 278
24Person 8Project 2713.83
25
timesheet
 
Upvote 0
Wow that was the fastest response ever! Ok - I'll have a play wit this now (really would like to nail this tonight!)

How can I thank you for this?
 
Upvote 0
@AhoyNC
Thanks for your input - looks like you've got it working absolutely spot on! Presently I am getting no values across all cells from the IFERROR despite creating the array with Ctrl+shift+enter - I've tried increasing the range of values (ie. instead of
$B$24, using $B$500 [so on and so forth] )

Any inklings? I'm having a bash at it, no luck yet (really need to brush up in these areas!)
 
Upvote 0
Not sure what you mean by "getting no values across all cells" is everything returning a 0?
The IFERROR is just used to return a 0 if no match is found.
You are right in that you need to adjust the cell references to fit your data.
 
Upvote 0
Yes precisely that - it (IFERROR) returns a '0' for everything despite changing the cell references, I have cross referenced the data and it should match in many instances...hmmm I'm sure it's most likely something quite obvious.
I've been trying in both the GDoc sheet and in Excel 2010.
I'll keep at it anyhow's
 
Upvote 0
Not sure about GDoc but in Excel check the following.
=IFERROR(INDEX(timesheet!$D$2:$D$24,MATCH($B3&$C3,timesheet!$B$2:$B$24&timesheet!$C$2:$C$24,0)),0)

In the timesheet!$D$2:$D$24 change to your range of hours and make sure the range is locked.
timesheet!$B$2:$B$24&timesheet!$C$2:$C$24
change to your range and make sure it's locked.
MATCH($B3&$C3 this range should be from your schedule sheet. The columns should be locked, but not the rows as you copy formula down it should change to $B4&$C4 etc.
 
Upvote 0
Thanks for elaborating further, I can confirm that MATCH($B4&$C4 are the only parts of the formula that change when it's copied down. All I've done is extended the ranges on:

timesheet!$D$2:$D$24
timesheet!$B$2:$B$24&timesheet!$C$2:$C$24

to

timesheet!$D$2:$D$63
timesheet!$B$2:$B$63&timesheet!$C$2:$C$63

to match the data

Everything seems correct - I wonder if it has something to do with rearming the trial version on Microsoft Excel Home & Business 2010 - maybe the extended license gets limited? It's the only thing I can think of...flumoxed otherwise - everything is as you've detailed

As a gesture of thanks I'm tweeting out your site, you've spent a lot of time with me tonight and I appreciate that
 
Upvote 0

Forum statistics

Threads
1,215,669
Messages
6,126,120
Members
449,293
Latest member
yallaire64

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