=cell("row") ... changes depending on what cell i click? HELP!

  • Thread starter Thread starter tripflex
  • Start date Start date
T

tripflex

Alright so if i put the above code into say the first five cells of my
workbook, they all have the same number in them?

I want each one to mimic what row it is in so it should be 1,2,3,4,5 but for
some reason all of the cells say 5 if i have 5 or 4 if i have 4, etc

Anybody know why it is doing this? Thanks!
 
hi
try this =cell("row",A1)
without a reference i think the formula references the activecell. not 100%
sure on that.

Regards
FSt1
 
Try

=CELL("row",A1)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Use
=ROW()

If you want to you cell then use it like this
=CELL("row",A1)
it will give you the row number of the cell A1
 

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

Back
Top