Valid Prices

ricafonyat

New Member
Joined
May 1, 2017
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Let me know if you can help me with the following problem:
I have a list of prices that are valid from certain dates (range B3:C5) and there is also a limit date from which they are no longer valid (cell: B8)
In the range E2:R3 the desired final result is presented.

Mr Excel Post.xlsx
ABCDEFGHIJKLMNOPQRS
1
2Valid From DatePricesJan 31 - 2024Feb 29 - 2024Mar 31 - 2024Apr 30 - 2024May 31 - 2024Jun 30 - 2024Jul 31 - 2024Aug 31 - 2024Sep 30 - 2024Oct 31 - 2024Nov 30 - 2024Dec 31 - 2024Jan 31 - 2025Feb 28 - 2025
3Feb 01 - 202480.00080.00080.00080.00080.00090.00090.00090.00090.000100.000100.000100.000100.0000
4Jun 01 - 202490.000
5Oct 01 - 2024100.000
6
7Final Date
8Jan 31 - 2025
9
10
11
Planilha1


Any help is greatly appreciated
 

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
Try the following formulas

Cell Formulas
RangeFormula
E2E2=EOMONTH(DATE(YEAR(B3),MONTH(B3)-1,1),0)
F2:R2F2=EOMONTH(E2+1,0)
E3:R3E3=IFERROR(IF(E2<=$B$8,VLOOKUP(E2,$B$3:$C$5,2,1),0),"")
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,224,812
Messages
6,181,104
Members
453,021
Latest member
Justyna P

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