gleichmang

New Member
Joined
Dec 28, 2011
Messages
15
Need help combing these function into a single cell

This formula recalculates the date based off a value in column P
=IF(OR(P16="A - Svcbl(w/o Qual)",P16=""),(AM16+450),(AM16+90))

This formula determines the amount of days between today and the new date
=ABS(AN16-TODAY())

This formula enters a value based on the above calculation
=IF(AO16<90,"CURRENT","OVERDUE")

How can I combine these into a single cell in column AN?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about
=IF(ABS(IF(OR(P16="A - Svcbl(w/o Qual)",P16=""),(AM16+450),(AM16+90))-TODAY())<90,"Current","Overdue")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
Something is still a tad off

The 'Overdue' and 'Current' don't seem to be calculating correctly... The second entry is not calculating right, where am I going wrong...

=IF(ABS(IF(OR(A3="A - Svcbl(w/o Qual)",A3=""),(B3+450),(C3+90))-TODAY())>90,"Current","Overdue")

Cond Cd
Last Insp Dt
Next Insp Dt
Inspection Status
TEST
10/24/2019 0:00
10/23/2018 0:00
Overdue
A - Svcbl(w/o Qual)
10/24/2013 0:00
10/23/2020 0:00
Current
<tbody> </tbody>
 
Upvote 0
Incorrect Calculation

Where am I going wrong....

The 'Overdue' and 'Current' don't seem to be calculating correctly... The second entry in the below table is not calculating right,

=IF(ABS(IF(OR(A3="A - Svcbl(w/o Qual)",A3=""),(B3+450),(C3+90))-TODAY())>90,"Current","Overdue")

Cond CdLast Insp DtNext Insp DtInspection Status
TEST10/24/2019 0:0010/23/2018 0:00Overdue
A - Svcbl(w/o Qual)10/24/2013 0:0010/23/2020 0:00Current

<tbody>
</tbody>


Bottom line... based off the above, my value in 'Inspection Status' column for the second row should read 'overdue' not current. Cant figure out where I am off... Please help
 
Upvote 0
Re: Incorrect Calculation

Not offering any help, just observing that I am puzzled that inspection due in Oct 2020 should be classified as overdue in Oct 2019
 
Upvote 0
Re: Incorrect Calculation

If you add 450 days to B3 you get 17 Jan 2015. The difference between that and today is more than 90 days, so you get Current.
 
Upvote 0
Re: Incorrect Calculation

I have merged your two threads together.

In the future, please do not post the same question multiple times in different threads. All clarifications, follow-ups, and bumps should be posted back to the original thread. Per forum rules, posts of a duplicate nature will typically be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,261
Members
448,558
Latest member
aivin

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