Monthly Differences in Price for Seasonal Analysis

SBF12345

Well-known Member
Joined
Jul 26, 2014
Messages
614
I would like to find differences in price between the first and last days of calendar months. I am having trouble with this task. How is best to approach separating dates or defining dates for input into the calculation of their corresponding prices?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Table 1: A1:B4

1/1/20141
1/31/20141.2
2/1/20141.3
2/28/20141.8

<tbody>
</tbody>

Table 2: E1:G3

12
First
Last

<tbody>
</tbody>

(Note: 1 and 2 denote month)

Formula:

First:
Code:
=VLOOKUP(DATE(2014,F$1,1),$A:$B,2,0)
Last:
Code:
=VLOOKUP(EOMONTH(DATE(2014,F$1,1),0),$A:$B,2,0)
 
Upvote 0
Table 1: A1:B4

1/1/20141
1/31/20141.2
2/1/20141.3
2/28/20141.8

<tbody>
</tbody>

Table 2: E1:G3

12
First
Last

<tbody>
</tbody>

(Note: 1 and 2 denote month)

Formula:

First:
Code:
=VLOOKUP(DATE(2014,F$1,1),$A:$B,2,0)
Last:
Code:
=VLOOKUP(EOMONTH(DATE(2014,F$1,1),0),$A:$B,2,0)


Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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