Changing a formula location based on an integer in a cell

mike2022

New Member
Joined
Oct 18, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello! I am trying to move a SEQUENCE formula to the right X number of rows. Using the attached picture as an example:
  • Currently I have a sequence evenly dividing my notional over the number of years (5) stated in B4
  • I would like to dynamically push that sequence 'X' cells to the right based on B5 (i.e. in this case push forward 3 years so the sequence begins the 5y payback in 2024)
Thank you for checking!
 

Attachments

  • Capture.PNG
    Capture.PNG
    12.5 KB · Views: 2

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Is this what you're trying to do?
Book1
BCDEFGHIJKLMN
220212022202320242025202620272028202920302031
3100 2020202020
45
53
Sheet1
Cell Formulas
RangeFormula
D3:K3D3=IF(SEQUENCE(,B4+B5)>B5,B3/B4,"")
Dynamic array formulas.
 
Upvote 0
Solution
Thanks very much jasonb75! This does the trick, much appreciated.
 
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,338
Members
448,570
Latest member
rik81h

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