Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Double click a blank cell to enact "ctrl + ;" | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
How can I Auto insert an "X" in a cell by just ONE left click???? | Excel Discussion (Misc queries) | |||
Click "Enter" move to cell to the right, not down in Excel | Excel Worksheet Functions | |||
Excel: can "go to adjacent empty cell" double-click be disabled? | Excel Discussion (Misc queries) |