Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default LookUp/Match Question

My Data Table looks as so. Products across Row1 and Salespeople down ColA.

DataTable
A B D Z
1 100 500 100 99
2 50 200 100 200
6 0 500 100 99
10 0 0 100 0

I am trying to create the table below with a formula in B2 that will look at
the values in A2 and B1, then look at my Data Table and find the
corresponding value in that table (if there is one), return that value or
return "NoMatch".

Is it possible ?

NewTable
A B C Z
1 100 500 NoMatch 99
2 50 200 NoMatch 200
3 NoMatch NoMatch NoMatch NoMatch
10 0 0 NoMatch 0

Thank you in advance.

  #2   Report Post  
 
Posts: n/a
Default

If you assume that the "DataTable" above was in range A1:E5, and that
you placed your "NewTable" in range A10:E14, you could enter this
formula into cell B11:

=IF(ISERROR(INDEX($A$1:$E$5,MATCH($A11,$A$1:$A$5,0 ),MATCH(B$10,$A$1:$E$1,0))),"NoMatch",INDEX($A$1:$ E$5,MATCH($A11,$A$1:$A$5,0),MATCH(B$10,$A$1:$E$1,0 )))

And then drag it to fill the cells from B11:E14.

  #3   Report Post  
Ruffed Grouse
 
Posts: n/a
Default

If you assume that the "DataTable" above was in range A1:E5, and that
you placed your "NewTable" in range A10:E14, you could enter this
formula into cell B11:

=IF(ISERROR(INDEX($A$1:$E$5,MATCH($A11,$A$1:$A$5,0 ),MATCH(B$10,$A$1:$E$1,0))),"NoMatch",INDEX($A$1:$ E$5,MATCH($A11,$A$1:$A$5,0),MATCH(B$10,$A$1:$E$1,0 )))

And then drag it to fill the cells from B11:E14.

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
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Question about combining data from multiple workbooks into one rep BookOpenandUpright Excel Discussion (Misc queries) 2 February 19th 05 12:37 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


All times are GMT +1. The time now is 02:58 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"