Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I find and replace a question mark in Excel? | Excel Discussion (Misc queries) | |||
Anybody Help with previous question | Excel Discussion (Misc queries) | |||
Hints And Tips For New Posters In The Excel Newsgroups | Excel Worksheet Functions | |||
Question about combining data from multiple workbooks into one rep | Excel Discussion (Misc queries) | |||
An easy macro question and one I believe to be a little more diffi | Excel Worksheet Functions |