# Can you have a formula in a table work on a column only down to the row it's on?

1. ## Can you have a formula in a table work on a column only down to the row it's on?

I want to put an irr formula into a table that is in every row that reflects the irr from the first applicable row in the table down to the row of the formula. So it would be like (irr(a2:current row)). Is this possible? Thanks

2. ## Re: Can you have a formula in a table work on a column only down to the row it's on?

How about a more explicit explanation?
Without really knowing what you want the only thing that comes up is to restrict the range to the current row.
Set the current row in a variable and then specify the range again

``Please Login or Register  to view this content.``

3. Sorry, but what you just said is like Chinese to me. Let me try to be more clear. So I'll a column for earnings. I'm not sure if it has to be yearly as the examples for irr I've seen use, but I can worry about that later. Anyway, most examples have the result separate from the table as a single number to reflect the ongoing irr number but I want one for each row reflecting the irr of the inputs(yearly or whatever) down to the row in question. Sorry if it's confusing. And sorry I'm not knowledgeable enough to understand your response. Thanks

4. ## Re: Can you have a formula in a table work on a column only down to the row it's on?

The short answer is yes, probably. Are you using a structured Table?

Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

2. Make sure that your desired solution is also shown (mock up the results manually).

3. Make sure that all confidential information is removed first!!

4. Try to avoid using merged cells. They cause lots of problems!

Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

5. ## Re: Can you have a formula in a table work on a column only down to the row it's on?

Maybe:

=IRR(INDEX([Col A],1):INDEX([Col A],ROWS(\$1:1)))

where [ColA] is the structured name of the table column with your data...

6. Originally Posted by Glenn Kennedy
Maybe:

=IRR(INDEX([Col A],1):INDEX([Col A],ROWS(\$1:1)))

where [ColA] is the structured name of the table column with your data...

Thank you. I'll try it out...

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1