Formula Problem

Kentexpress

New Member
Joined
Mar 12, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Web
I have a formula problem which is driving me mad, any help would be appreciated. I have three columns with the below column titles & the data in the cell numbers in in brackets (A2, B2, C2)

(Cell A2) Required Return Date: (filled with a date for example 13-03-2021), B2 - Received Date, C2 - Overdue Status

If the goods are late and have not been received yet the cell ‘Received Date’ is blank. I would like the ‘Overdue Status’ cell to show as OVERDUE, if the ‘Received Date’ is later than the ‘Required Return Date’ .

However, if the ‘Required Return Date’ is still equal or early than its stated due date, I would like the cell ‘Overdue Status’ to show as DUE FOR RETURN.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Welcome to the Board!

Try this formula in cell C2:
Rich (BB code):
=IF(B2="","OVERDUE",IF(B2>A2,"REQUIRED RETURN DATE",IF(B2<=A2,"DUE FOR RETURN","")))
You weren't quite clear on what you want returned to the cell if B2>A2 (the part of the formula in red), so change that to whatever you want it to say.
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
:)
 
Upvote 0
I seem to have one small problem when there is a later date is in A2 'Required Return Date' for example 06/06/2021 & a blank in cell in B2 the C3 cell is showing OVERDUE. This isn't correct as the item isn't expected until 06/06/2021. The C3 cell should only show OVERDUE if the item has not been received beyond the A2 date. Please can anyone help?
 
Upvote 0
I seem to have one small problem when there is a later date is in A2 'Required Return Date' for example 06/06/2021 & a blank in cell in B2 the C3 cell is showing OVERDUE. This isn't correct as the item isn't expected until 06/06/2021. The C3 cell should only show OVERDUE if the item has not been received beyond the A2 date. Please can anyone help?
Try this version:
Excel Formula:
=IF(AND(A2<=TODAY(),B2=0),"OVERDUE",IF(B2>A2,"REQUIRED RETURN DATE",IF(AND(B2<=A2,B2>0),"DUE FOR RETURN","")))
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

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