If date is less than in cell, change to the next formula, if not, stay on the current formula.

DailyCaffeine

New Member
Joined
Feb 9, 2022
Messages
25
Office Version
  1. 365
Platform
  1. Windows
I need the formula to change depending on what value a cell has

For example, if B2 < B15, the formula changes so that the cells it's using in the formula goes down by one, if not continue using the formula.
However, once it changes, it will keep that new formula until the date becomes less than B3. So on and so forth.

I can figure out the first part but I am not sure how to do the second part.

Thank you in advance if you can help :)
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I need the formula to change depending on what value a cell has

For example, if B2 < B15, the formula changes so that the cells it's using in the formula goes down by one, if not continue using the formula.
However, once it changes, it will keep that new formula until the date becomes less than B3. So on and so forth.

I can figure out the first part but I am not sure how to do the second part.

Thank you in advance if you can help :)

Your message is unclear. Post it doubled by concrete examples, designed as editable tables (not as images) with initial data, formulas and final desired results.
 
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,653
Members
449,245
Latest member
PatrickL

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