Except

stevenal

New Member
Joined
May 19, 2011
Messages
2
Have searched your boards and been unable to find what I am after. I have a spreadsheet which calculates from entries in date columns whether something was completed on time etc:

=IF(ISBLANK(RC[-2]),IF(RC[-3]>NOW(),"Within Timeframe","Overdue"),IF(RC[-2]>RC[-3],"Finalised Late","Finalised On Time"))

RC[-2] and RC[-3] are dates

But I only want this result IF another cell in the row is NOT blank - this cell contains information about what is supposed to be done by the due date and if there is a blank it means there is no action due and therefore cannot be overdue
I tried adding another IF but because of the maximum of 3 I couldn't add it

This is a spreadsheet I have inherited and the original formula was not mine - I've learnt lots from playing around with it and this is the only problem I have left

Help ...
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,
I am not aware of a limit of three IF's.
This *should* work:
=IF(ISBLANK(X),"Y",IF(ISBLANK(RC[-2]),IF(RC[-3]>NOW(),"Within Timeframe","Overdue"),IF(RC[-2]>RC[-3],"Finalised Late","Finalised On Time")))

Where X is the other cell, and Y is the value you want to show if it is blank.
 
Upvote 0

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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