Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Index and Match Help Needed

My data table is set up like so:

Data BOX1 BOX3 BOX5
ABC 3 1 2
DEF 1 7
HIJ 2 1

I am trying to find a formula for the body of the table below that will give
the following results. I think I need to use the INDEX and Match functions
but not su

New Table BOX1 BOX2 BOX3 BOX4 BOX5
ABC 3 0 1 0 2
DEF 0 0 1 0 7
HIJ 2 0 1 0 0
KLM 0 0 0 0 0

Thank you in advance.



  #2   Report Post  
bj
 
Posts: n/a
Default

if your original data is in sheet 1 starting at A1
and your next table is in Sheet 2 Starting at A1
try in sheet 2 B2

=Vlookup($A2,Sheet1!$A$1:$AA$100,Match(B$1,Sheet1! $A$1:$AA$1),False)

and copy through your area

"carl" wrote:

My data table is set up like so:

Data BOX1 BOX3 BOX5
ABC 3 1 2
DEF 1 7
HIJ 2 1

I am trying to find a formula for the body of the table below that will give
the following results. I think I need to use the INDEX and Match functions
but not su

New Table BOX1 BOX2 BOX3 BOX4 BOX5
ABC 3 0 1 0 2
DEF 0 0 1 0 7
HIJ 2 0 1 0 0
KLM 0 0 0 0 0

Thank you in advance.



  #3   Report Post  
carl
 
Posts: n/a
Default

thanks. i tried the formula but it does not seem to work correctly. if there
is a value in Row B that is not in the original data table -
Sheet1!$A$1:$AA$1 - the formula returns a value from the previous column
(when it should return 0).

any thoughts ?


"bj" wrote:

if your original data is in sheet 1 starting at A1
and your next table is in Sheet 2 Starting at A1
try in sheet 2 B2

=Vlookup($A2,Sheet1!$A$1:$AA$100,Match(B$1,Sheet1! $A$1:$AA$1),False)

and copy through your area

"carl" wrote:

My data table is set up like so:

Data BOX1 BOX3 BOX5
ABC 3 1 2
DEF 1 7
HIJ 2 1

I am trying to find a formula for the body of the table below that will give
the following results. I think I need to use the INDEX and Match functions
but not su

New Table BOX1 BOX2 BOX3 BOX4 BOX5
ABC 3 0 1 0 2
DEF 0 0 1 0 7
HIJ 2 0 1 0 0
KLM 0 0 0 0 0

Thank you in advance.



  #4   Report Post  
bj
 
Posts: n/a
Default

duh
I left out several significant parts of it
the zero in the match funciton and the iserror portion

=if(iserror(Vlookup($A2,Sheet1!$A$1:$AA$100,Match( B$1,Sheet1!$A$1:$AA$1,0),False)),0,Vlookup($A2,She et1!$A$1:$AA$100,Match(B$1,Sheet1!$A$1:$AA$1,0),Fa lse))

"carl" wrote:

thanks. i tried the formula but it does not seem to work correctly. if there
is a value in Row B that is not in the original data table -
Sheet1!$A$1:$AA$1 - the formula returns a value from the previous column
(when it should return 0).

any thoughts ?


"bj" wrote:

if your original data is in sheet 1 starting at A1
and your next table is in Sheet 2 Starting at A1
try in sheet 2 B2

=Vlookup($A2,Sheet1!$A$1:$AA$100,Match(B$1,Sheet1! $A$1:$AA$1),False)

and copy through your area

"carl" wrote:

My data table is set up like so:

Data BOX1 BOX3 BOX5
ABC 3 1 2
DEF 1 7
HIJ 2 1

I am trying to find a formula for the body of the table below that will give
the following results. I think I need to use the INDEX and Match functions
but not su

New Table BOX1 BOX2 BOX3 BOX4 BOX5
ABC 3 0 1 0 2
DEF 0 0 1 0 7
HIJ 2 0 1 0 0
KLM 0 0 0 0 0

Thank you in advance.



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
Index and match functions help needed. Zak Excel Worksheet Functions 5 September 1st 05 02:08 PM
Index and Match issues Mo Excel Worksheet Functions 3 May 19th 05 07:16 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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

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"