#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default SUMIF giving me 0

I have hours in one column. I have "Y" in second column. I want to total
the hours that only have Y in second column. I find if I switch the columns,
putting Y in the first column & hours in the second column, it works. I
can't switch them though because other people use this spreadsheet & need to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default SUMIF giving me 0

hi
you might have your sum range and criteria range reversed in the formula.
post your fomula and columns letters of the times and "Y".

Regards
FSt1

"Gerrie" wrote:

I have hours in one column. I have "Y" in second column. I want to total
the hours that only have Y in second column. I find if I switch the columns,
putting Y in the first column & hours in the second column, it works. I
can't switch them though because other people use this spreadsheet & need to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default SUMIF giving me 0

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it works. I
can't switch them though because other people use this spreadsheet & need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default SUMIF giving me 0

It doesn't work unless I switch the hours column with the Y column. Then it
works. I would think this would work whichever side either column is on.
what am I doing wrong?
--
Thanks for any help you can give me.


"Per Jessen" wrote:

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it works. I
can't switch them though because other people use this spreadsheet & need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default SUMIF giving me 0

What you are doing wrong is thinking that Excel can guess the "if" column
and the "sum" column. It can't (or more correctly, doesn't). The "if" column
is first, the "sum" column is last. You can't interchange them.

Regards,
Fred.

"Gerrie" wrote in message
...
It doesn't work unless I switch the hours column with the Y column. Then
it
works. I would think this would work whichever side either column is on.
what am I doing wrong?
--
Thanks for any help you can give me.


"Per Jessen" wrote:

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to
total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it works.
I
can't switch them though because other people use this spreadsheet &
need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default SUMIF giving me 0

The problem may be in your formula. It should look like this:

SUMIF(Cells to test, Condition, Cells to sum)

Post your formula for further help.

Regards,
Per

"Gerrie" skrev i meddelelsen
...
It doesn't work unless I switch the hours column with the Y column. Then
it
works. I would think this would work whichever side either column is on.
what am I doing wrong?
--
Thanks for any help you can give me.


"Per Jessen" wrote:

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to
total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it works.
I
can't switch them though because other people use this spreadsheet &
need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default SUMIF giving me 0

Don't know how, but I'll try this:

Column R lists 8 in each cell in four rows
Column S lists y in each cell in four rows (same rows as R column)

Formula is:
SUMIF(R816:S820, "y" ,R816:R820)

I get zero and want to get 32. If I switch data and put y in the R column
and 8 in the S column, and show formula reversed, I get the total



--
Thanks for any help you can give me.


"Per Jessen" wrote:

The problem may be in your formula. It should look like this:

SUMIF(Cells to test, Condition, Cells to sum)

Post your formula for further help.

Regards,
Per

"Gerrie" skrev i meddelelsen
...
It doesn't work unless I switch the hours column with the Y column. Then
it
works. I would think this would work whichever side either column is on.
what am I doing wrong?
--
Thanks for any help you can give me.


"Per Jessen" wrote:

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to
total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it works.
I
can't switch them though because other people use this spreadsheet &
need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default SUMIF giving me 0

Your first range is incorrect. It contains two columns rather than one. Try
it this way:
=SUMIF(S816:S820, "y" ,R816:R820)

Regards,
Fred.


"Gerrie" wrote in message
...
Don't know how, but I'll try this:

Column R lists 8 in each cell in four rows
Column S lists y in each cell in four rows (same rows as R column)

Formula is:
SUMIF(R816:S820, "y" ,R816:R820)

I get zero and want to get 32. If I switch data and put y in the R column
and 8 in the S column, and show formula reversed, I get the total



--
Thanks for any help you can give me.


"Per Jessen" wrote:

The problem may be in your formula. It should look like this:

SUMIF(Cells to test, Condition, Cells to sum)

Post your formula for further help.

Regards,
Per

"Gerrie" skrev i meddelelsen
...
It doesn't work unless I switch the hours column with the Y column.
Then
it
works. I would think this would work whichever side either column is
on.
what am I doing wrong?
--
Thanks for any help you can give me.


"Per Jessen" wrote:

With hours in column A and Y in column B, this formula should do it:


=SUMIF(B1:B13,"Y",A1:A13)

Regards,
Per

"Gerrie" skrev i meddelelsen
...
I have hours in one column. I have "Y" in second column. I want to
total
the hours that only have Y in second column. I find if I switch the
columns,
putting Y in the first column & hours in the second column, it
works.
I
can't switch them though because other people use this spreadsheet &
need
to
use it as is. Is there a way around this problem?
--
Thanks for any help you can give me.





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
Vlookup giving #N/A matt_the_brum Excel Worksheet Functions 12 August 4th 06 09:17 AM
Sumproduct giving #NA Gary Excel Worksheet Functions 2 August 3rd 06 11:47 AM
Giving value to a letter =!CmOrE!= Excel Worksheet Functions 6 July 21st 06 01:56 AM
Sumif formula not giving result abanerji Excel Discussion (Misc queries) 5 June 13th 06 07:20 PM
SUMIF linked WBs giving OUT OF MEMORY Carl @ Flo-Products Excel Worksheet Functions 0 February 8th 05 07:09 PM


All times are GMT +1. The time now is 01:13 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"