A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

formula help!!



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2004, 03:21 AM
Mike Kasiorek
external usenet poster
 
Posts: n/a
Default formula help!!

Hello there, I am desperate for some help on a excel project....basicaly
I have 2 columns, one will be a "Y" and the other a "N"...I need to come
up with a formula to add these up at the end of the column...I don't
know how to write a formula that tells it that, for example Y=1 and then
add columns C3 to C175..I would really appreciate it if some kind soul
could help me out...thanks, Mike

  #2  
Old June 14th, 2004, 03:25 AM
JulieD
external usenet poster
 
Posts: n/a
Default formula help!!

Hi Mike

i think you're after the SUMIF function

=SUMIF(A3:A175,1,C3:C175)
will add up the values in C3:C175, where the corresponding cell in column A
has a 1 in it

or
=SUMIF(A3:A175,"Y",C3:C175)
will add up the values in C3:C175, where the corresponding cell in column A
has a Y in it

Hope this helps
Cheers
JulieD

"Mike Kasiorek" wrote in message
...
Hello there, I am desperate for some help on a excel project....basicaly
I have 2 columns, one will be a "Y" and the other a "N"...I need to come
up with a formula to add these up at the end of the column...I don't
know how to write a formula that tells it that, for example Y=1 and then
add columns C3 to C175..I would really appreciate it if some kind soul
could help me out...thanks, Mike



  #3  
Old June 14th, 2004, 09:02 AM
Paul Falla
external usenet poster
 
Posts: n/a
Default formula help!!

Dear Mike

It sounds like you need to count the number of "y"s
and "n"s in the two columns. This is easily achieved by
entering =Counta(A3:A175) in the cell directly below the
last cell containing "y" (assuming the "y"s are in column
A. Copy and paste the formula in the cell directly below
the last "n" value to count the number of "n"s. This way
you don't have to worry about assigning a numerical value
to to the letters

Hope this helps

Paul Falla
-----Original Message-----
Hi Mike

i think you're after the SUMIF function

=SUMIF(A3:A175,1,C3:C175)
will add up the values in C3:C175, where the

corresponding cell in column A
has a 1 in it

or
=SUMIF(A3:A175,"Y",C3:C175)
will add up the values in C3:C175, where the

corresponding cell in column A
has a Y in it

Hope this helps
Cheers
JulieD

"Mike Kasiorek" wrote in message
...
Hello there, I am desperate for some help on a excel

project....basicaly
I have 2 columns, one will be a "Y" and the other

a "N"...I need to come
up with a formula to add these up at the end of the

column...I don't
know how to write a formula that tells it that, for

example Y=1 and then
add columns C3 to C175..I would really appreciate it if

some kind soul
could help me out...thanks, Mike



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.