Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hb hb is offline
external usenet poster
 
Posts: 8
Default Working with arrays as arguments

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Working with arrays as arguments

If C20 is in the same sheet 'Cash Flows', try with a named range.

--From menu InsertNameDefine
Names in workbook: myRange
Refers to: ='Cash Flows'!$E$9:$AE$9,'Cash Flows'!$C$20

Hit OK

--Try the formula
=IRR(myRange,0.1)


If this post helps click Yes
---------------
Jacob Skaria


"HB" wrote:

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hb hb is offline
external usenet poster
 
Posts: 8
Default Working with arrays as arguments

Thanks Jacob, but unfortunately the cells are in different sheets...

Ill check if I can transfer some of the cells into the same sheet, but in
the meanwhile if anyone has an idea how to combine ranges in different sheet
it would be really helpful...

"Jacob Skaria" wrote:

If C20 is in the same sheet 'Cash Flows', try with a named range.

--From menu InsertNameDefine
Names in workbook: myRange
Refers to: ='Cash Flows'!$E$9:$AE$9,'Cash Flows'!$C$20

Hit OK

--Try the formula
=IRR(myRange,0.1)


If this post helps click Yes
---------------
Jacob Skaria


"HB" wrote:

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 64
Default Working with arrays as arguments

Maybe this entered using CTRL+SHIFT+ENTER:

=IRR(IF(FREQUENCY(COLUMN(CF!E9:AE9),COLUMN(CF!E9:A E9)),CF!E9:AE9,C20),0.1)

where "CF" is the cash flow sheet.
If both ranges are on the same sheet also try:=IRR((E9:AE9,C20),0.1)

"HB" wrote:

Thanks Jacob, but unfortunately the cells are in different sheets...

Ill check if I can transfer some of the cells into the same sheet, but in
the meanwhile if anyone has an idea how to combine ranges in different sheet
it would be really helpful...

"Jacob Skaria" wrote:

If C20 is in the same sheet 'Cash Flows', try with a named range.

--From menu InsertNameDefine
Names in workbook: myRange
Refers to: ='Cash Flows'!$E$9:$AE$9,'Cash Flows'!$C$20

Hit OK

--Try the formula
=IRR(myRange,0.1)


If this post helps click Yes
---------------
Jacob Skaria


"HB" wrote:

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Working with arrays as arguments

Lori, does that need to be array entered?

"Lori Miller" wrote:

Maybe this entered using CTRL+SHIFT+ENTER:

=IRR(IF(FREQUENCY(COLUMN(CF!E9:AE9),COLUMN(CF!E9:A E9)),CF!E9:AE9,C20),0.1)

where "CF" is the cash flow sheet.
If both ranges are on the same sheet also try:=IRR((E9:AE9,C20),0.1)

"HB" wrote:

Thanks Jacob, but unfortunately the cells are in different sheets...

Ill check if I can transfer some of the cells into the same sheet, but in
the meanwhile if anyone has an idea how to combine ranges in different sheet
it would be really helpful...

"Jacob Skaria" wrote:

If C20 is in the same sheet 'Cash Flows', try with a named range.

--From menu InsertNameDefine
Names in workbook: myRange
Refers to: ='Cash Flows'!$E$9:$AE$9,'Cash Flows'!$C$20

Hit OK

--Try the formula
=IRR(myRange,0.1)


If this post helps click Yes
---------------
Jacob Skaria


"HB" wrote:

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 64
Default Working with arrays as arguments

I think it needs array-entry, but it should have been a horizontal array:

=IRR(IF(TRANSPOSE(FREQUENCY(COLUMN(CF!E9:AE9),COLU MN(CF!E9:AE9))),
CF!E9:AE9,C20),0.1)

"Jacob Skaria" wrote:

Lori, does that need to be array entered?

"Lori Miller" wrote:

Maybe this entered using CTRL+SHIFT+ENTER:

=IRR(IF(FREQUENCY(COLUMN(CF!E9:AE9),COLUMN(CF!E9:A E9)),CF!E9:AE9,C20),0.1)

where "CF" is the cash flow sheet.
If both ranges are on the same sheet also try:=IRR((E9:AE9,C20),0.1)

"HB" wrote:

Thanks Jacob, but unfortunately the cells are in different sheets...

Ill check if I can transfer some of the cells into the same sheet, but in
the meanwhile if anyone has an idea how to combine ranges in different sheet
it would be really helpful...

"Jacob Skaria" wrote:

If C20 is in the same sheet 'Cash Flows', try with a named range.

--From menu InsertNameDefine
Names in workbook: myRange
Refers to: ='Cash Flows'!$E$9:$AE$9,'Cash Flows'!$C$20

Hit OK

--Try the formula
=IRR(myRange,0.1)


If this post helps click Yes
---------------
Jacob Skaria


"HB" wrote:

Hello

I am trying to calculate the IRR of a series of cashflows stored
sequentially, except that I need to append a final term to the cash flows
within the formula itself.
i.e. In my formula :
=IRR('Cash Flows'!E9:AE9,0.1)
I need to modify the first argument and add a new term from another cell in
my excel sheet. The first argument in the formula above is an array of
numbers, so basically what I am trying to do is dynamically add a new term at
the end of the array.

I tried variations like:
=IRR({'Cash Flows'!E9:AE9}&{C20},0.1) ; where C20 represents the term I want
to append but none of them seem to work.

It is not an option for me to store the number in another excel sheet (i.e.
I cant enter the number in AF9 and then process the formula with E9:AF9)

Would appreciate it if anyone can help me out with this.

Thanks
HB

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Working with arrays as arguments

Hello HB,

Enter
=IRR(TRANSPOSE('Cash Flows'!E9:AE9),0.1)
normally (no array-formula). IRR expects a vertical array input.

Regards,
Bernd
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
Too few arguments plore Excel Worksheet Functions 5 July 19th 12 02:36 PM
Working with 2 arguments over 4 columns (countif ??) Dubbo Excel Worksheet Functions 2 June 10th 09 05:36 AM
And, if, arguments.... Chuck_in_Mo Excel Worksheet Functions 19 February 12th 07 03:42 PM
SUMPRODUCT with 3 arrays not working Kierano Excel Worksheet Functions 1 October 16th 06 03:37 PM
Working with Arrays Judy Excel Worksheet Functions 1 January 11th 06 12:22 AM


All times are GMT +1. The time now is 10:29 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"