#1
|
|||
|
|||
If/AND/OR Formula for 3 way solution
Please refer to attached image. I want the cell titled "current status" aka column D to have 3 rules. I can't get the formula right. This is what I've used:
=IF(AND(B2>0,"Closed","Open"), OR(E2>0,"","open")) * Column B's cells references another cell on a different tab which is a date. If there is date(B2>0), then D2 equal blank, but if there is a date, D2 equals open. However, *E Column's cells references a date too. If E2 is blank, then E2 is open. If there is a date, then E2 = closed. Basically I have upload a picture from excel that has three rows highlighted demonstrating the three scenarios. I don't know if this is all possible or not though. |
#2
|
||||
|
||||
Quote:
Quote:
At first glance =IF(B2="","",IF(E2="","open","closed"))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
Yes sorry if E2 is blank.
Your formula half works, but when B2 is blank (no date) D2 says closed instead it should be blank too. I really appreciate your help though. |
#4
|
||||
|
||||
Then B2 is not a real empty cell
As you can see, the first test is to check if B2="" and if so return "", then do nothing else Perhaps it is not empty but blank ( check with the ISBLANK formula) or contains a hidden value
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
No B2 isn't an empty cell, nor is E2. Both of those cells reference other cells in another tab therefore they have a formula in them. But I need to keep the formula. Your formula works perfectly if they were blank. The idea is the have the spreadsheet completely populate itself from the different tabs.
|
#6
|
||||
|
||||
Please post a sample file(no pics please) we are going in circles here
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#7
|
|||
|
|||
A sample is attached.
|
#8
|
||||
|
||||
As you are referring to merged cells in col B ( and maybe others), results can be unpredictable.
Merged cells should be eliminated , being the worst thing ( well almost..) MS invented When this is done try =IF(B2=0,0,IF(E2="","open","closed"))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#9
|
|||
|
|||
=IF(B10<1,"",IF(E10>1,"Closed","Open")) worked it out but thanks for all your help
|
Tags |
difficult, formula |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a solution/addin? | mystik | Outlook | 1 | 03-11-2016 12:09 AM |
Solver Transportation solution | Normie | Excel Programming | 3 | 12-02-2015 11:32 AM |
Project solution | kevin316 | Office | 2 | 09-18-2011 09:32 AM |
Please help me with an easier solution! | Inquisitor | Word | 1 | 06-26-2011 01:01 AM |
Visio Orgchart Solution | dmcgimpsey | Visio | 0 | 11-08-2005 10:30 AM |