Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
PJS PJS is offline
external usenet poster
 
Posts: 23
Default Index, match, or hlookup ~ which function to use @_@

Hi ^_^

I was wondering how to achieve this. Any help or input would be great.
Thank you.

Sheet1 ~ data source
Type/Value
A 1 2 3
B 2 4 6
C 1 3 6

Sheet2
1 2 3 4 5 6
A Y Y Y
B Y Y Y
C Y Y Y
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Index, match, or hlookup ~ which function to use @_@

One way, entered in B2 of Sheet2 (entered w/Cntrl+Shift+Enter):

=IF(OR(VLOOKUP($A2,Sheet1!$A$1:$D$3,{2,3,4},0)=B$1 ),"Y","")


"PJS" wrote:

Hi ^_^

I was wondering how to achieve this. Any help or input would be great.
Thank you.

Sheet1 ~ data source
Type/Value
A 1 2 3
B 2 4 6
C 1 3 6

Sheet2
1 2 3 4 5 6
A Y Y Y
B Y Y Y
C Y Y Y

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Index, match, or hlookup ~ which function to use @_@

With this data on Sheet1 in the range A2:D4

A 1 2 3
B 2 4 6
C 1 3 6


Sheet2 B1:G1 = 1,2,3,4,5,6
Sheet2 A2:A4 = A, B, C

Enter this formula on Sheet2 in cell B2:

=IF(ISNUMBER(MATCH(B$1,INDEX(Sheet1!$B$2:$D$4,MATC H($A2,Sheet1!$A$2:$A$4,0),),0)),"Y","")

Copy across to G2 then down to row 4.

Biff

"PJS" wrote in message
...
Hi ^_^

I was wondering how to achieve this. Any help or input would be great.
Thank you.

Sheet1 ~ data source
Type/Value
A 1 2 3
B 2 4 6
C 1 3 6

Sheet2
1 2 3 4 5 6
A Y Y Y
B Y Y Y
C Y Y Y



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
HLOOKUP or VLOOKUP or Index or Match or WHAT? MNProp Excel Discussion (Misc queries) 2 May 17th 07 09:55 PM
HLOOKUP, VLOOKUP, MATCH, INDEX - Help with the Right Solution! Michael Excel Discussion (Misc queries) 1 March 28th 07 03:40 PM
vlookup, sumproduct, hlookup, index match, not sure SteveC Excel Discussion (Misc queries) 5 February 15th 07 08:46 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
VLookUp or HLookUp Plus Index - Match, I think??? Jay Excel Worksheet Functions 11 September 15th 06 07:26 AM


All times are GMT +1. The time now is 06:06 AM.

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

About Us

"It's about Microsoft Excel"