Counting Positions

S

smandula

How would you count positions or depth between identical numbers.

Using VBA how would count the sum position difference of rows for number 11?
regardless of the rows and columns, keeping within range
of A1 ... D50 In this case number 11 has 4 positions count.

First scenerio:

A B C D
1 11
2
3
4 11
5

A B C D
100 Count 4

With thanks
 

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

Top