ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I write this formula in Excel 2003? (https://www.excelbanter.com/excel-discussion-misc-queries/242177-how-do-i-write-formula-excel-2003-a.html)

anschutz.177

How do I write this formula in Excel 2003?
 
Is this formula possible in Excel 2003?
I would like to add the cells in column "K" with the following conditions.

If I4 contains a "J" then add K4 unless L4 contains an "X"

The column "I" would contain the letter "J" or "P".
The column "L" would contain an "X" or be empty.
Column "K" would contain a currency.



Pete_UK

How do I write this formula in Excel 2003?
 
Try this:

=SUMPRODUCT(--(I4:I50="J"),--(L4:L50=""),K4:K50)

I've assumed data up to row 50, so adjust if you have more.

Hope this helps.

Pete

On Sep 10, 1:00*am, anschutz.177
wrote:
Is this formula possible in Excel 2003?
I would like to add the cells in column "K" with the following conditions..

If I4 contains a "J" then add K4 unless L4 contains an "X"

The column "I" would contain the letter "J" or "P".
The column "L" would contain an "X" or be empty.
Column "K" would contain a currency.




All times are GMT +1. The time now is 06:12 AM.

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