# I need help in formula for tracking warranty validity based on shipping date and or sold date

#### MJ1119

##### New Member
Hello Everyone!

I'm hoping that I can get some help with a formula on a spreadsheet I've been asked to work on.

We manufacture and sell industrial equipment imported from other country which has either 12 months warranty from shipping date for our customers to sell. So once its sold - warranty will be valid again for 12 months from sold date. I want to show in one column of the status of warranty as DISQUALIFIED or VALID

Can it be done so that when ever a sold date or shipping date is entered it will automatically show the status on Column F? Can it then be set so that the time remaining is then automatically shown in Col. G as an upto date and current

Layout of sheet is as follows:

A = Customer Name
B = Country
C = Serial number
D = Shipped Date
E = Sold date
F = Status
G= Warranty time left

If this is hard way of doing this then i'am open to any suggestions for better and / or easier ways.

Appreciate assistance! Many Thanks!

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### Joe4

##### MrExcel MVP, Junior Admin
Welcome to the Board!

Try this (for row 2).
Formula for cell F2: =IF(AND(D2=0,E2=0),"",IF(EDATE(MAX(D2,E2),12)>TODAY(),"VALID","DISQUALIFIED"))
Formula for cell G2: =IF(AND(F2="VALID",MAX(D2,E2)>0),EDATE(MAX(D2,E2),12)-TODAY(),0)
and then copy the formulas down for all your rows.

Replies
7
Views
2K
Replies
2
Views
134
Replies
12
Views
1K
Replies
1
Views
51
Replies
0
Views
49

### Forum statistics

1,126,928
Messages
5,621,651
Members
415,849
Latest member
PhoenixRising2015

### 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?

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