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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,520
Messages
6,120,017
Members
448,937
Latest member
BeerMan23

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