BrisAdrian
New Member
- Joined
- Sep 5, 2015
- Messages
- 22
Hello,
Is there a formula I can put into a cell that will use another cell as a reference, find a match for that number on another sheet, go to the last cell with data in that row, but then return the data from cells to the left of that, ie: -1 or -2.
Sheet1:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]reference data (12345)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Cell that will contain formula and return value based on reference (12345)[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]label 1[/TD]
[TD]Date 1[/TD]
[TD]Date 2[/TD]
[TD]Date 3[/TD]
[TD]Date 4[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]1/1/01[/TD]
[TD]1/1/02[/TD]
[TD]1/1/03[/TD]
[TD]1/1/04[/TD]
[/TR]
</tbody>[/TABLE]
So that if I had no data in "Date 4" the formula would return what is in Date 3.
I've been trying to use -1 and so on with Index/Match but I don't fully grasp it.
In the end I would like to provide employees with a history of their test results like so:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]1/1/4[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]1/1/3[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]1/1/2[/TD]
[TD]11[/TD]
[/TR]
</tbody>[/TABLE]
The reason I require this is so that I can give people an easy to read printout and to produce a graph for them to easier grasp.
I'm sorry I cant upload an example. Every file hosting site is blocked on the work PC's and I wont be home for 2 more weeks.
Thank you kindly for any help!
-Adrian
Is there a formula I can put into a cell that will use another cell as a reference, find a match for that number on another sheet, go to the last cell with data in that row, but then return the data from cells to the left of that, ie: -1 or -2.
Sheet1:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]reference data (12345)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Cell that will contain formula and return value based on reference (12345)[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]label 1[/TD]
[TD]Date 1[/TD]
[TD]Date 2[/TD]
[TD]Date 3[/TD]
[TD]Date 4[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]1/1/01[/TD]
[TD]1/1/02[/TD]
[TD]1/1/03[/TD]
[TD]1/1/04[/TD]
[/TR]
</tbody>[/TABLE]
So that if I had no data in "Date 4" the formula would return what is in Date 3.
I've been trying to use -1 and so on with Index/Match but I don't fully grasp it.
In the end I would like to provide employees with a history of their test results like so:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]1/1/4[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]1/1/3[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]1/1/2[/TD]
[TD]11[/TD]
[/TR]
</tbody>[/TABLE]
The reason I require this is so that I can give people an easy to read printout and to produce a graph for them to easier grasp.
I'm sorry I cant upload an example. Every file hosting site is blocked on the work PC's and I wont be home for 2 more weeks.
Thank you kindly for any help!
-Adrian