pheonixshef04
New Member
- Joined
- Feb 23, 2015
- Messages
- 1
Hello, I am working on a spreadsheet in where there are multiple matches and values. I am having problems with creating a formula to lookup the last non-blank cell
Below is an example of the raw data
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Doe, Jane
[/TD]
[TD]1/06/2015
[/TD]
[TD]7.6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]113.9
[/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/13/2015
[/TD]
[TD]8.9
[/TD]
[TD]61
[/TD]
[TD]1.14
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/20/2015
[/TD]
[TD]9.4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]106.6
[/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/27/2015
[/TD]
[TD]9.5
[/TD]
[TD]64
[/TD]
[TD]1.63
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/06/2015
[/TD]
[TD]8.4
[/TD]
[TD]63
[/TD]
[TD]1.17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/13/2015
[/TD]
[TD]8.6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]129.5
[/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/20/2015
[/TD]
[TD]8.3
[/TD]
[TD]65
[/TD]
[TD]1.35
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/27/2015
[/TD]
[TD]9.9
[/TD]
[TD][/TD]
[TD][/TD]
[TD]129.2
[/TD]
[/TR]
</tbody>[/TABLE]
So I use LOOKUP(2,1/(Raw1!$A$1:$H$2000=Roster!A6),Raw1!$E:$E) and it works great in getting the values in where there is data in all columns (2 and 3). However if I need to grab the last non-blank value in the fourth column for a particular person, I get a value of 0.
Also, I need it to grab the date. For an example: For Frank, Mark I need the date (1/20/15) in which the value in the fourth column was given (65).
I am using Excel 2010 with Windows 7
Thank you very much in advance.
Below is an example of the raw data
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Doe, Jane
[/TD]
[TD]1/06/2015
[/TD]
[TD]7.6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]113.9
[/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/13/2015
[/TD]
[TD]8.9
[/TD]
[TD]61
[/TD]
[TD]1.14
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/20/2015
[/TD]
[TD]9.4
[/TD]
[TD][/TD]
[TD][/TD]
[TD]106.6
[/TD]
[/TR]
[TR]
[TD]Doe, Jane
[/TD]
[TD]1/27/2015
[/TD]
[TD]9.5
[/TD]
[TD]64
[/TD]
[TD]1.63
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/06/2015
[/TD]
[TD]8.4
[/TD]
[TD]63
[/TD]
[TD]1.17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/13/2015
[/TD]
[TD]8.6
[/TD]
[TD][/TD]
[TD][/TD]
[TD]129.5
[/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/20/2015
[/TD]
[TD]8.3
[/TD]
[TD]65
[/TD]
[TD]1.35
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank, Mark
[/TD]
[TD]1/27/2015
[/TD]
[TD]9.9
[/TD]
[TD][/TD]
[TD][/TD]
[TD]129.2
[/TD]
[/TR]
</tbody>[/TABLE]
So I use LOOKUP(2,1/(Raw1!$A$1:$H$2000=Roster!A6),Raw1!$E:$E) and it works great in getting the values in where there is data in all columns (2 and 3). However if I need to grab the last non-blank value in the fourth column for a particular person, I get a value of 0.
Also, I need it to grab the date. For an example: For Frank, Mark I need the date (1/20/15) in which the value in the fourth column was given (65).
I am using Excel 2010 with Windows 7
Thank you very much in advance.