ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF (https://www.excelbanter.com/excel-worksheet-functions/8761-sumif.html)

Edgar Thoemmes

SUMIF
 
Hi

I am using the below formula to count cells in Sheet1!A2:A5432 which do not
start with 30.

How could I sum these values?

=SUMPRODUCT((LEFT(Sheet1!A2:A5432,2)<"30")*1)

TIA

JulieD

Hi Edgar

one way
=SUMPRODUCT((LEFT(Sheet1!A2:A5432,2)<"30")*Sheet1 !A2:A5432)

Cheers
JulieD

"Edgar Thoemmes" wrote in message
...
Hi

I am using the below formula to count cells in Sheet1!A2:A5432 which do
not
start with 30.

How could I sum these values?

=SUMPRODUCT((LEFT(Sheet1!A2:A5432,2)<"30")*1)

TIA





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

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