Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Just when you think you've got a good formula.... I need helpwith

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Just when you think you've got a good formula.... I need helpwith

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Just when you think you've got a good formula.... I need helpw

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Just when you think you've got a good formula.... I need helpw

Copy this formula and paste it into your sheet:

=IF(COUNTA(C8:AF8)0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Just when you think you've got a good formula.... I need helpw

Or....did you need this.....
=IF(SUM(COUNTIF(C8:AF8,{"n","no"}))0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

Copy this formula and paste it into your sheet:

=IF(COUNTA(C8:AF8)0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Just when you think you've got a good formula.... I need helpw

This is PERFECT, Ron. Thank you so much!!
You're wonderful!
I was trying to do something
like that, but apparently I was leaving some little tidbit out!!!
I love this place <sigh :D

"Ron Coderre" wrote:

Copy this formula and paste it into your sheet:

=IF(COUNTA(C8:AF8)0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Just when you think you've got a good formula.... I need helpw

Maybe you can explain something to me, or maybe it's just one of those things
you just have to "know" but...
I can read this formula and it makes sense except for the "") on the end.
I'm not sure what that's for??
Thanks, Meenie :)

"Ron Coderre" wrote:

Copy this formula and paste it into your sheet:

=IF(COUNTA(C8:AF8)0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at me :)

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Just when you think you've got a good formula.... I need helpw

The dbl-quote returns an empty text string.....without it, the formula will
return FALSE!

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Maybe you can explain something to me, or maybe it's just one of those things
you just have to "know" but...
I can read this formula and it makes sense except for the "") on the end.
I'm not sure what that's for??
Thanks, Meenie :)

"Ron Coderre" wrote:

Copy this formula and paste it into your sheet:

=IF(COUNTA(C8:AF8)0,100-SUM(COUNTIF(C8:AF8,{"n","no"})*10), "")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

I'm sorry, I put in the incorrect formula that I'm using now!! It should have
been:
=IF(COUNTA(C8:AF8)0,100-(COUNTIF(C8:AF8,"n")*10), "") when the cells are
empty (a blank form) I don't
want the cell with the formula to have "100" in it. I want it to be blank
until
something is intered in the other cells.
I thought from your formula that I could make the "n" in the above formula,
{"n","no"} but it didn't seem to work. Did I do something wrong?


"Ron Coderre" wrote:

If you want "hits" on entries of "N" and "no", but not on "not this one"

Try this:

=100-SUM(COUNTIF(C8:AF8,{"No","N"})*10)

Otherwise....this one matches anything beginning with "n"
=100-COUNTIF(C8:AF8,"N*")*10

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Meenie" wrote:

Well, just when you think it's safe to go in the water.....
I used this formula: =100-(COUNTIF(C8:AF8,"No")*10)
and thought it worked great but then discovered some people
used "N" for no and some typed out "No" for no.So it worked for
NO but not for N.
How do I make it work for
both?
I tried using "if" and "or" in there a couple of different ways, but I'm
doing
something wrong. Excel keeps yelling
at 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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
=%A%1, is this a good formula in Excel 2000? Heidi123 Excel Discussion (Misc queries) 3 April 26th 06 03:00 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM


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