Formula to create points

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
Good Day,
This formula works for adding a ticket for every full 1000

Code:
[COLOR=#333333]=IF(A1<=1000,INT(A1/100),10+INT((A1-1000)/1000))[/COLOR]

Is it possible to change above formula base on below rules?
Many Thanks

Every 100= 1point
Between 100 to 1.000= 10point
Every 1,000= 1point
Between 1.000 to 10.000= 10point
Every 10.000= 1point
Between 10.000 to 100.000= 10point
Every 100.000= 1point

Sample:
345600= "3+4+5+6+30= 48 point"
54700= "5+4+7+20= 36 point"
6700= "6+7+10= 23 point"
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Not elegant but does what you want:

=SUMPRODUCT(1*MID(A1/100,ROW(INDIRECT("1:"&LEN(A1/100))),1))+((LEN(A1/100)-1)*10)
 
Last edited by a moderator:
Upvote 0
Hi,
Thanks for your quick reply but the result is
Code:
[B]#NAME [/B]
which I couldn't figured out.
 
Last edited:
Upvote 0
Ok, for example;

A1=345600

When you paste this formula to B1, it works for me.
 
Upvote 0
Will try on my different excel and will keep you updated.
Thanks again
 
Upvote 0
Ohh sorry, but if the numbers with deciminal the result shown as #VALUE !
Is teher any solution for that error?
If the number 345600 the result corret but if 345600,4 it gives error!
Thanks again
 
Upvote 0
Ohh sorry, but if the numbers with deciminal the result shown as #VALUE !
Is teher any solution for that error?
If the number 345600 the result corret but if 345600,4 it gives error!
Thanks again

Thanks for the feedback. Maybe you can wrap the value into integer function in the first place:
=SUMPRODUCT(1*MID(INT(A1/100),ROW(INDIRECT("1:"&LEN(INT(A1/100)))),1))+(LEN(INT(A1/100))-1)*10
 
Last edited by a moderator:
Upvote 0
Thats great,
Could you please have a check below table what can be the alteration if the conditions are changes?
Thanks again.
1000=10
1400=11
2400=12Increase 1 for every 1000 after 1000
5400=15Increase 1 for every 1000 after 1000
10000=19Increase 1 for every 1000 after 1000
15000=21Increase 1 for every 5000 after 10000

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Thats great,
Could you please have a check below table what can be the alteration if the conditions are changes?
Thanks again.
1000=10
1400=11
2400=12Increase 1 for every 1000 after 1000
5400=15Increase 1 for every 1000 after 1000
10000=19Increase 1 for every 1000 after 1000
15000=21Increase 1 for every 5000 after 10000

<tbody>
</tbody>
Increase 1 for every 1000 after 1400 may be?!

Also here why you added2? Only 1 times 5000 added?!
10000=19Increase 1 for every 1000 after 1000
15000=21Increase 1 for every 5000 after 10000

<tbody>
</tbody>
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,708
Members
448,293
Latest member
jin kazuya

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