Compare

  • Thread starter Thread starter CribbsStyle
  • Start date Start date
C

CribbsStyle

Ok This is the setup.....

A24
--------------------------------------------------------
George Shirley

Range
--------------------------------------------------------
HiddenStats!A20:A150

Format of Names in Range
--------------------------------------------------------
G. Shirley

Code
--------------------------------------------------------
=INDEX(HiddenStats!$A$20:$N$150,MATCH(A24,HiddenStats!$A$20:$A$150,FALSE),7)


I need it to recognise "G.Shirley" as George Shirley, is there a way?
Any help would be appreciated!
 
Try this:

=INDEX(HiddenStats!$A$20:$N$150,MATCH(LEFT(A24)&"."&MID(A24,FIND("
",A24),50),HiddenStats!$A$20:$A$150,FALSE),7)

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

Ok This is the setup.....

A24
--------------------------------------------------------
George Shirley

Range
--------------------------------------------------------
HiddenStats!A20:A150

Format of Names in Range
--------------------------------------------------------
G. Shirley

Code
--------------------------------------------------------
=INDEX(HiddenStats!$A$20:$N$150,MATCH(A24,HiddenStats!$A$20:$A$150,FALSE),7)


I need it to recognise "G.Shirley" as George Shirley, is there a way?
Any help would be appreciated!
 
Use a helper cell to parse the name:

A24 = George Shirley

A25 = formula:

=LEFT(A24)&". "&MID(A1,FIND(" ",A24)+1,255)

Returns: G. Shirley

Then:

..........MATCH(A25,HiddenStats!$A$20:$A$150,FALSE)........

Or:

..........MATCH(LEFT(A24)&". "&MID(A1,FIND("
",A24)+1,255),HiddenStats!$A$20:$A$150,FALSE)........

Biff
 
Thanks for the help guys! I combined what u both said into this and it
works perfectly!

=INDEX(HiddenStats!$A$20:$N$150,MATCH(LEFT(A24)&". "&MID(A24,FIND("
",A24)+1,255),HiddenStats!$A$20:$A$150,FALSE),7)

Dennis
 
One more question, is there a way to have the cells not display #VALUE
when A25 is blank?

Dennis
 
Try this:

=IF(A24<>"",INDEX(HiddenStats!$A$20:$N$150,MATCH(LEFT(A24)&"."&MID(A24,FIND("
",A24),50),HiddenStats!$A$20:$A$150,FALSE),7),"")

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

One more question, is there a way to have the cells not display #VALUE
when A25 is blank?

Dennis
 
is there a way to have the cells not display #VALUE
when A25 is blank?

Try this. It will leave the cell blank:

=IF(A25="","",your_formula_here))

Biff

One more question, is there a way to have the cells not display #VALUE
when A25 is blank?

Dennis
 
is there a way to have the cells not display #VALUE
when A25 is blank?

Try this. It will leave the cell blank:

=IF(A25="","",your_formula_here))

Biff

One more question, is there a way to have the cells not display #VALUE
when A25 is blank?

Dennis
 
Thanks, but I figured it out, I used this...

=IF(ISERROR(INDEX(HiddenStats!$A$20:$N$148,MATCH(LEFT(A24)&".
"&MID(A24,FIND("
",A24)+1,255),HiddenStats!$A$20:$A$148,FALSE),2)),"",INDEX(HiddenStats!$A$20:$N$148,MATCH(LEFT(A24)&".
"&MID(A24,FIND(" ",A24)+1,255),HiddenStats!$A$20:$A$148,FALSE),2))

For cell A24 of course, not A25

Try this:

=IF(A24<>"",INDEX(HiddenStats!$A$20:$N$150,MATCH(LEFT(A24)&"."&MID(A24,FIND­("
",A24),50),HiddenStats!$A$20:$A$150,FALSE),7),"")

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

One more question, is there a way to have the cells not display #VALUE
when A25 is blank?

Dennis

Use a helper cell to parse the name:
A24 = George Shirley
A25 = formula:
=LEFT(A24)&". "&MID(A1,FIND(" ",A24)+1,255)
Returns: G. Shirley
.........MATCH(A25,HiddenStats!$A$20:$A$150,FALSE)........

.........MATCH(LEFT(A24)&". "&MID(A1,FIND("
",A24)+1,255),HiddenStats!$A$20:$A$150,FALSE)........

messagenews:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top