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


A1
A2
A3
M
N
1/1/2018
1 week
This need to return 1/1/2018+7 days
1 week
7
2 weeks
14

<tbody>
</tbody>

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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