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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,214,641
Messages
6,120,695
Members
448,979
Latest member
DET4492

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