Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Sum if Week Number and style is equal to any condition

Could you help me on this?


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:
Week# CONC-92 CONC-45 CONC-92 CONC-45
49 5 5 10 10
49 2 2 10 10
50 5 5 10 10
50 5 5 10 10

--
Lorenzo DÃ*az
Cad Technician
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Sum if Week Number and style is equal to any condition

With the text Week# in A1, the other text in B1:E1
Row 2 has: 49, 5,5,10,10
To sum for week = 49 and type is CON-92
SUMIF(A2:A5,49,B2:B5)+SUMIF(A2:A5,49,D2:D5)
OR
=SUMIF($A$2:$A$5,G1,$B$2:$B$5)+SUMIF($A$2:$A$5,G1, $D$2:$D$5)
if G1 hold the value 49
Copy down to the next cell with G2 holding the value 50
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ldiaz" wrote in message
...
Could you help me on this?


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:
Week# CONC-92 CONC-45 CONC-92 CONC-45
49 5 5 10 10
49 2 2 10 10
50 5 5 10 10
50 5 5 10 10

--
Lorenzo Díaz
Cad Technician



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Sum if Week Number and style is equal to any condition

Thanks for your help,

LD

--
Lorenzo DÃ*az
Cad Technician


"Bernard Liengme" wrote:

With the text Week# in A1, the other text in B1:E1
Row 2 has: 49, 5,5,10,10
To sum for week = 49 and type is CON-92
SUMIF(A2:A5,49,B2:B5)+SUMIF(A2:A5,49,D2:D5)
OR
=SUMIF($A$2:$A$5,G1,$B$2:$B$5)+SUMIF($A$2:$A$5,G1, $D$2:$D$5)
if G1 hold the value 49
Copy down to the next cell with G2 holding the value 50
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ldiaz" wrote in message
...
Could you help me on this?


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:
Week# CONC-92 CONC-45 CONC-92 CONC-45
49 5 5 10 10
49 2 2 10 10
50 5 5 10 10
50 5 5 10 10

--
Lorenzo DÃ*az
Cad Technician




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum range of a week if condition is equal to.. ldiaz Excel Discussion (Misc queries) 3 December 7th 07 10:54 PM
group sales by week and week number Wanna Learn Excel Discussion (Misc queries) 7 November 7th 06 11:44 AM
Accounting Style Number Button Sabine Excel Worksheet Functions 3 February 2nd 05 05:25 PM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM


All times are GMT +1. The time now is 07:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"