that_one_girl
New Member
- Joined
- Mar 22, 2017
- Messages
- 43
Ok I'm not sure what I am doing wrong, can someone help?
Each of these formulas on their own in a cell return the value I want
(the first IF returns the Initials next to the Begin and Deadline date ranges in the correct areas, and the second returns DONE if there's a date in the completed column)
BUT when I combine these in a cell, because I need both of these to work at the same time, it gives me a value error.......can anyone help?
ALONE:
=IF(AND(Dates>=Begin,Dates<=Deadline),$G:$G,"")
=IF(COMPLETE=EXACT(COMPLETE,Dates),"","DONE")
----> works great!
TOGETHER AS:
=IF(AND(Dates>=Begin,Dates<=Deadline),STAFF,"")*OR(IF(COMPLETE=EXACT(COMPLETE,Dates),"","DONE"))
-----> no good....
I need my worksheet to
1. Look at the BEGIN and DEADLINE dates (formatted btw as mmm/dd/yy), and enter the STAFF initials in the DATES range that has the dates from Begin through and including Deadline
2. If a date is entered in COMPLETE, I need the DATES range to then enter DONE no matter what else could have been there (this would override the STAFF initials if they had the same dates)
Each of these formulas on their own does this, but not together...........can anyone help me nest?
Here are my ranges and what I need it to look like
|<--------------------"DATES" RANGE---------------->
[TABLE="class: grid, width: 857"]
<tbody>[TR]
[TD]BEGIN
[/TD]
[TD]COMPLETE
[/TD]
[TD]DEADLINE
[/TD]
[TD]STAFF
[/TD]
[TD]Apr-25-17
[/TD]
[TD]Apr-26-17
[/TD]
[TD]Apr-27-17
[/TD]
[TD]Apr-28-17
[/TD]
[TD]May-01-17
[/TD]
[TD]May-02-17
[/TD]
[TD]May-03-17
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apr-25-17
[/TD]
[TD][/TD]
[TD]Apr-25-17
[/TD]
[TD]VH
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]May-01-17
[/TD]
[TD]May-02-17
[/TD]
[TD]May-03-17
[/TD]
[TD]ML
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]ML
[/TD]
[TD]DONE
[/TD]
[TD]ML
[/TD]
[/TR]
[TR]
[TD]Apr-26-17
[/TD]
[TD]Apr-26-17[/TD]
[TD]Apr-28-17
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD]DONE[/TD]
[TD]VH[/TD]
[TD]VH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jun-30-17
[/TD]
[TD][/TD]
[TD]Jun-30-17
[/TD]
[TD]MC
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Each of these formulas on their own in a cell return the value I want
(the first IF returns the Initials next to the Begin and Deadline date ranges in the correct areas, and the second returns DONE if there's a date in the completed column)
BUT when I combine these in a cell, because I need both of these to work at the same time, it gives me a value error.......can anyone help?
ALONE:
=IF(AND(Dates>=Begin,Dates<=Deadline),$G:$G,"")
=IF(COMPLETE=EXACT(COMPLETE,Dates),"","DONE")
----> works great!
TOGETHER AS:
=IF(AND(Dates>=Begin,Dates<=Deadline),STAFF,"")*OR(IF(COMPLETE=EXACT(COMPLETE,Dates),"","DONE"))
-----> no good....
I need my worksheet to
1. Look at the BEGIN and DEADLINE dates (formatted btw as mmm/dd/yy), and enter the STAFF initials in the DATES range that has the dates from Begin through and including Deadline
2. If a date is entered in COMPLETE, I need the DATES range to then enter DONE no matter what else could have been there (this would override the STAFF initials if they had the same dates)
Each of these formulas on their own does this, but not together...........can anyone help me nest?
Here are my ranges and what I need it to look like
|<--------------------"DATES" RANGE---------------->
[TABLE="class: grid, width: 857"]
<tbody>[TR]
[TD]BEGIN
[/TD]
[TD]COMPLETE
[/TD]
[TD]DEADLINE
[/TD]
[TD]STAFF
[/TD]
[TD]Apr-25-17
[/TD]
[TD]Apr-26-17
[/TD]
[TD]Apr-27-17
[/TD]
[TD]Apr-28-17
[/TD]
[TD]May-01-17
[/TD]
[TD]May-02-17
[/TD]
[TD]May-03-17
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apr-25-17
[/TD]
[TD][/TD]
[TD]Apr-25-17
[/TD]
[TD]VH
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]May-01-17
[/TD]
[TD]May-02-17
[/TD]
[TD]May-03-17
[/TD]
[TD]ML
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]ML
[/TD]
[TD]DONE
[/TD]
[TD]ML
[/TD]
[/TR]
[TR]
[TD]Apr-26-17
[/TD]
[TD]Apr-26-17[/TD]
[TD]Apr-28-17
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD]DONE[/TD]
[TD]VH[/TD]
[TD]VH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jun-30-17
[/TD]
[TD][/TD]
[TD]Jun-30-17
[/TD]
[TD]MC
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]