How to combine a range and cell into a new range in a formula in Excel

zazexcel

New Member
Joined
Jun 8, 2020
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello experts,

I am trying to create a worksheet where I can enter a series of cash flows for two projects as one list and be able to calculate the XIRR for both of them separately.
I tried to search around online but I am not able to understand or able to calculate the right answer to my formula. Hoping some of the experts here can help improve my knowledge in this area.

Column A to:C - show the dates and amount into the different project. I will keep on adding the rows here when there is a new investment.
There would be another column or different tab with the column E to F showing the symbol and current amount

I have used {=XIRR(IF($C$2:$C$10=F2,$B$2:$B$10,0),A2:A10)}.
What I would like to add in my XIRR formula is the current amount of "20000" referencing to Cell F2 in the "values" of XIRR formula and add a today() date in the "dates" of XIRR formula.
1. I would like to combine a range (B2:B10) outflow and cell (F2) current amount into a new range which can be used in a If formula
2. Add a today() date to represent the current amount that I would get if I stop this project.

I spend a lot of hours trying different formula but I keep getting a error. Sorry for asking a noob question but I would like appreciate your expert help here. Thanks.
 

Attachments

  • Capture.JPG
    Capture.JPG
    57.8 KB · Views: 19

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top