Lookup by date

sarah04

New Member
Joined
May 12, 2011
Messages
14
Excel idiot here :) I need help with a lookup that I'm sure it super easy... If I wanted to look up the current week's values for each of these Employees, what formula would I use?

Excel Workbook
CD
47by Week
48Measure9/6/2009
49Observations
50Andy4
51Beth3
52Caleb2
53Improvements
54Andy4
55Beth3
56Caleb2
Analytics


Thanks for your help
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Maybe this will help, the top table is the data, the second table shows what I need in a summary table. The dates do continue along the top row (here, row 63). I need to have a total of 6 lookups I believe, one each for each employee's Observations and Improvements.

Analytics

<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 79px"><COL style="WIDTH: 79px"><COL style="WIDTH: 79px"><COL style="WIDTH: 79px"><COL style="WIDTH: 79px"><COL style="WIDTH: 79px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>BZ</TD><TD>CA</TD><TD>CB</TD><TD>CC</TD><TD>CD</TD><TD>CE</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">62</TD><TD>Existing Data</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">63</TD><TD style="FONT-WEIGHT: bold"> </TD><TD style="TEXT-ALIGN: right; FONT-WEIGHT: bold">5/1/2011</TD><TD style="TEXT-ALIGN: right; FONT-WEIGHT: bold">5/8/2011</TD><TD style="TEXT-ALIGN: right; FONT-WEIGHT: bold">5/15/2011</TD><TD style="TEXT-ALIGN: right; FONT-WEIGHT: bold">5/22/2011</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000; FONT-WEIGHT: bold">5/29/2011</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">64</TD><TD style="FONT-WEIGHT: bold">Observations</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD style="COLOR: #ff0000"> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">65</TD><TD style="FONT-WEIGHT: bold">Andy</TD><TD style="TEXT-ALIGN: right">201</TD><TD style="TEXT-ALIGN: right">201</TD><TD style="TEXT-ALIGN: right">201</TD><TD style="TEXT-ALIGN: right">201</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">201</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">66</TD><TD style="FONT-WEIGHT: bold">Beth</TD><TD style="TEXT-ALIGN: right">197</TD><TD style="TEXT-ALIGN: right">197</TD><TD style="TEXT-ALIGN: right">197</TD><TD style="TEXT-ALIGN: right">197</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">197</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">67</TD><TD style="FONT-WEIGHT: bold">Caleb</TD><TD style="TEXT-ALIGN: right">191</TD><TD style="TEXT-ALIGN: right">191</TD><TD style="TEXT-ALIGN: right">191</TD><TD style="TEXT-ALIGN: right">191</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">191</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">68</TD><TD style="FONT-WEIGHT: bold">Improvements</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD style="COLOR: #ff0000"> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">69</TD><TD style="FONT-WEIGHT: bold">Andy</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">55</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">70</TD><TD style="FONT-WEIGHT: bold">Beth</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right">55</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">55</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">71</TD><TD style="FONT-WEIGHT: bold">Caleb</TD><TD style="TEXT-ALIGN: right">52</TD><TD style="TEXT-ALIGN: right">52</TD><TD style="TEXT-ALIGN: right">52</TD><TD style="TEXT-ALIGN: right">52</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">52</TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">72</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">73</TD><TD style="FONT-WEIGHT: bold">Desired Summary table</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">74</TD><TD style="FONT-WEIGHT: bold"> </TD><TD style="COLOR: #ff0000; FONT-WEIGHT: bold">(current week)</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">75</TD><TD style="FONT-WEIGHT: bold">Observations</TD><TD style="COLOR: #ff0000"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">76</TD><TD style="FONT-WEIGHT: bold">Andy</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">201</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">77</TD><TD style="FONT-WEIGHT: bold">Beth</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">197</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">78</TD><TD style="FONT-WEIGHT: bold">Caleb</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">191</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">79</TD><TD style="FONT-WEIGHT: bold">Improvements</TD><TD style="COLOR: #ff0000"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">80</TD><TD style="FONT-WEIGHT: bold">Andy</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">55</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">81</TD><TD style="FONT-WEIGHT: bold">Beth</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">55</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 22px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">82</TD><TD style="FONT-WEIGHT: bold">Caleb</TD><TD style="TEXT-ALIGN: right; COLOR: #ff0000">52</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR></TBODY></TABLE>

Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
 
Upvote 0
Try this:
BZ74=5/29/2011

For observation:

BZ76
=INDEX($BY$65:$CD$67,MATCH(BY76,$BY$65:$BY$67,0),MATCH(BZ$74,$BZ$63:$CD$63,0))

copy down

For Improvements:
BZ80=INDEX($BY$69:$CD$71,MATCH(BY80,$BY$69:$BY$71,0),MATCH(BZ$74,$BZ$63:$CD$63,0))

copy down
 
Upvote 0
Great, thank you! Is there a way to make the date automatically update? I update this sheet weekly.
 
Upvote 0
Try:
For observation:
=IF(ISNUMBER(MATCH($BZ$74,$BZ$63:$CR$63,0)),INDEX($BY$65:$CR$67,MATCH(BY76,$BY$65:$BY$67,0),MATCH(BZ$74,$BZ$63:$CR$63,0)),"")
copy dow
For improvementa:
=IF(ISNUMBER(MATCH($BZ$74,$BZ$63:$CR$63,0)),INDEX($BY$69:$CR$71,MATCH(BY80,$BY$69:$BY$71,0),MATCH(BZ$74,$BZ$63:$CR$63,0)),"")
copy down
Extend the ranges in red as far as you need.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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