View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nitya Satheesh Nitya Satheesh is offline
external usenet poster
 
Posts: 41
Default data arrangement

On Tuesday, May 17, 2016 at 5:24:06 PM UTC+5:30, Claus Busch wrote:
Hi Nitya,

Am Tue, 17 May 2016 04:12:42 -0700 (PDT) schrieb Nitya Satheesh:

Basically i want to include a third column in worksheet 2, which indicates the position of the value from worksheet 1 . so basically my output should be something like this.
worksheet 2
colA col B col c
point location Value
1 1 -
1 2 -
1 3 a
1 4 a
1 5 -
1 6 -
2 1 -
2 2 -
2 3 -
2 4 -
2 5 b
2 6 -
2 7 -
3 1 -
3 2 -
3 3 b
3 4 -
3 5 -
3 6 a


in sheet2 cell C2:
=IFERROR(INDEX(Sheet1!$C$2:$C$10,MATCH(A2&B2,Sheet 1!$A$2:$A$10&Sheet1!$B$2:$B$10,0)),"-")
and insert the array formula with CRTL+Shift+Enter and copy down.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional


Hi Claus,
Thanks for the reply, but It's showing me '-' in all the cells. it is not showing me any values in the correct positions. is there anything i have to change?

Nitya