IF statement with two greater than conditions

lopeezeee

New Member
Joined
Jun 19, 2019
Messages
3
I'm trying to display a percentage based on a State Date and End Date. For example:

Cell G7 - 6/1/19 (Start Date)
Cell H7 - 8/30/19 (End Date)

With formula in I7: =IF(H7>TODAY(),(TODAY()/(H7-G7),1)

This gives me two conditions I want if the current date exceeds the end date; however, my question lies for showing a 0% if the Start Date is greater than TODAY()

For example,
=IF(G7>TODAY(),0,)

The two conflict with each other and I would like to display
0% if the Start Date is greater than TODAY() as well as the results from this formula:
=IF(H7>TODAY(),(TODAY()/(H7-G7),1)

Thank you!!
<strike>
</strike>
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
And yes I have tried
=IF(H7>TODAY(),(TODAY()/(H7-G7),1)&IF=(G7>TODAY(),0,"") which gives results in 0.2 with whatever I put as the false value in ""
 
Upvote 0
Could this be it? If not, would you should some possibilities and what the results should be?

Code:
=IF(TODAY()<G7,0,IF(TODAY()<H7,TODAY()/(H7-G7),1))
<g7,0,if(today()<h7,today() (h7-g7),1))[="" code]<g7,0,if(today()<h7,today()="" code]<="" html=""></g7,0,if(today()<h7,today()>
 
Last edited:
Upvote 0
<g7,0,if(today()<h7,today() (h7-g7),1))[="" code]=""

not sure why the full like of code didn't take in the previous message...or this one.

=IF(TODAY()<g7,0,if(today()<h7,today() (h7-g7),1))



Excel 2010
GHI
6startend
76/1/20198/30/2019484.83333
Sheet2
Cell Formulas
RangeFormula
I7=IF(TODAY()TODAY())/(H7-G7),1))






</g7,0,if(today()<h7,today()></g7,0,if(today()<h7,today()>
 
Last edited:
Upvote 0
Unfortunately, that did not work. The formula still sees confliction between H7>TODAY() and H7<TODAY()
 
Upvote 0

Forum statistics

Threads
1,214,422
Messages
6,119,395
Members
448,891
Latest member
tpierce

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