ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum range of a week if condition is equal to.. (https://www.excelbanter.com/excel-discussion-misc-queries/168919-sum-range-week-if-condition-equal.html)

ldiaz

Sum range of a week if condition is equal to..
 


I want to make a sum if Range is a week number and if style is Equal to
CONC-92 or CONC-45

Week# 49 Week# 50
CONC-92= 27 CONC-92= 30
CONC-45= 27 CONC-45= 30


Datas are in a pivot table and...
Pivot table looks like this:
Date CONC-92 CONC-45 CONC-92 CONC-45
12/7 5 5 10 10
12/8 2 2 10 10
12/9 5 5 10 10
12/10 5 5 10 10



please help


--
Lorenzo DÃ*az
Cad Technician

Bernard Liengme

Sum range of a week if condition is equal to..
 
You will need a helper column with =WEEKNUM(A2) where A2 is the first date
I cannot get SUMIF or SUMPRODUCT to work with WEEKNUM
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ldiaz" wrote in message
...


I want to make a sum if Range is a week number and if style is Equal to
CONC-92 or CONC-45

Week# 49 Week# 50
CONC-92= 27 CONC-92= 30
CONC-45= 27 CONC-45= 30


Datas are in a pivot table and...
Pivot table looks like this:
Date CONC-92 CONC-45 CONC-92 CONC-45
12/7 5 5 10 10
12/8 2 2 10 10
12/9 5 5 10 10
12/10 5 5 10 10



please help


--
Lorenzo Díaz
Cad Technician




Bob Phillips

Sum range of a week if condition is equal to..
 
That is because WEEKNUM will not return an array of values, so it's of no
use to SP.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Bernard Liengme" wrote in message
...
You will need a helper column with =WEEKNUM(A2) where A2 is the first
date
I cannot get SUMIF or SUMPRODUCT to work with WEEKNUM
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ldiaz" wrote in message
...


I want to make a sum if Range is a week number and if style is Equal to
CONC-92 or CONC-45

Week# 49 Week# 50
CONC-92= 27 CONC-92= 30
CONC-45= 27 CONC-45= 30


Datas are in a pivot table and...
Pivot table looks like this:
Date CONC-92 CONC-45 CONC-92 CONC-45
12/7 5 5 10 10
12/8 2 2 10 10
12/9 5 5 10 10
12/10 5 5 10 10



please help


--
Lorenzo Díaz
Cad Technician






Bernard Liengme

Sum range of a week if condition is equal to..
 
Agreed
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Bob Phillips" wrote in message
...
That is because WEEKNUM will not return an array of values, so it's of no
use to SP.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"Bernard Liengme" wrote in message
...
You will need a helper column with =WEEKNUM(A2) where A2 is the first
date
I cannot get SUMIF or SUMPRODUCT to work with WEEKNUM
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ldiaz" wrote in message
...


I want to make a sum if Range is a week number and if style is Equal to
CONC-92 or CONC-45

Week# 49 Week# 50
CONC-92= 27 CONC-92= 30
CONC-45= 27 CONC-45= 30


Datas are in a pivot table and...
Pivot table looks like this:
Date CONC-92 CONC-45 CONC-92 CONC-45
12/7 5 5 10 10
12/8 2 2 10 10
12/9 5 5 10 10
12/10 5 5 10 10



please help


--
Lorenzo Díaz
Cad Technician









All times are GMT +1. The time now is 08:22 PM.

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