ExcelBanter

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

sarah

Array Formula
 
I would like to compare a range of data in 2 different column, using an array
formula?

I need to compare if the figures in Column K is greater the figures in
Column J?

Would this be the right formula to use?

{=IF(K10:K60J10:J60,1,0)}

If it is, i can't seem to get the right answer. Is there something wrong
with my formula?
--
sarah

Peo Sjoblom

Array Formula
 
How are you comparing, if all values in K are greater than J? If the total
of all figures in K is greater than J?
Do you want to count how many figure in K are greater than J? If the latter
use

=SUMPRODUCT(--(K10:K60J10:J60))

--
Regards,

Peo Sjoblom

Northwest Excel Solutions

Portland, Oregon




"sarah" wrote in message
...
I would like to compare a range of data in 2 different column, using an
array
formula?

I need to compare if the figures in Column K is greater the figures in
Column J?

Would this be the right formula to use?

{=IF(K10:K60J10:J60,1,0)}

If it is, i can't seem to get the right answer. Is there something wrong
with my formula?
--
sarah




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

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