Hi,
How to index match with date and month ranges. I am looking for two different output based on the following data.
1. Date wise
2.Month wise
I apply the following formula in I3==IF(MATCH($G$3,$A$3:$A$1000,0),INDEX(DATA!$C$3:$E$1000,MATCH($H3,DATA!$B$3:$B$1000,0),MATCH(I$2,DATA!
$C$2:$E$2,0))) but I got wrong output.
Data Range:A2:A11 and Output Range:G2:K10
https://www.dropbox.com/s/cfeq8vfcr9pvaq6/INMA.PNG?dl=0
Any help much appreciated.
[TABLE="width: 1118"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="colspan: 5"]DATA[/TD]
[TD][/TD]
[TD="colspan: 5"]OUTPUT[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD][/TD]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD]DATE WISE[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[TD]UK[/TD]
[TD]1[/TD]
[TD]58[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]02/01/2018[/TD]
[TD]UK[/TD]
[TD]1[/TD]
[TD]58[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]US[/TD]
[TD]5[/TD]
[TD]48[/TD]
[TD]24[/TD]
[TD][/TD]
[TD] [/TD]
[TD]US[/TD]
[TD]5[/TD]
[TD]48[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EU[/TD]
[TD]78[/TD]
[TD]44[/TD]
[TD]446[/TD]
[TD][/TD]
[TD] [/TD]
[TD]EU[/TD]
[TD]78[/TD]
[TD]44[/TD]
[TD]446[/TD]
[/TR]
[TR]
[TD]02/01/2018[/TD]
[TD]UK[/TD]
[TD]48[/TD]
[TD]48[/TD]
[TD]48[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]US[/TD]
[TD]21[/TD]
[TD]21[/TD]
[TD]12[/TD]
[TD][/TD]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD]MONTHWISE[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EU[/TD]
[TD]11[/TD]
[TD]11[/TD]
[TD]1515[/TD]
[TD][/TD]
[TD]Jan-18[/TD]
[TD]UK[/TD]
[TD]50[/TD]
[TD]107[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD]03/01/2018[/TD]
[TD]UK[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD] [/TD]
[TD]US[/TD]
[TD]27[/TD]
[TD]70[/TD]
[TD]37[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]US[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD] [/TD]
[TD]EU[/TD]
[TD]90[/TD]
[TD]56[/TD]
[TD]1962[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EU[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
How to index match with date and month ranges. I am looking for two different output based on the following data.
1. Date wise
2.Month wise
I apply the following formula in I3==IF(MATCH($G$3,$A$3:$A$1000,0),INDEX(DATA!$C$3:$E$1000,MATCH($H3,DATA!$B$3:$B$1000,0),MATCH(I$2,DATA!
$C$2:$E$2,0))) but I got wrong output.
Data Range:A2:A11 and Output Range:G2:K10
https://www.dropbox.com/s/cfeq8vfcr9pvaq6/INMA.PNG?dl=0
Any help much appreciated.
[TABLE="width: 1118"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="colspan: 5"]DATA[/TD]
[TD][/TD]
[TD="colspan: 5"]OUTPUT[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD][/TD]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD]DATE WISE[/TD]
[/TR]
[TR]
[TD]01/01/2018[/TD]
[TD]UK[/TD]
[TD]1[/TD]
[TD]58[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]02/01/2018[/TD]
[TD]UK[/TD]
[TD]1[/TD]
[TD]58[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]US[/TD]
[TD]5[/TD]
[TD]48[/TD]
[TD]24[/TD]
[TD][/TD]
[TD] [/TD]
[TD]US[/TD]
[TD]5[/TD]
[TD]48[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EU[/TD]
[TD]78[/TD]
[TD]44[/TD]
[TD]446[/TD]
[TD][/TD]
[TD] [/TD]
[TD]EU[/TD]
[TD]78[/TD]
[TD]44[/TD]
[TD]446[/TD]
[/TR]
[TR]
[TD]02/01/2018[/TD]
[TD]UK[/TD]
[TD]48[/TD]
[TD]48[/TD]
[TD]48[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]US[/TD]
[TD]21[/TD]
[TD]21[/TD]
[TD]12[/TD]
[TD][/TD]
[TD]DATE[/TD]
[TD]COUNTRY[/TD]
[TD]APPLE[/TD]
[TD]BANANA[/TD]
[TD]BILBERRY[/TD]
[TD]MONTHWISE[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]EU[/TD]
[TD]11[/TD]
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