Numerical value based on percentage of total spend

JaCh

New Member
Joined
Oct 12, 2020
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am hoping someone could provide me with a solution to an excel challenge I am facing. I am trying to obtain a formula in where a cell provides me with a numerical score of say 1-5, based on what percentage the operational cost is compared to the total spend.

So if for example an entity has a operational cost of 4000 of a total spend of 1000000, that means there will be a 0,4% operational cost compared to the total spend and as such, the formula would automatically provide the designated cell with a numerical value of 1 since the categorisation illustrated here states that 0-10% operational cost should receive the value of 1.

1602498622241.png


Hopefully this is not as complicated as it appears to me.

Thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
check if this works for you

Book1
ABCDE
1Spent100000010.0%
2Cost250000210.0%
3320.0%
4Score3430.0%
5540.0%
Sheet1
Cell Formulas
RangeFormula
B4B4=LOOKUP(B2/B1,E1:E5,D1:D5)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=MIN(CEILING.MATH(B8/B4,0.1)*10,5)
 
Upvote 0
I am getting some type of error stating the following: A value used in the data is the wrong data type.

1602500237689.png


This is the formula I have inserted
1602500266201.png


The percentages has been set to "percentages", not "general" or "numbers" or anything.
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=MIN(CEILING.MATH(B8/B4,0.1)*10,5)

Kindly excuse my lack of knowledge but I am quite uncertain as to how I should operationalise that formula. Your input is appreciated however.
 
Upvote 0
I am getting some type of error stating the following: A value used in the data is the wrong data type.

View attachment 24060

This is the formula I have inserted
View attachment 24061

The percentages has been set to "percentages", not "general" or "numbers" or anything.

the percentages should be input as .1 for 10%, and .2 for 20% etc
and format cells as percentages
 
Last edited by a moderator:
Upvote 0
Kindly excuse my lack of knowledge but I am quite uncertain as to how I should operationalise that formula. Your input is appreciated however.
You just put it into what ever cell you want. ;)
+Fluff v2.xlsm
ABCD
1
2
3
4Spend1000001
5
6
7
8Cost10000
9
Clubs
Cell Formulas
RangeFormula
D4D4=MIN(CEILING.MATH(B8/B4,0.1)*10,5)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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