IF / AND formula help

Hayley_A

New Member
Joined
Sep 19, 2019
Messages
7
Can anyone suggest a formula that would work for the below:

Due DateDate PaidCompany Paid?

I'm looking for 3 outputs for the 'Company Paid?' column - Pending, Overdue & Paid.
Pending - when 'date paid' is blank and todays date is <'Due date'
Overdue - when 'date paid' is blank and todays date is >'Due date'
Paid - when 'date paid' is not blank

I've got as far as:
=IF((AND(ISBLANK([@[Date Paid]]), [@[Due Date]]<TODAY())), "OVERDUE", "Pending")

but i'm stuck on how to then add in the 'Paid' element for when a date has been input into the 'Date Paid' column.

Any help would be appreciated!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi Hayley_A,

Does this work for you?

Hayley_A.xlsx
ABC
1Due DateDate PaidCompany Paid?
21/1/2021OVERDUE
32/2/20211/1/2021Paid
49/9/2021Pending
58/8/2021OVERDUE
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=IF([@[Date Paid]]<>"","Paid",IF(TODAY()<=[@[Due Date]],"Pending","OVERDUE"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,365
Messages
6,124,513
Members
449,168
Latest member
CheerfulWalker

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