Anthony's VBA Forum Index Anthony's VBA Forum
Where the knowledge is shared
Menu
 Anthony's VBA Forum IndexHome Page
 Anthony's VBA Forum IndexForum Index
FAQFAQ
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesMessages
Log inLogin/Out

Quick Search

Advanced Search

Links
Consulting
Products

Who's Online
[ Administrator ]
[ Moderator ]


Having Excel return Row Numbers

 
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA
View previous topic :: View next topic  
Author Message
BobM



Joined: 07 Apr 2009
Posts: 1

PostPosted: Tue Apr 07, 2009 4:06 pm    Post subject: Having Excel return Row Numbers Reply with quote

What if I have blocks of data in one column and I want Excel to return the row number when it finds a new number?

Example…

Industry Value (Header Row)
2300
2300
2300
2300
5200
5200
5200

So, I would want it to return the row number for the first 2300 and the first 5200, and so on.

Thanks for ANY help on this!!
Back to top
View user's profile Send private message
Kenneth Hobson
Gold Member
Gold Member


Joined: 25 Mar 2007
Posts: 21
Location: Tecumseh, OK

PostPosted: Fri Apr 24, 2009 11:00 am    Post subject: Reply with quote

In B2, copy down:
=IF(A1<>A2),A2,"")
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group