#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Spelling comparison

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Spelling comparison

=IF(COUNTIF(B6,"Ho*")0,10,0)


"Richard" wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Spelling comparison

Another way....

=IF(ISNUMBER(SEARCH("Ho",B6)),10,0)


"Richard" wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Spelling comparison

Thanks. That will cut down on my spelling errors.
--
Richard M. Perry


"Teethless mama" wrote:

=IF(COUNTIF(B6,"Ho*")0,10,0)


"Richard" wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Spelling comparison

If you add a list of valid names somewhere, you could use Data|Validation. Then
you could choose from that list--no typing.

Debra Dalgleish has lots of notes about Data|Validation:
http://www.contextures.com/xlDataVal01.html

===
Another option (if your names are in a contiguous column):

Tools|Options|Edit Tab
check the "Enable Autocomplete for cell values"

This will look at the cells above and below to give you a list that matches what
you've typed. Ho could show you Hoover.

It's kind of like rightclicking on the cell and choosing "pick from
list"--another option!

And if you're really lazy <bg, you could use tools|autocorrect options.

Have $$ho replaced with Hoover
(some unique string replaced by the correct name)

You'll have to add all the names you want corrected, though.

Richard wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Spelling comparison

Just a warning...
That will find Ho in any position in the cell

And another:
=if(left(b6,2)="ho",10,0)


Teethless mama wrote:

Another way....

=IF(ISNUMBER(SEARCH("Ho",B6)),10,0)

"Richard" wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Spelling comparison

Thanks Dave. I'll check that out.
--
Richard M. Perry


"Dave Peterson" wrote:

If you add a list of valid names somewhere, you could use Data|Validation. Then
you could choose from that list--no typing.

Debra Dalgleish has lots of notes about Data|Validation:
http://www.contextures.com/xlDataVal01.html

===
Another option (if your names are in a contiguous column):

Tools|Options|Edit Tab
check the "Enable Autocomplete for cell values"

This will look at the cells above and below to give you a list that matches what
you've typed. Ho could show you Hoover.

It's kind of like rightclicking on the cell and choosing "pick from
list"--another option!

And if you're really lazy <bg, you could use tools|autocorrect options.

Have $$ho replaced with Hoover
(some unique string replaced by the correct name)

You'll have to add all the names you want corrected, though.

Richard wrote:

Hi everyone - I run a track meet for twelve grade schools. My Excel score
sheet involves recording the winning student's name and school in one
section. In another section I compare the school name and award points for
that event if there is an exact match. The problem is if I misspell the
school name, the sheet fails to award any points. My function used (for
example, if the school name is "Hoover") is:
"=if (B6="Hoover", 10,0).
Is there a way to compare names with a wildcard so that a misspelling
doesn't doom my calculation. When typing fast, I might inadvertently type in
"Hover" instead of "Hoover." I would like to be able to use a wildcard such
as "Ho*" but can't seem to get that to work. Any thoughts?
--
Richard M. Perry


--

Dave Peterson

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
Spelling Facility Zygy New Users to Excel 2 December 11th 06 05:49 PM
spelling errors in excel mukhwr Excel Discussion (Misc queries) 1 July 14th 06 04:59 AM
Verify spelling in a vlookup formula Chersie Excel Worksheet Functions 5 March 28th 06 04:59 AM
spelling not working Sonzo Excel Discussion (Misc queries) 0 September 22nd 05 09:31 PM
spelling not working Sonzo Excel Discussion (Misc queries) 0 September 22nd 05 09:30 PM


All times are GMT +1. The time now is 11:54 AM.

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

About Us

"It's about Microsoft Excel"