M
Madiya
I have following data in a workbook.
Date Company Exchange Index Value Current
25-10-06 PNB BSE 11705.93 461.15
25-10-06 PNB NSE 3461.35 470.2
25-10-06 HIND BSE 11705.93 203.6
25-10-06 HIND NSE 3461.35 202.5
25-10-06 DS BSE 11705.93 41.1
25-10-06 DS NSE 3461.35 41.5
25-10-06 MRPL BSE 11705.93 50
25-10-06 MRPL NSE 3461.35 49.7
25-10-06 BOB BSE 11705.93 252
25-10-06 BOB NSE 3461.35 250.15
25-10-06 RCVOL BSE 11705.93 300
25-10-06 RCVOL NSE 3461.35 295.1
25-10-06 RIL BSE 11705.93 1027
25-10-06 RIL NSE 3461.35 1019
and so on .....................
These are stock data and keeps on adding rows daily.
In another workbook, I have list down the date, company and Exchange.
I want to put formula of sumproduct to match date, company,
exchange(already listed in the different cells) and return current. I
have created named ranges to the base workbook which I am using in the
following sumproduct formula but getting #VALUE! error.
=+SUMPRODUCT((Date=$A$1)*(Index="BSE")*(Company=A3)*(Price))
Can somebody tell me whats wrong in the formula please.
Regards,
Madiya
Date Company Exchange Index Value Current
25-10-06 PNB BSE 11705.93 461.15
25-10-06 PNB NSE 3461.35 470.2
25-10-06 HIND BSE 11705.93 203.6
25-10-06 HIND NSE 3461.35 202.5
25-10-06 DS BSE 11705.93 41.1
25-10-06 DS NSE 3461.35 41.5
25-10-06 MRPL BSE 11705.93 50
25-10-06 MRPL NSE 3461.35 49.7
25-10-06 BOB BSE 11705.93 252
25-10-06 BOB NSE 3461.35 250.15
25-10-06 RCVOL BSE 11705.93 300
25-10-06 RCVOL NSE 3461.35 295.1
25-10-06 RIL BSE 11705.93 1027
25-10-06 RIL NSE 3461.35 1019
and so on .....................
These are stock data and keeps on adding rows daily.
In another workbook, I have list down the date, company and Exchange.
I want to put formula of sumproduct to match date, company,
exchange(already listed in the different cells) and return current. I
have created named ranges to the base workbook which I am using in the
following sumproduct formula but getting #VALUE! error.
=+SUMPRODUCT((Date=$A$1)*(Index="BSE")*(Company=A3)*(Price))
Can somebody tell me whats wrong in the formula please.
Regards,
Madiya