IF OR Formule rewritten

MrGeek1

New Member
Joined
Jul 24, 2019
Messages
32
Hi all,

I need your help on this one. I have inputs in my IF OR logicals as different dates (20 in total). Because of these 20 inputs the formula gets jammed and if you want to change the dates to 12 you need to do this manually and it takes some time. So I want to have a formula or code that selects these dates based on the exit dates fields and can be adjusted easier. Could you help me out? Thanks!

Date 31-03-2020 30-06-2020 --------> and so forth
CF 100,000 120,000
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Please post with the Forum's XL2BB a concise example and expected results.

The array of numbers can be created quite easily.
For example, put the Dates in K1:K20. Put K1:K20 into formula; press F9 to convert K1:K20 to an array of numbers.

T202010a.xlsm
IJK
131-Dec-2231-Mar-20
2TRUE30-Jun-20
330-Sep-20
1c
Cell Formulas
RangeFormula
I2I2=OR(I1={43921;44012;44104;44196;44286;44377;44469;44561;44651;44742;44834;44926;45016;45107;45199;45291;45382;45473;45565;45657})
K2:K3K2=EOMONTH(K1,3)
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,602
Members
449,089
Latest member
Motoracer88

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