Start at bottom of Array

scrandal

Board Regular
Joined
Jul 15, 2004
Messages
160
I will have a column of values (to keep it simple, let's say A1:A10). The values in this range can repeat themselves. Is there a way to count from the bottom of the range when a specific value occurs to determine it's position? I can easily count from the top, but have yet to figure out a way to start at the bottom and go up. Any thoughts?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

xld

Banned
Joined
Feb 8, 2003
Messages
5,378
Code:
With Range("A1:A10")

    For i = Rows.Coun t To 1 Step -1
    
        'so stuff
    Next i
End With
 
Upvote 0

Forum statistics

Threads
1,191,178
Messages
5,985,142
Members
439,942
Latest member
bkexcel11230

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
Top