Match

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,843
Office Version
  1. 2010
Platform
  1. Windows
If I use =MATCH(9.99999999999999E+307,Fixtures!$N:$N) to find the row with the last figure in ColumnN...

What do I use to find the row with the last text entry please?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Something like

=MATCH("ZZ",Fixtures!$N:$N)

most people seem to advise using REPT("Z",100) or similar in place of "ZZ", but unless there is a possibility of a text entry that starts with "ZZ" there is no need to.
 
Upvote 0
Thanks gents... I found this in a formula Aladin gave me...

=MATCH(REPT("z",255),$N:$N). I think that repeats the "z" 255 times?
 
Upvote 0
Yes it does. But as Jasonb75 said, it's not really necessary if you know there's nothing starting with ZZ, in which case just "ZZ" will suffice.

For example, if the text values are the names of football clubs, and you know that none of them start with "Z", then just "Z" will do.
 
Upvote 0
Yes it does. But as Jasonb75 said, it's not really necessary if you know there's nothing starting with ZZ, in which case just "ZZ" will suffice.

For example, if the text values are the names of football clubs, and you know that none of them start with "Z", then just "Z" will do.

Thanks Gerald
 
Upvote 0
If I use =MATCH(9.99999999999999E+307,Fixtures!$N:$N) to find the row with the last figure in ColumnN...

What do I use to find the row with the last text entry please?
For the last numeric value:

=MATCH(1E100,Fixtures!$N:$N)

For the last text value:

=MATCH("zzzzz",Fixtures!$N:$N)
 
Upvote 0
If I use =MATCH(9.99999999999999E+307,Fixtures!$N:$N) to find the row with the last figure in ColumnN...

What do I use to find the row with the last text entry please?

=MATCH(REPT("z",255),Fixtures!$N:$N)

where REPT("z",255) produces the largest string with a lenght of 255 (Excel's text limit in a cell in earlier versions)...

It's easier to define BigNum and BigStr (by means of Insert|Name|Define or Formulas|Name Manager) as referring to:

=9.99999999999999E+307

and

=REPT("z",255)

and use these in formulas like

=MATCH(BigNum,Fixtures!$N:$N)

=MATCH(BigStr,Fixtures!$N:$N)

=LOOKUP(BigNum,Fixtures!$N:$N)

=LOOKUP(BigStr,Fixtures!$N:$N)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top