BishopDesigns

New Member
Joined
Oct 14, 2015
Messages
22
Here is what I wrote but it is not functioning quite right

=IF((AND((F3=NOW()-1),C3>=F3)), "1", "0")

What I want to happen is if C3's date is equal to or after the value of F3's date I get a value of 1

Examples: If C3 = "Monday, August 01, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "0"

<tbody></tbody>
Monday, August 01, 2016Tuesday, August 02,20150

<tbody>
</tbody>

Examples: If C3 = "Tuesday, August 02, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "1"
Tuesday, August 02,2015Tuesday, August 02,20151

<tbody>
</tbody>

Examples: If C3 = "Wednesday, August 03, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "1"
Wednesday, August 03, 2016

<tbody>
</tbody>
Tuesday, August 02, 2016

<tbody>
</tbody>
1

<tbody>
</tbody>


Any Assistance would be great!

Thank you in Advance!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
No Go When I have C3 "Tuesday, August 02, 2016" (which is text based) and F3 "Tuesday, August 02, 2016" (which is formula based =NOW()-1) the return value is "0" and I need it to be "1"

Thank you though!
 
Upvote 0
Solved it! I need to change the F3 formula from =NOW to =TODAY

Here is what I wrote but it is not functioning quite right

=IF((AND((F3=NOW()-1),C3>=F3)), "1", "0")

What I want to happen is if C3's date is equal to or after the value of F3's date I get a value of 1

Examples: If C3 = "Monday, August 01, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "0"
Monday, August 01, 2016Tuesday, August 02,20160

<tbody>
</tbody>

Examples: If C3 = "Tuesday, August 02, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "1"
Tuesday, August 02,2016Tuesday, August 02,20161

<tbody>
</tbody>

Examples: If C3 = "Wednesday, August 03, 2016" and F3 = "Tuesday, August 02,2015" then the return value would be "1"
Wednesday, August 03, 2016

<tbody>
</tbody>
Tuesday, August 02, 2016

<tbody>
</tbody>
1

<tbody>
</tbody>


Any Assistance would be great!

Thank you in Advance!
 
Last edited:
Upvote 0
Now will return and integer and a decimal, so Now() is different to Now(), it won't mean a defined date is measured as a date so it will never match
 
Upvote 0
if the value on C3 is text based, can you try to convert the NOW() value to text using =TEXT(NOW(),"DDDDD, MMMM dd, yyyy")

check if this works
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,795
Members
449,468
Latest member
AGreen17

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