Divide the numbers by formula

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
First 1000 is 10 then plus every 1000 is 1 until 10000After 10.000 every 5.000 until 100.000After 100.000 every 10.000
13001100
23001200
7,8001700
17,8002010
22,0002020
35,5002050
85,00020150
103,00020180
145,00020184

<tbody>
</tbody>


Good day,
What would be the formulas from the cells B2-C2-D2 all the way down to find the results with the related information from column A and above that cells.
Many Thanks
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
B2: =10+MEDIAN(0,10,INT(A2/1000))
C2: =MEDIAN(0,18,INT((A2-10000)/5000))
D2: =MAX(0,INT((A2-100000)/10000))


Book1
ABCD
1First 1000 is 10 then plus every 1000 is 1 until 10000After 10.000 every 5.000 until 100.000After 100.000 every 10.000
25001000
313001100
423001200
57,8001700
617,8002010
722,0002020
835,5002050
985,00020150
10103,00020180
11145,00020184
Sheet1


Your first condition is ambiguous - did you want B2 = 10 as shown? Or should this be zero?
 
Last edited:
Upvote 0
Hi Stephen,
Is it possible create one more coulumn which will count only 100's till 1000 like:
16800= 8 hundreds (0-999)
 
Upvote 0
Hi Stephen,
Is it possible create one more coulumn which will count only 100's till 1000 like:
16800= 8 hundreds (0-999)

Do you mean like this:

B1: =FLOOR(MOD(A1,1000)/100,1)


Book1
AB
1990
21011
32202
48998
59019
69999
71,0990
81,1011
91,6006
102,7997
1116,8008
1220,9999
Sheet1
 
Last edited:
Upvote 0
Hi,
The whole table is given below is the sample what I needed for each column.
Many Thanks

COLUMN1COLUMN2COLUMN3
0-9991000-1000010000-1000000
700700
1000910
1400910
2500920
3500930
4400940
7800970
120009101
758009107
14500091014
20000091020
25000091025

<tbody>
</tbody>
 
Last edited:
Upvote 0
B2: =MIN(9,INT(A2/100))
C2: =MIN(10,INT(A2/1000))
D2: =MIN(25,INT(A2/10000))


Book1
ABCD
10-9991000-1000010000-1000000
2700700
31,000910
41,400910
52,500920
63,500930
74,400940
87,800970
912,0009101
1075,8009107
11145,00091014
12200,00091020
13250,00091025
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,996
Messages
6,122,636
Members
449,092
Latest member
bsb1122

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