IF, IFS, nested IF, right formula?

shakethingsup

Board Regular
Joined
May 21, 2017
Messages
64
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, okay I'm stumped and I'm getting lost in "IF" statements. I feel like I'm making things so complicated. Let me try and explain.

This excel file lists units in an apartment building. I need to indicate if the unit is VACANT or AVAILABLE.

ABCDEF
1Today's dateJune 7, 2017
2
3Date Available for RentOccupancy DateApplication Approval DateOUTPUT
4exampl 1
5exampl 2May 1, 2017V
6exampl 3July 1, 2017A
7exampl 4June 1, 2017July 1, 2017
8exampl 5June 1, 2017July 1, 2017June 20, 2017

<tbody>
</tbody>

Above is the example:
1. Output is where the formula will be. The only outputs are " ", "V", "A"
2. I want to drag the formula down all rows
2. exampl 1 - There are gaps in the spreadsheet - the output for gaps should be " "
3. exampl 2 - If today's date > date available - output = V
4. exampl 3 - If today's date < date available - output = A
5. exampl 4 - If date available is not blank and occupancy is not blank - out = " "
6. exampl 5 - If all 3 cells is not blank out put should be " " - same as exampl 1


What I tried:
1. I first tried nested IF statements, then started to lose track
2. Then I looked towards IFS statements, googled how best to achieve this but most of the examples I found were only considering one cell. For example determining someones grade based on their score.


Any help?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
See if this works for you:

=IF(COUNT(C4)-COUNT(D4:E4)=1,IF(C4>TODAY(),"A","V"),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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