match up figures

oldham94l

Board Regular
Joined
Jul 14, 2002
Messages
136
I have a table which shows sales and staff:

50 - 2
100 - 2
200 - 3
300 - 5
etc

if i enter my actual sales in A coloum eg.

50
78
220
157
100
35


it will match staff to the figures:

50 - 2
78 - 2
220 - 3
157 - 3
100 - 2
35 -2

the sales alos have to round up or down so 157 would select 200 from the table.

thanks
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

oldham94l

Board Regular
Joined
Jul 14, 2002
Messages
136
i can setup the addin, but i have to send the final workbook to 32 stores who will not be able to install addins,

is there a way to do it without MROUND?
 

attc

Board Regular
Joined
Oct 11, 2002
Messages
87
MROUND(H10, 100) is equivalent to:
ROUND(H10,-2)

{Also, more generally, MROUND(x, y) = ROUND(x/y,0)*y}
 

Forum statistics

Threads
1,181,917
Messages
5,932,772
Members
436,861
Latest member
eh19

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
Top