Returning 3 possible outcomes

Stumped1978

New Member
Joined
Jul 12, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi all,

So I want to return either "Overdue, Due or (Blank)" outcomes based on three values from a cell:

if Cell AF260 is less than 0 - Return "overdue" in cell AN260
if Cell AF260 is greater than or equal to 0 but less than or equal to 4 - Return "due" in cell AN260
if Cell AF260 is greater than 4 - Return "nothing(Blank)" in cell AN260

In cell AN260 it will either say due, overdue or will have no value depending on the value in cell AF260.

However (and here is the curveball!) if the value in cell F260 reads "N" than AN260 will always return no value (Blank) regardless of AF260.

Hope that makes sense.

Thanks in advance!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Formula in AN260, two options:

Excel Formula:
=IF(F260="N","",IF(AF260<0,"Overdue",IF(AF260<=4,"Due","")))

Excel Formula:
=IFS(F260="N","",AF260<0,"Overdue",AF260<=4,"Due",TRUE,"")
 
Upvote 0

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,049
Latest member
THMarana

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