Nested Formula Not Working

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]
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Not really sure what you are doing, but combining those 2 would maybe be something like this...

=IF(AND(Dates>=Begin,Dates<=Deadline),STAFF,IF(COMPLETE<>EXACT(COMPLETE,Dates),"DONE",""))
 
Upvote 0
I tried this =IF(F$2=$C4,"DONE",IF(AND(F$2>=$B4,F$2<=$D4),$E:$E,""))


Supposing this is how your table was set up, paste that from E3:K6

[TABLE="width: 892"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]BEGIN
[/TD]
[TD]COMPLETE
[/TD]
[TD]DEADLINE
[/TD]
[TD]STAFF
[/TD]
[TD]Apr-25-2017
[/TD]
[TD]Apr-26-2017
[/TD]
[TD]Apr-27-2017
[/TD]
[TD]Apr-28-2017
[/TD]
[TD]May-01-2017
[/TD]
[TD]May-02-2017
[/TD]
[TD]May-03-2017
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Apr-25-2017
[/TD]
[TD][/TD]
[TD]Apr-25-2017
[/TD]
[TD]VH
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]May-01-2017
[/TD]
[TD]May-02-2017
[/TD]
[TD]May-03-2017
[/TD]
[TD]ML
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]ML
[/TD]
[TD]DONE
[/TD]
[TD]ML
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Apr-26-2017
[/TD]
[TD]Apr-26-2017
[/TD]
[TD]Apr-28-2017
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD]DONE
[/TD]
[TD]VH
[/TD]
[TD]VH
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]Jun-30-2017
[/TD]
[TD][/TD]
[TD]Jun-30-2017
[/TD]
[TD]MC
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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