IF/EXACT/Dates Help

The_Game

New Member
Joined
Mar 27, 2015
Messages
31
I need some help with the formula below in reference to the table. If anything is unclear, I apologize, I'm still new to Excel.

=IF(EXACT($A$5, A1)=EXACT($B$5, B1), EOMONTH((C1), 12), EOMONTH((C1),6))


This is what I'm working with and I'm sure you can tell where I'm going. But incase not, let me explain. I know its an IF formula that I need, so that's where I started. If both A1=A5 & B1=B5 (True), then D1 reports back with a date 12mo out from C1.
But, if either "Excellent" or "R/A/P/S" is false, D1 reports back a date 6mo out from C1. Right now, line 2 is reporting 6mo and line 3 is reporting 12mo. The chart below is correct, but excels not.

[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]Excellent[/TD]
[TD]R/A/P/S[/TD]
[TD]11-Apr-15[/TD]
[TD]31-Apr-16[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Satisfactory[/TD]
[TD]R/A/P/S[/TD]
[TD]11-Apr-15[/TD]
[TD]31-Oct-15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Satisfactory[/TD]
[TD]R/A/P/x[/TD]
[TD]11-Apr-15[/TD]
[TD]31-Oct-15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Excellent[/TD]
[TD]R/A/P/x[/TD]
[TD]11-Apr-15[/TD]
[TD]31-Oct-15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Excellent[/TD]
[TD]R/A/P/S[/TD]
[TD][/TD]
[TD][/TD] [TD][/TD] [/TR] </TBODY>[/TABLE]
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Maybe:


Book1
ABCD
1ExcellentR/A/P/S11-abr-1530-abr-16
2SatisfactoryR/A/P/S11-abr-1531-out-15
3SatisfactoryR/A/P/x11-abr-1531-out-15
4ExcellentR/A/P/x11-abr-1531-out-15
5
6ExcellentR/A/P/S
Sheet5
Cell Formulas
RangeFormula
D1=IF(AND(EXACT(A1,$A$6),EXACT(B1,$B$6)),EOMONTH(C1,12),EOMONTH(C1,6))


and drag down...
 
Last edited:
Upvote 0
Alright, that did it! Just curious, is it possible to program x/x/x/x to viod everything and project D1 out to 16 months?
 
Upvote 0
Sorry about that, what I meant was is it possible to input x/x/x/x instead of R/A/P/S and project D1 out to 16 months, rather than 6 or 12? Thank you again for your help; you're a genius!
 
Upvote 0

Forum statistics

Threads
1,224,247
Messages
6,177,412
Members
452,774
Latest member
Macca1962

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