Match (?) Help

crudepuddle

New Member
Joined
Jan 19, 2017
Messages
16
I am trying to create a dashboard where if a particular month is selected the relevant target for that month/period will appear. So far I have the below and am stuck on the final formula for the matching of targets to months:

[TABLE="width: 348"]
<colgroup><col width="12" style="width:9pt"> <col width="169" style="width:127pt"> <col width="167" style="width:125pt"> </colgroup><tbody>[TR]
[TD="class: xl48, width: 181, colspan: 2"]Date field to filter by[/TD]
[TD="class: xl50, width: 167"]Target Period[/TD]
[/TR]
[TR]
[TD="class: xl44, width: 181, colspan: 2"]Selector[/TD]
[TD="class: xl51, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl44, width: 181, colspan: 2"]Target Period[/TD]
[TD="class: xl51, align: right"]Jan-18[/TD]
[/TR]
[TR]
[TD="class: xl45, width: 181, colspan: 2"]Target[/TD]
[TD="class: xl54, align: center"]#VALUE![/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Jan-18[/TD]
[TD="class: xl28"]£19,760 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Feb-18[/TD]
[TD="class: xl28"]£24,890 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Mar-18[/TD]
[TD="class: xl28"]£26,600 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Apr-18[/TD]
[TD="class: xl28"]£22,610 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]May-18[/TD]
[TD="class: xl28"]£24,320 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Jun-18[/TD]
[TD="class: xl28"]£24,320 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Jul-18[/TD]
[TD="class: xl28"]£22,420 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Aug-18[/TD]
[TD="class: xl28"]£22,420 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Sep-18[/TD]
[TD="class: xl28"]£24,035 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Oct-18[/TD]
[TD="class: xl28"]£24,035 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Nov-18[/TD]
[TD="class: xl28"]£23,845 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Dec-18[/TD]
[TD="class: xl28"]£20,330 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Q1 18[/TD]
[TD="class: xl28"]£71,250 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Q2 18[/TD]
[TD="class: xl28"]£71,250 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Q3 18[/TD]
[TD="class: xl28"]£68,875 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Q4 18[/TD]
[TD="class: xl28"]£68,210 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl28"]Year - 2018[/TD]
[TD="class: xl28"]£279,585 [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, looks like you just need a simple VLOOKUP() - i.e.


Excel 2013/2016
AB
1Date field to filter byTarget Period
2Selector1
3Target PeriodJan-2018
4Target19760
5
6Jan-201819760
7Feb-201824890
8Mar-201826600
9Apr-201822610
10May-201824320
11Jun-201824320
12Jul-201822420
13Aug-201822420
14Sep-201824035
15Oct-201824035
16Nov-201823845
17Dec-201820330
18Q1 1871250
19Q2 1871250
20Q3 1868875
21Q4 1868210
22Year - 2018279585
Sheet1
Cell Formulas
RangeFormula
B4=VLOOKUP(B3,A6:B22,2,0)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
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