PC Review


Reply
Thread Tools Rate Thread

combine v and h lookups

 
 
=?Utf-8?B?c2NoZWR1bGVy?=
Guest
Posts: n/a
 
      12th Sep 2007
I have the following roster counting the number of hours staff work on a
given day:

A B C D
1 Date 1 Date 2 Date 3
2 Name 1 8 6 7
3 Name 2 7 5 7
4 Name 3 6 3 4

In a report in a different workbook I need to have a formula to return the
contents of a cell based on both the name and the date: ie: lookup Name 3 and
date 3 and return the value of D4. I cannot use column / row numbers as the
positions change based on staffing changes.

How do I do this please?
--
scheduler
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sk1C?=
Guest
Posts: n/a
 
      12th Sep 2007
=INDEX(A14, MATCH(Name, A1:A4, 0), MATCH(Date, A11, 0))

where Name and Date are cell references containing your criteria.



"scheduler" wrote:

> I have the following roster counting the number of hours staff work on a
> given day:
>
> A B C D
> 1 Date 1 Date 2 Date 3
> 2 Name 1 8 6 7
> 3 Name 2 7 5 7
> 4 Name 3 6 3 4
>
> In a report in a different workbook I need to have a formula to return the
> contents of a cell based on both the name and the date: ie: lookup Name 3 and
> date 3 and return the value of D4. I cannot use column / row numbers as the
> positions change based on staffing changes.
>
> How do I do this please?
> --
> scheduler

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I combine worksheets w/o enough rows to combine? Amanda W. Microsoft Excel Worksheet Functions 3 9th Jun 2009 07:26 AM
Combine cells with the same reference and combine quantities brandon Microsoft Excel Misc 2 17th Sep 2008 05:44 PM
Lookups =?Utf-8?B?bmljaw==?= Microsoft Excel Worksheet Functions 0 3rd Oct 2005 06:37 PM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Microsoft Excel Worksheet Functions 2 16th May 2005 04:29 AM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Microsoft Excel Discussion 1 15th May 2005 11:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:32 PM.