Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Passing a row to a function

I need to take the row value of the cell in which a function appears and pass
that value into the function itself. As in the example below, cells A1, A2,
A3 all contain the function getName(), I would like getName() to evaluate
differently based on the row number. Is this possible?

COLUMN
ROW A B
1 =getName()
2 =getName()
3 =getName()
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Passing a row to a function

row()?

"dch3" wrote:

I need to take the row value of the cell in which a function appears and pass
that value into the function itself. As in the example below, cells A1, A2,
A3 all contain the function getName(), I would like getName() to evaluate
differently based on the row number. Is this possible?

COLUMN
ROW A B
1 =getName()
2 =getName()
3 =getName()

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Passing a row to a function

That will work. In the future, you may want to elaborate a little bit more. I
didn't understand your response until I opened Excel and tried the function.
I obviously wasn't aware that it was a valid Excel function.

"Barb Reinhardt" wrote:

row()?

"dch3" wrote:

I need to take the row value of the cell in which a function appears and pass
that value into the function itself. As in the example below, cells A1, A2,
A3 all contain the function getName(), I would like getName() to evaluate
differently based on the row number. Is this possible?

COLUMN
ROW A B
1 =getName()
2 =getName()
3 =getName()

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
IF function to blank without getting #value in sum function Brad Stevenson Excel Worksheet Functions 5 May 26th 05 10:26 AM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 08:51 PM.

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

About Us

"It's about Microsoft Excel"