IF Function when Blank

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi,

I want to remove this "more than 90 days" in my Tenurity column when the Promotion is blank or 0.
The result I want to show:
less than 90 days
90 days
more than 90 days
blank(if no promotion #)

1669917197747.png


Here's the formula I tried so far.
=IF(@Q:Q<=89,"less than 90 days",IF(@Q:Q=90,"90 days",IF(@Q:Q>=91,"more than 90 days",IF(ISBLANK(@Q:Q),""))))
=IF(@Q:Q<=89,"less than 90 days",IF(@Q:Q=90,"90 days",IF(@Q:Q>=91,"more than 90 days",IF(@Q:Q=0,"external"))))
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
How about
Excel Formula:
=IF(Q2="","",IF(Q2<=89,"less than 90 days",IF(Q2=90,"90 days","more than 90 days")))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,328
Messages
6,124,299
Members
449,149
Latest member
mwdbActuary

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