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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,215,046
Messages
6,122,855
Members
449,096
Latest member
Erald

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