ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Array Formula help (https://www.excelbanter.com/excel-worksheet-functions/220218-array-formula-help.html)

klmiura

Array Formula help
 
{=SUM(('Aug 08'!$M$10:$M$438=Tina!A7)*('Aug 08'!$N$10:$N$438))}

I have the above formula in (Worksheet Tina) and I want to look up the
information in Column A of that worksheet to match information in (Worksheet
Aug 08) Column M and if the information matches to return the value in Column
N. I am not sure what I have done incorrectly can you please assist me.

Shane Devenshire[_2_]

Array Formula help
 
Hi,

What is the result you are getting? Your formula is not a lookup it is a
SUM. So unlike VLOOKUP it will return the sum of all items in N whose value
in column M matches the value in A7.

You can get rid of the {}'s by using

=SUMPRODUCT(('Aug 08'!$M$10:$M$438=Tina!A7)*('Aug 08'!$N$10:$N$438))

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"klmiura" wrote:

{=SUM(('Aug 08'!$M$10:$M$438=Tina!A7)*('Aug 08'!$N$10:$N$438))}

I have the above formula in (Worksheet Tina) and I want to look up the
information in Column A of that worksheet to match information in (Worksheet
Aug 08) Column M and if the information matches to return the value in Column
N. I am not sure what I have done incorrectly can you please assist me.


T. Valko

Array Formula help
 
Not sure what you're wanting to do but this is a more efficient way to write
that formula:

=SUMIF('Aug 08'!$M$10:$M$438,Tina!A7,'Aug 08'!$N$10:$N$438)


--
Biff
Microsoft Excel MVP


"klmiura" wrote in message
...
{=SUM(('Aug 08'!$M$10:$M$438=Tina!A7)*('Aug 08'!$N$10:$N$438))}

I have the above formula in (Worksheet Tina) and I want to look up the
information in Column A of that worksheet to match information in
(Worksheet
Aug 08) Column M and if the information matches to return the value in
Column
N. I am not sure what I have done incorrectly can you please assist me.





All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com