Excel 2003 - Help needed for long IF formala to calculates new dates.

grazza2a

New Member
Joined
Feb 7, 2017
Messages
4
Hi all and apologies for posting what for many will be a newbie question. I maintain a Excel 2003 spreadsheet that prompts staff to write reports by a certain date based on how many months a client is with a service.

Originally, this was simply based on one criteria that worked using the formula below:
=IF(OR(K2=""),(""),IF(J2<=48,SUM(I2+56),SUM(I2+112)))

However, the service has become more complicated and added a number of different criteria - see below. Is this possible in Excel 2003? My knowledge of VB is very basic - if that is the route I would have to go down and would prefer to avoid.

All calculations performed and displayed in cell C2 and must not overwrite cells where data is sourced.

So, a formula that incorporates all of the following would need to go into C2

If K2 is blank, leave c2 blank or if number in J2 is between 1-11 (inclusive), add 28 days to date shown I2 and display answer in C2
If K2 is blank, leave C2 blank or if number in J2 is between 12-23 (inclusive), add 56 days to date shown I2 and display answer in C2
If K2 is blank, leave C2 blank or if number in J2 is between 24-800 (inclusive), add 112 days to date shown in I2 and display answer in C2
If K2 is blank, leave C2 blank or if number in J2 is 999 add 56 days to date shown in I2 and display answer in C2

Again, any help would need to work in Excel 2003 (I'm not in control of IT upgrades unfortunately).

Any help gratefully appreciated and if I could buy you all a pint of your favourite lager, I gladly would.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi, welcome to the board.

What if K2 is NOT blank ?

In the meantime, perhaps

=IF(K2="",IF(J2=999,I2+56,I2+28*((J2>0)+(J2>11)+(2*(J2>23)))),"K2 is not blank")

However, I've got a funny feeling that there may be more to this than stated in the OP. :)
 
Last edited:
Upvote 0
You're a legend. I still have so much to learn. This has done the trick nicely. Many, many thanks.
 
Upvote 0

Forum statistics

Threads
1,215,382
Messages
6,124,618
Members
449,175
Latest member
Anniewonder

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