IF Formula

SaraWitch

Active Member
Joined
Sep 29, 2015
Messages
321
Office Version
  1. 365
Platform
  1. Windows
Hi peeps,

I have a formula in I10 based on dates in columns G and H, which works:
Excel Formula:
=IF($G10="","",IF($H10<>"","Complete",IF(ISBLANK($H10),IF(TODAY()<$G10,"Not Due",IF(TODAY()=$G10,"Due",IF(EDATE(TODAY(),-3)<$G10,"Overdue 0-3 months",IF(EDATE(TODAY(),-6)<$G10,"Overdue 4-6 months",IF(EDATE(TODAY(),-12)<$G10,"Overdue 7-12 months",""))))))))

However, I want to add another layer for I10 to be blank if J10 contains 'Yes'; but this is not working:
Excel Formula:
=IF($G10="","",IF($H10<>"","Complete",IF(ISBLANK($H10),IF(TODAY()<$G10,"Not Due",IF(TODAY()=$G10,"Due",IF(EDATE(TODAY(),-3)<$G10,"Overdue 0-3 months",IF(EDATE(TODAY(),-6)<$G10,"Overdue 4-6 months",IF(EDATE(TODAY(),-12)<$G10,"Overdue 7-12 months",IF($J10="Yes","","")))))))))

Any help would be appreciated...:)
 
Last edited by a moderator:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Ha! Just figured it out! I needed to put the J10 element at the beginning, which works:
Excel Formula:
=IF($J10="Yes","",IF($G10="","",IF($H10<>"","Complete",IF(ISBLANK($H10),IF(TODAY()<$G10,"Not Due",IF(TODAY()=$G10,"Due",IF(EDATE(TODAY(),-3)<$G10,"Overdue 0-3 months",IF(EDATE(TODAY(),-6)<$G10,"Overdue 4-6 months",IF(EDATE(TODAY(),-12)<$G10,"Overdue 7-12 months","")))))))))

;)
 
Last edited by a moderator:
Upvote 0
Solution

Forum statistics

Threads
1,214,416
Messages
6,119,384
Members
448,889
Latest member
TS_711

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