ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF and SUM.NUMBER (https://www.excelbanter.com/excel-worksheet-functions/209988-sumif-sum-number.html)

Rockbear

SUMIF and SUM.NUMBER
 
Hi

I have two sum function that work as they should, but try to set another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than 100 it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user

Rockbear

SUMIF and SUM.NUMBER
 
its of course countif not number.if
--
Just a regular user


"Rockbear" wrote:

Hi

I have two sum function that work as they should, but try to set another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than 100 it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user


Bob Phillips[_3_]

SUMIF and SUM.NUMBER
 
In English

=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)

you cannot use whole columns with SUMPRODUCT prior to Exel 2007

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi

I have two sum function that work as they should, but try to set another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than 100
it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user




Jarek Kujawa[_2_]

SUMIF and SUM.NUMBER
 
try:

=SUM(IF(($E$1:$E$65536=N2)*($K$1:$K$65536100)*($K $1:$K$65536<300),
$K1$:$K$65536,)))

this is an array formula so CTRL+SHIFT+ENTER it instead of using
simply ENTER

Rockbear

SUMIF and SUM.NUMBER
 
The formula looks good but do not work

=SUM(IF(($E$1:$E$1600=N2)*($K$1:$K$1600100)*($K$1 :$K$1600<300),$K$1:$K$1600,))

1600 is the maximum of rows

Where is I do wrong??

--
Just a regular user


"Jarek Kujawa" wrote:

try:

=SUM(IF(($E$1:$E$65536=N2)*($K$1:$K$65536100)*($K $1:$K$65536<300),
$K1$:$K$65536,)))

this is an array formula so CTRL+SHIFT+ENTER it instead of using
simply ENTER


Rockbear

SUMIF and SUM.NUMBER
 
Hi Bob

Have tried this :

=SUMPRODUCT(--(E2:E1600=N2),--(K2:K1600<100))

The max number of rows are 1600, but get #name?
--
Just a regular user


"Bob Phillips" wrote:

In English

=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)

you cannot use whole columns with SUMPRODUCT prior to Exel 2007

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi

I have two sum function that work as they should, but try to set another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than 100
it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user





Bob Phillips[_3_]

SUMIF and SUM.NUMBER
 
Is it SUMPRODUCT on your system.

Go to the VBIDE (Alt-F11) and in the immediate windo type

Activecell.Formula = "=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)"

and see what that gives you in Excel.

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi Bob

Have tried this :

=SUMPRODUCT(--(E2:E1600=N2),--(K2:K1600<100))

The max number of rows are 1600, but get #name?
--
Just a regular user


"Bob Phillips" wrote:

In English

=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)

you cannot use whole columns with SUMPRODUCT prior to Exel 2007

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi

I have two sum function that work as they should, but try to set
another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than
100
it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user







Rockbear

SUMIF and SUM.NUMBER
 

tHERE IS NO SUMPRODUCT ON MY 2003 EXCEL
Just a regular user


"Bob Phillips" wrote:

Is it SUMPRODUCT on your system.

Go to the VBIDE (Alt-F11) and in the immediate windo type

Activecell.Formula = "=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)"

and see what that gives you in Excel.

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi Bob

Have tried this :

=SUMPRODUCT(--(E2:E1600=N2),--(K2:K1600<100))

The max number of rows are 1600, but get #name?
--
Just a regular user


"Bob Phillips" wrote:

In English

=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)

you cannot use whole columns with SUMPRODUCT prior to Exel 2007

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi

I have two sum function that work as they should, but try to set
another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than
100
it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user







Bob Phillips[_3_]

SUMIF and SUM.NUMBER
 
Did you try my suggestion?

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...

tHERE IS NO SUMPRODUCT ON MY 2003 EXCEL
Just a regular user


"Bob Phillips" wrote:

Is it SUMPRODUCT on your system.

Go to the VBIDE (Alt-F11) and in the immediate windo type

Activecell.Formula = "=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)"

and see what that gives you in Excel.

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi Bob

Have tried this :

=SUMPRODUCT(--(E2:E1600=N2),--(K2:K1600<100))

The max number of rows are 1600, but get #name?
--
Just a regular user


"Bob Phillips" wrote:

In English

=SUMPRODUCT(--(E2:E200=N2),--(K2:K200<100)

you cannot use whole columns with SUMPRODUCT prior to Exel 2007

--
__________________________________
HTH

Bob

"Rockbear" wrote in message
...
Hi

I have two sum function that work as they should, but try to set
another
agrument and then it fails..
First one :
=ANTALL.HVIS(E:E,N2), in english i thin it is NUMBER.IF(E:E,N2)
I am trying ti get it to say NUMBER.IF(E:E,N2 AND K:K<100)
IF the E:E finds the value of N2, and the number in K:K is less than
100
it
should count all under 100.
The same with 101 t0 300 NUMBER.IF(E:E,N2 AND K:K100 and 300)


Second sum the numbers :
=SUMIF((E:E,N2,K:K)
=SUMIF((E:E,N2 AND K:K<100)
Sum all numbers from 0 to 100 in K:K if N2 are found in E:E
=SUMIF(E:E,NR AND K:K100 and 300)
SUM all numbers between 101 and 300 if N2 are found in E:E


Would have been wonderfull with some help

ROCK-
Just a regular user










All times are GMT +1. The time now is 10:41 AM.

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