Using indirect to refer to a row

laurafv

New Member
Joined
Jan 29, 2009
Messages
4
Hello,

I have a list of employees (one person per row). The columns are attendance to events (each attendance has a different number), and I would like to create a table that sumarises the attendance ranked chronologically.

To do so, I would need that in the formula below instead of the red part (now referring to row 7) there is a link to another cell that I have set so that it automatically finds the row corresponding to an employee. Would an indirect formula work? how? I tried with no success...

=match(C5,'v2'!7:7,0)


Thanks in advance,
Laura
[TABLE="width: 763"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try

=MATCH(C5,INDEX('v2'!A:IV,anothercell,0),0)

Another cell is a cell containing the 7

Change IV to XFD if in XL2007+
Or better, change IV to the last occupied column of the v2 sheet.
 
Last edited:
Upvote 0
Thanks! tomorrow I will try at the office and let you know if it works :)
I dont want to use a pivot table because the dataset is not in the right format (each column is an event), but maybe I will have to investigate if this is a better option...
 
Upvote 0
thanks, it works you saved my project :)!

Try

=MATCH(C5,INDEX('v2'!A:IV,anothercell,0),0)

Another cell is a cell containing the 7

Change IV to XFD if in XL2007+
Or better, change IV to the last occupied column of the v2 sheet.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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