Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Vlookup or Index/Match

I have a worksheet of data (cells named PV_Data), extracted from a d/
b, column A contains a "week commencing" date (cells named "Week_Of")
and column B contains a list of names (cells named "Resources"). I
have a second worksheet that I am trying to populate based upon the
contents of the first sheet. In this worksheet, Column A contains the
list of names I am looking for, Column B, C, D, E and F are labeled/
column headers with the Week Commencing dates, to be found in the
first worksheet. What I want to do is put an x in the appropriate
column when I find the name in the second worksheet
Sheet 1
01/04/2008 Fred
01/04/2008 Jim
07/04/2008 Jim
07/04/2008 Joe
14/04/2008 Fred
14/04/2008 Jim
14/04/2008 Joe
21/04/2008 Jim
21/04/2008 Joe

Sheet 2
Names 01/04/2008 07/04/2008 14/04/2008 21/04/2008 .....
Fred X X
Jim X X
X X
John
Joe X
X X

I believe I need to use Index and Match, but I can't seem to get
beyond the #N/A result

Any suggestion gratefully received
Fred
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Vlookup or Index/Match

In sheet 2

B2: =IF(SUMPRODUCT((Name=$A2)*(Date=B$1))0,"x","")


"Fred" wrote:

I have a worksheet of data (cells named PV_Data), extracted from a d/
b, column A contains a "week commencing" date (cells named "Week_Of")
and column B contains a list of names (cells named "Resources"). I
have a second worksheet that I am trying to populate based upon the
contents of the first sheet. In this worksheet, Column A contains the
list of names I am looking for, Column B, C, D, E and F are labeled/
column headers with the Week Commencing dates, to be found in the
first worksheet. What I want to do is put an x in the appropriate
column when I find the name in the second worksheet
Sheet 1
01/04/2008 Fred
01/04/2008 Jim
07/04/2008 Jim
07/04/2008 Joe
14/04/2008 Fred
14/04/2008 Jim
14/04/2008 Joe
21/04/2008 Jim
21/04/2008 Joe

Sheet 2
Names 01/04/2008 07/04/2008 14/04/2008 21/04/2008 .....
Fred X X
Jim X X
X X
John
Joe X
X X

I believe I need to use Index and Match, but I can't seem to get
beyond the #N/A result

Any suggestion gratefully received
Fred

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup or Index/Match

Have you thought of adding headers and then creating a pivottable?

Drag the header for the date to the column field.
Drag the header for the name to the row field.
and drag the name header to the data field.

You'll see a count of names instead of an X, but you could select the
pivottable, copy|paste special|values and then do a couple of edit|replaces to
change the 1's to X's (if you really wanted them).

Fred wrote:

I have a worksheet of data (cells named PV_Data), extracted from a d/
b, column A contains a "week commencing" date (cells named "Week_Of")
and column B contains a list of names (cells named "Resources"). I
have a second worksheet that I am trying to populate based upon the
contents of the first sheet. In this worksheet, Column A contains the
list of names I am looking for, Column B, C, D, E and F are labeled/
column headers with the Week Commencing dates, to be found in the
first worksheet. What I want to do is put an x in the appropriate
column when I find the name in the second worksheet
Sheet 1
01/04/2008 Fred
01/04/2008 Jim
07/04/2008 Jim
07/04/2008 Joe
14/04/2008 Fred
14/04/2008 Jim
14/04/2008 Joe
21/04/2008 Jim
21/04/2008 Joe

Sheet 2
Names 01/04/2008 07/04/2008 14/04/2008 21/04/2008 .....
Fred X X
Jim X X
X X
John
Joe X
X X

I believe I need to use Index and Match, but I can't seem to get
beyond the #N/A result

Any suggestion gratefully received
Fred


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Vlookup or Index/Match


Hmm, not quite, that guve me a #NUM! error

Regards
Fred

On May 16, 2:49*pm, Teethless mama
wrote:
In sheet 2

B2: =IF(SUMPRODUCT((Name=$A2)*(Date=B$1))0,"x","")



"Fred" wrote:
I have a worksheet of data (cells named PV_Data), extracted from a d/
b, column A contains a "week commencing" date (cells named "Week_Of")
and column B contains a list of names (cells named "Resources"). *I
have a second worksheet that I am trying to populate based upon the
contents of the first sheet. In this worksheet, Column A contains the
list of names I am looking for, Column B, C, D, E and F are labeled/
column headers with the Week Commencing dates, to be found in the
first worksheet. *What I want to do is put an x in the appropriate
column when I find the name in the second worksheet
Sheet 1
01/04/2008 * * * *Fred
01/04/2008 * * * *Jim
07/04/2008 * * * *Jim
07/04/2008 * * * *Joe
14/04/2008 * * * *Fred
14/04/2008 * * * *Jim
14/04/2008 * * * *Joe
21/04/2008 * * * *Jim
21/04/2008 * * * *Joe


Sheet 2
Names * * *01/04/2008 * 07/04/2008 * 14/04/2008 * 21/04/2008 .....
Fred * * * * * * * *X * * * * * * * * * * * * * * * * * * X
Jim * * * * * * * * X * * * * * * * * *X X * * * * * * * * * X
John
Joe * * * * * * * * * * * * * * * * * * X X * * * * * * * * *X


I believe I need to use Index and Match, but I can't seem to get
beyond the #N/A result


Any suggestion gratefully received
Fred- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup / index / match? James Excel Worksheet Functions 5 February 7th 08 12:22 PM
index Match, or Vlookup Match.. news.transedge.com Excel Worksheet Functions 1 August 3rd 07 02:00 AM
vlookup, match, index: all some or one? dj479794 Excel Discussion (Misc queries) 5 March 9th 07 10:46 PM
Index Match Vlookup? IntricateFool Excel Discussion (Misc queries) 23 October 3rd 06 10:39 PM
Vlookup, index, match? Phyllis Excel Worksheet Functions 4 December 13th 04 11:23 PM


All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"