Find just "last row number"

Kishan

Well-known Member
Joined
Mar 15, 2011
Messages
1,648
Office Version
  1. 2010
Platform
  1. Windows
Using Excel 2000<o:p></o:p>
<o:p></o:p>
Hi,<o:p></o:p>
<o:p></o:p>
I want a Formula or may be VBA that can locate the only the "last row number" <o:p></o:p>
<o:p></o:p>
In the column C, there are repeated values<o:p></o:p>
In the column E, there are unique values; I need to search the "last row number" of each value column E, and result value be placed in column F<o:p></o:p>
<o:p></o:p>
Note: cells are coloured shown just to show example clearer <o:p></o:p>
<o:p></o:p>
Result data example<o:p></o:p>


Book1
ABCDEFG
1
2
3
4
5Join Count Patt VariUnique PattLast Row Number
60|6|10|0|0
72|0|10|0|143
80|0|10|1|0
94|1|21|0|0
102|4|00|0|2
111|3|01|0|1
121|1|61|1|060
132|4|02|0|0
142|0|10|0|3
153|4|00|2|1
161|1|01|0|2
172|4|21|1|1
182|2|01|2|0
192|2|02|0|140
200|1|22|1|0
212|0|13|0|0
220|1|10|0|4
231|5|00|1|3
241|4|10|2|2
250|0|10|4|0
264|0|11|0|3
270|3|11|2|1
282|0|11|3|011
291|6|02|0|2
302|4|02|1|1
312|2|22|2|019
324|0|23|0|1
331|3|34|0|0
342|3|10|0|5
352|3|20|1|4
361|3|10|4|1
372|0|10|5|023
381|6|01|0|4
390|3|01|2|2
402|0|11|3|151
410|3|12|0|3
422|2|22|1|2
430|0|12|2|1
441|4|02|3|0
450|2|33|0|2
461|6|03|1|1
473|4|13|2|0
484|0|14|1|0
492|1|35|0|0
502|2|30|0|6
511|3|10|1|5
520|1|20|2|4
531|0|60|3|3
541|1|00|4|2
550|5|20|5|1
560|2|00|6|0
571|1|01|0|5
580|3|21|1|4
593|1|01|2|3
601|1|01|3|2
613|5|01|5|0
621|1|22|0|4
63
64
Sheet2


Thank you in advance
<o:p></o:p>
<o:p></o:p>
Regards,
Kishan
 
Last edited:
Hi,

Same concept as Rick's formula, slightly shorter:

=IFERROR(LOOKUP(2,1/(C$1:C$62=E7),ROW(C$1:C$62)),"")
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

Same concept as Rick's formula, slightly shorter:

=IFERROR(LOOKUP(2,1/(C$1:C$62=E7),ROW(C$1:C$62)),"")

I would have posted a formula using IFERROR except the OP is using XL2000 (see first line of Message #1 ), so he does not have that available to him.
 
Last edited:
Upvote 0
I would have posted a formula using IFERROR except the OP is using XL2000 (see first line of Message #1 ), so he does not have that available to him.

Sorry Rick, missed it, didn't see that part.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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