Hi
I have a problem with INDEX/MATCH formula. I have many scenarios writen in second sheet named 'source'. Single scenario has 3 rows with same number of scenario. Column A and B are source for this index/match formula
this formula i have in C2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Scenario number[/TD]
[TD]CROP[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Cabbage[/TD]
[TD]Redma F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Lettuce[/TD]
[TD]Decision F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Onion[/TD]
[TD]Tamara F1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Peppers[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Tomato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Potato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Lettuce[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Tomato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Onion[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Cabbage[/TD]
[TD]Redma F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Lettuce[/TD]
[TD]Deciosion F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Onion[/TD]
[TD]Tamara F1[/TD]
[/TR]
</tbody>[/TABLE]
I have another sheet with name SOURCE where i have data related to this INDEX MATCH formula. It works fine, but only for the first scenario, which is under number 1. If i put scenario number 1 in any other cell (like in cell c11) formula work great.
But when i wanna other data from othe scenarios like scenario 2 or 3 i get [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ! If i put scenario number 2 or 3 in cell c2 i get [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] !
Where or what is problem here ?
I have a problem with INDEX/MATCH formula. I have many scenarios writen in second sheet named 'source'. Single scenario has 3 rows with same number of scenario. Column A and B are source for this index/match formula
this formula i have in C2
This formula is also in whole C column.IF($b2="";"";INDEX(Source!D:D;MATCH($b2;Source!C:C;0);MATCH($a2;Source!B:B;0)))
[TABLE="width: 500"]
<tbody>[TR]
[TD]Scenario number[/TD]
[TD]CROP[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Cabbage[/TD]
[TD]Redma F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Lettuce[/TD]
[TD]Decision F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Onion[/TD]
[TD]Tamara F1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Peppers[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Tomato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Potato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Lettuce[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Tomato[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Onion[/TD]
[TD][URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ![/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Cabbage[/TD]
[TD]Redma F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Lettuce[/TD]
[TD]Deciosion F1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Onion[/TD]
[TD]Tamara F1[/TD]
[/TR]
</tbody>[/TABLE]
I have another sheet with name SOURCE where i have data related to this INDEX MATCH formula. It works fine, but only for the first scenario, which is under number 1. If i put scenario number 1 in any other cell (like in cell c11) formula work great.
But when i wanna other data from othe scenarios like scenario 2 or 3 i get [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] ! If i put scenario number 2 or 3 in cell c2 i get [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=ref]#ref [/URL] !
Where or what is problem here ?