Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sum of values in row if they also correspond to a month?

Hi, For each product I have the date it was checked, and a value for if there
are any imperfections, I want a formula that works out how many products
there were with imperfections in any month. Products with any imperfections
have a 1 in that box, each colum represents a product checked.

Month May May May June
Product has imperfection? 1 1 0 1

So I want my formula to return that May has 2 wrong products, June has 1...
I thought it was going to be a simple countif, but i've tried =COUNTIF(B2:E2,
B1:E1="May") and it's just returning a blank! Please help!! I've tried so
many variations of formulas and not getting anywhere!
Thanks
Ceri

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Sum of values in row if they also correspond to a month?

Try it this way:

=SUMIF(B$1:E$1,"May",B2:E2)

Hope this helps.

Pete

On May 9, 9:13*am, ceri_m wrote:
Hi, For each product I have the date it was checked, and a value for if there
are any imperfections, I want a formula that works out how many products
there were with imperfections in any month. Products with any imperfections
have a 1 in that box, each colum represents a product checked.

Month * * * * * * * * * * * * * * * * * May * * May * * May * * June
Product has imperfection? * * * 1 * * * 1 * * * 0 * * * 1

So I want my formula to return that May has 2 wrong products, June has 1....
I thought it was going to be a simple countif, but i've tried =COUNTIF(B2:E2,
B1:E1="May") and it's just returning a blank! Please help!! I've tried so
many variations of formulas and not getting anywhere!
Thanks
Ceri


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
How do make a line correspond to date soconfused Charts and Charting in Excel 7 May 24th 07 08:34 PM
Changing cell colors to correspond to different dates emtp6738 Excel Worksheet Functions 2 September 26th 06 02:40 AM
Why doesn't the equation correspond to the graphic? Ismael Jr Excel Discussion (Misc queries) 4 September 8th 06 04:42 PM
find value in array on sep sheet & ret correspond val from col lef learningasigo Excel Discussion (Misc queries) 5 June 25th 06 09:22 PM
I need a form with 5 buttons that correspond with values 1-5 Steven J Reddy Excel Discussion (Misc queries) 2 September 25th 05 03:09 AM


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

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"