Help index match match with roundown

Unexcellent

New Member
Joined
Dec 18, 2017
Messages
6
I need to index match match but the data i am trying to find is in a table like below. The cost of the units needed is always rounded down so in the Cost column for 2478 units i want the cost of 2000 units against code 4/1 therefore £773, can anyone help??
[TABLE="width: 698"]
<colgroup><col width="64" style="width: 48pt;" span="9"> <col width="115" style="width: 86pt; mso-width-source: userset; mso-width-alt: 4205;"> <col width="176" style="width: 132pt; mso-width-source: userset; mso-width-alt: 6436;"> <col width="64" style="width: 48pt;"> <tbody>[TR]
[TD="class: xl76, width: 64, bgcolor: transparent"]CODE[/TD]
[TD="class: xl77, width: 64, bgcolor: transparent"]500[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]1000[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]1500[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]1700[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]2000[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]2500[/TD]
[TD="class: xl78, width: 64, bgcolor: transparent"]3000[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="class: xl81, width: 115, bgcolor: transparent"]Code[/TD]
[TD="class: xl75, width: 176, bgcolor: transparent"]Units Needed [/TD]
[TD="class: xl75, width: 64, bgcolor: transparent"]Cost[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]1/1[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]£601[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£613[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£631[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£639[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£650[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£670[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]£689[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/1[/TD]
[TD="class: xl67, bgcolor: transparent"]2478[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/1[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£724[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£736[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£754[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£762[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£773[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£793[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£812[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1145[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/2[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£793[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£805[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£823[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£831[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£842[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£862[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£882[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl80, bgcolor: transparent"]4/4+[/TD]
[TD="class: xl67, bgcolor: transparent"]2435[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/4[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£739[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£751[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£768[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£774[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£783[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£800[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£816[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1367[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/4+[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£1,181[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,193[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,210[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,217[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,228[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,248[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,266[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]2/5[/TD]
[TD="class: xl67, bgcolor: transparent"]2223[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£870[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£881[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£898[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£906[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£917[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£936[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£955[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1688[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]2/3+[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£1,059[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,070[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,087[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,095[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,105[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,125[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,144[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]3500[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]2/3hs[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£747[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£758[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£776[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£783[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£794[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£813[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£832[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1234[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]3/1[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£903[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£914[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£929[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£935[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£944[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£961[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£976[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl79, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]2280[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]2/5[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£861[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£873[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£891[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£898[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£909[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£930[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£949[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl80, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1447[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]4/5[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£943[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£955[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£973[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£980[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£991[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,012[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,031[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl80, bgcolor: transparent"]4/2[/TD]
[TD="class: xl67, bgcolor: transparent"]3003[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]5/5[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]£1,015[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,027[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,045[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,052[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,063[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,084[/TD]
[TD="class: xl74, bgcolor: transparent, align: right"]£1,103[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="class: xl80, bgcolor: transparent"]4/4hs[/TD]
[TD="class: xl67, bgcolor: transparent"]1798[/TD]
[TD="class: xl70, bgcolor: transparent"] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
welcome to the board

With the first table located at A1:H13, and hence your lookup table located at J1:L13...

Cell L2, then copied downwards:
=INDEX($B$2:$H$13,MATCH(J2,$A$2:$A$13,0),MATCH(K2,$B$1:$H$1,1))

The trick is to do with the third argument of the second MATCH formula. 0 requires exact match, but you don't want this you want nearest match that's lower or equal, hence +1
 
Upvote 0
Thank you that works great, the only problem is that i have some unites needed values that are lower than 500 and as they round down they don't show a price, is there anything i can add to the formula so that for a number equal to or smaller than 499 is rounded up to 500? Thanks again fast reply and informative answer.
 
Upvote 0
So if i had a table like this: How would i find the price for 4/4hs and 60 units, it should show £870 but its showing 0 as its rounded down[TABLE="width: 841"]
<tbody>[TR]
[TD]CODE[/TD]
[TD]500[/TD]
[TD]1000[/TD]
[TD]1500[/TD]
[TD]1700[/TD]
[TD]2000[/TD]
[TD]2500[/TD]
[TD]3000[/TD]
[TD] [/TD]
[TD]Code[/TD]
[TD]Units Needed [/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]01-Jan[/TD]
[TD]£601[/TD]
[TD]£613[/TD]
[TD]£631[/TD]
[TD]£639[/TD]
[TD]£650[/TD]
[TD]£670[/TD]
[TD]£689[/TD]
[TD] [/TD]
[TD]4/1[/TD]
[TD]2478[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-Jan[/TD]
[TD]£724[/TD]
[TD]£736[/TD]
[TD]£754[/TD]
[TD]£762[/TD]
[TD]£773[/TD]
[TD]£793[/TD]
[TD]£812[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]1145[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-Feb[/TD]
[TD]£793[/TD]
[TD]£805[/TD]
[TD]£823[/TD]
[TD]£831[/TD]
[TD]£842[/TD]
[TD]£862[/TD]
[TD]£882[/TD]
[TD] [/TD]
[TD]4/4+[/TD]
[TD]2435[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-Apr[/TD]
[TD]£739[/TD]
[TD]£751[/TD]
[TD]£768[/TD]
[TD]£774[/TD]
[TD]£783[/TD]
[TD]£800[/TD]
[TD]£816[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]1367[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4/4+[/TD]
[TD]£1,181[/TD]
[TD]£1,193[/TD]
[TD]£1,210[/TD]
[TD]£1,217[/TD]
[TD]£1,228[/TD]
[TD]£1,248[/TD]
[TD]£1,266[/TD]
[TD] [/TD]
[TD]2/5[/TD]
[TD]2223[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4/4hs[/TD]
[TD]£870[/TD]
[TD]£881[/TD]
[TD]£898[/TD]
[TD]£906[/TD]
[TD]£917[/TD]
[TD]£936[/TD]
[TD]£955[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]60[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2/3+[/TD]
[TD]£1,059[/TD]
[TD]£1,070[/TD]
[TD]£1,087[/TD]
[TD]£1,095[/TD]
[TD]£1,105[/TD]
[TD]£1,125[/TD]
[TD]£1,144[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]3500[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2/3hs[/TD]
[TD]£747[/TD]
[TD]£758[/TD]
[TD]£776[/TD]
[TD]£783[/TD]
[TD]£794[/TD]
[TD]£813[/TD]
[TD]£832[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]450[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]03-Jan[/TD]
[TD]£903[/TD]
[TD]£914[/TD]
[TD]£929[/TD]
[TD]£935[/TD]
[TD]£944[/TD]
[TD]£961[/TD]
[TD]£976[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]2280[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]02-May[/TD]
[TD]£861[/TD]
[TD]£873[/TD]
[TD]£891[/TD]
[TD]£898[/TD]
[TD]£909[/TD]
[TD]£930[/TD]
[TD]£949[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]1447[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]04-May[/TD]
[TD]£943[/TD]
[TD]£955[/TD]
[TD]£973[/TD]
[TD]£980[/TD]
[TD]£991[/TD]
[TD]£1,012[/TD]
[TD]£1,031[/TD]
[TD] [/TD]
[TD]4/2[/TD]
[TD]3003[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]05-May[/TD]
[TD]£1,015[/TD]
[TD]£1,027[/TD]
[TD]£1,045[/TD]
[TD]£1,052[/TD]
[TD]£1,063[/TD]
[TD]£1,084[/TD]
[TD]£1,103[/TD]
[TD] [/TD]
[TD]4/4hs[/TD]
[TD]1798[/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col span="7"><col><col><col><col></colgroup>[/TABLE]
 
Upvote 0
is there anything i can add to the formula so that for a number equal to or smaller than 499 is rounded up to 500?

Hi, welcome to the forum!

You could try this small amendment to baitmasters suggestion.

=INDEX($B$2:$H$13,MATCH(J2,$A$2:$A$13,0),MATCH(MAX($B$1,K2),$B$1:$H$1,1))
 
Upvote 0
Or just change the minimum order quantity from 500 to zero?

My understanding from your initial question would be that 500-999 needs to go off column B, 1000-1499 needs to go off column C, 1500-1699 needs to go off column C etc...

But if you're saying 0-499 needs to go off the same as column B then 0-499 is following the same pattern as 500-999... so really it's 0-999?
 
Upvote 0
Andrew_UK that has done it! I should of been able to apply that logic myself it seems so obvious now that you've pointed it out. Thanks to all!
 
Upvote 0
if i have calculated the stock needed for 1 week, 2 weeks, 3 weeks etc and the total price for each week below, how do i insert a box that tells me what the cheapest option is i.e. what the cheapest price will be per week if i buy and how many weeks i need to order for to get that price? I cant seem to find any help for this online


[TABLE="width: 1214"]
<tbody>[TR]
[TD]Units Needed for 8 Weeks [/TD]
[TD]Cost[/TD]
[TD]Units Needed for 9 Weeks [/TD]
[TD]Cost[/TD]
[TD]Units Needed for 10 Weeks [/TD]
[TD]Cost[/TD]
[TD]Units Needed for 11 Weeks [/TD]
[TD]Cost[/TD]
[TD]Units Needed for 12 Weeks [/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]27196[/TD]
[TD]1741[/TD]
[TD]31083.75[/TD]
[TD]1958[/TD]
[TD]34489.5[/TD]
[TD]1958[/TD]
[TD]37895.25[/TD]
[TD]1958[/TD]
[TD]41301[/TD]
[TD]1958[/TD]
[/TR]
[TR]
[TD]18113[/TD]
[TD]1490[/TD]
[TD]20638.5[/TD]
[TD]1661[/TD]
[TD]22888[/TD]
[TD]1661[/TD]
[TD]25137.5[/TD]
[TD]1872[/TD]
[TD]27387[/TD]
[TD]1872[/TD]
[/TR]
[TR]
[TD]6554[/TD]
[TD]1074[/TD]
[TD]7385.75[/TD]
[TD]1114[/TD]
[TD]8217.5[/TD]
[TD]1153[/TD]
[TD]9049.25[/TD]
[TD]1153[/TD]
[TD]9881[/TD]
[TD]1153[/TD]
[/TR]
[TR]
[TD]1546[/TD]
[TD]898[/TD]
[TD]1746.25[/TD]
[TD]906[/TD]
[TD]1946.5[/TD]
[TD]906[/TD]
[TD]2146.75[/TD]
[TD]917[/TD]
[TD]2347[/TD]
[TD]917[/TD]
[/TR]
[TR]
[TD]558[/TD]
[TD]870[/TD]
[TD]722.25[/TD]
[TD]870[/TD]
[TD]886.5[/TD]
[TD]870[/TD]
[TD]1050.75[/TD]
[TD]881[/TD]
[TD]1215[/TD]
[TD]881[/TD]
[/TR]
[TR]
[TD]Storage Cost[/TD]
[TD="align: right"]923.0769[/TD]
[TD]Storage Cost[/TD]
[TD="align: right"]1038.462[/TD]
[TD]Storage Cost[/TD]
[TD="align: right"]1153.846[/TD]
[TD]Storage Cost[/TD]
[TD="align: right"]1269.231[/TD]
[TD]Storage Cost[/TD]
[TD="align: right"]1384.615[/TD]
[/TR]
[TR]
[TD]Total Cost (Stock + Storage)[/TD]
[TD="align: right"]9691.077[/TD]
[TD]Total Cost (Stock + Storage)[/TD]
[TD="align: right"]12161.46[/TD]
[TD]Total Cost (Stock + Storage)[/TD]
[TD="align: right"]14128.85[/TD]
[TD]Total Cost (Stock + Storage)[/TD]
[TD="align: right"]14495.23[/TD]
[TD]Total Cost (Stock + Storage)[/TD]
[TD="align: right"]15047.62[/TD]
[/TR]
[TR]
[TD]Total Cost P/Week[/TD]
[TD="align: right"]1211.385[/TD]
[TD]Total Cost P/Week[/TD]
[TD="align: right"]1351.274[/TD]
[TD]Total Cost P/Week[/TD]
[TD="align: right"]1412.885[/TD]
[TD]Total Cost P/Week[/TD]
[TD="align: right"]1317.748[/TD]
[TD]Total Cost P/Week[/TD]
[TD="align: right"]1253.968[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cheapest Option:[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cost P/Week:[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col><col><col></colgroup>[/TABLE]
 
Upvote 0
Hi, just a couple of things that might help you with any future postings:

1. You should really start a new thread for new questions; by doing so you will get more potential helpers looking at your question as many will skip over posts that already have multiple replies.
2. When you present sample data always try to include what your expected results are in relation to that sample data.

Is this the result you are looking for:


Excel 2013/2016
ABCDEFGHIJ
1Units Needed for 8 WeeksCostUnits Needed for 9 WeeksCostUnits Needed for 10 WeeksCostUnits Needed for 11 WeeksCostUnits Needed for 12 WeeksCost
227196174131083.75195834489.5195837895.251958413011958
318113149020638.5166122888166125137.51872273871872
4655410747385.7511148217.511539049.25115398811153
515468981746.259061946.59062146.759172347917
6558870722.25870886.58701050.758811215881
7Storage Cost923.0769Storage Cost1038.462Storage Cost1153.846Storage Cost1269.231Storage Cost1384.615
8Total Cost (Stock + Storage)9691.077Total Cost (Stock + Storage)12161.46Total Cost (Stock + Storage)14128.85Total Cost (Stock + Storage)14495.23Total Cost (Stock + Storage)15047.62
9Total Cost P/Week1211.385Total Cost P/Week1351.274Total Cost P/Week1412.885Total Cost P/Week1317.748Total Cost P/Week1253.968
10
11Cheapest Option:Units Needed for 8 Weeks
12Cost P/Week:1211.385
Sheet1
Cell Formulas
RangeFormula
B11=INDEX(A1:J1,MATCH(B12,A9:J9,0)-1)
B12=MIN(B9:J9)
 
Upvote 0
Thank you MrExcel MVP, I assumed that because i already had the attention of a few excel pros that i should stay on the same post but i will make a new one for each new question in the future and yes that was what i was looking for! Thanks again!
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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