Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default =cell("row") ... changes depending on what cell i click? HELP!

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default =cell("row") ... changes depending on what cell i click? HELP!

hi
try this =cell("row",A1)
without a reference i think the formula references the activecell. not 100%
sure on that.

Regards
FSt1

"tripflex" wrote:

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!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default =cell("row") ... changes depending on what cell i click? HELP!

Try

=CELL("row",A1)

--
HTH

Bob

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

"tripflex" wrote in message
...
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!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default =cell("row") ... changes depending on what cell i click? HELP!

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


"tripflex" wrote:

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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Double click a blank cell to enact "ctrl + ;" Emredrum Excel Worksheet Functions 10 October 16th 08 10:30 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How can I Auto insert an "X" in a cell by just ONE left click???? Mac 5430 Excel Discussion (Misc queries) 3 April 14th 08 12:52 AM
Click "Enter" move to cell to the right, not down in Excel Art Bahrnone Excel Worksheet Functions 1 March 20th 07 03:38 AM
Excel: can "go to adjacent empty cell" double-click be disabled? dgg2006 Excel Discussion (Misc queries) 1 April 8th 06 04:51 AM


All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"