Checking if data matchs then sum two cells

russellday

New Member
Joined
Apr 30, 2015
Messages
24
Hi

I have a cell A1 that contains a date 1/1/2018 in A2 I have a review period taken from a drop down list contained in N5:N17. In M5:M17 I have the number of days that the review periods correspond to.

What I need to do is in A3 is to calculate the review date by taking the selected drop down option and comparing the N column t
o the M column and adding column N to the original date in A1 to give the review date


[TABLE="width: 500"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]A2
[/TD]
[TD]A3
[/TD]
[TD][/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]1/1/2018
[/TD]
[TD]1 week
[/TD]
[TD]This need to return 1/1/2018+7 days
[/TD]
[TD][/TD]
[TD]1 week
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2 weeks
[/TD]
[TD]14
[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
In A3:

Code:
=A1+VLOOKUP(A2,$M$5:$N$17,2,FALSE)


Book1
AMN
101/01/2018
21 week
308/01/2018
51 week7
62 weeks14
Sheet1
Cell Formulas
RangeFormula
A3=A1+VLOOKUP(A2,$M$5:$N$17,2,FALSE)


WBD
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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