Ceiling not working due to none sequential numbers

Jimidibob

New Member
Joined
Sep 25, 2019
Messages
6
Hi All,

I'm trying to produce a ceiling formula to match and identify a row number for indexing. But due to the numbers in column B not having a uniformed spacing between them it is proving very difficult. Maybe there is a better system i should use?

Example below:

For reference column B is a dimension in mm, row 1 is a dimension in mm and the data within the table is a sale price in £.

Without Formulas:
ABCDEFGHIJKLMNOPQR
1 2250250027503000325035003750400042504500475050005250550057506000
22000£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00£11.00£12.00£13.00£14.00£15.00£16.00
32125£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00£11.00£12.00£13.00£14.00£15.00
42250£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00£11.00£12.00£13.00£14.00
52350£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00£11.00£12.00£13.00
62500£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00£11.00£12.00
72750£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00£9.00£10.00
82960£1.00£2.00£3.00£4.00£5.00£6.00£7.00£8.00
9
10
11WIDTHHEIGHT
12QUOTE24152515
13ROUND UP25002625
14
15ROW NUMBER#N/A
16COLUMN NUMBER2
17
18ANSWER#N/A
19
20ANSWER#N/A

<colgroup><col><col><col><col><col span="2"><col><col><col span="3"><col span="7"></colgroup><tbody>
</tbody>

With Formulas:
ABCDEFGHIJKLMNOPQR
1 2250250027503000325035003750400042504500475050005250550057506000
2200012345678910111213141516
32125123456789101112131415
422501234567891011121314
5235012345678910111213
62500123456789101112
7275012345678910
8296012345678
9
10
11WIDTHHEIGHT
12QUOTE='Main Sheet'!B10='Main Sheet'!B11
13ROUND UP=CEILING(G13,250)=CEILING(H13,125)
14
15ROW NUMBER=MATCH(H14,$B$3:$B$9,0)
16COLUMN NUMBER=MATCH(G14,$C$2:$R$2,0)
17
18ANSWER=INDEX(C3:R9,H16,G17)
19
20ANSWER=ROUNDUP(H19,2)

<colgroup><col><col span="2"><col><col span="2"><col><col><col span="10"></colgroup><tbody>
</tbody>


Thanks in advance Dan.
 
Add an equal sign to the formulae in F13 & G13 like
=SMALL(IF(B1:Q1>=F12,B1:Q1),1)

and don't forget to confirm with Ctrl Shift Enter
 
Upvote 0

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
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,377
Members
448,888
Latest member
Arle8907

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