Multiply a number by a range

pepsihulk

New Member
Joined
Aug 2, 2019
Messages
1
Hi,

I am not sure how to proceed with the formula as I want to multiply a number by a percentage range
ie: 65%-85% of 200, I would want the cell to populate with 130-170.

Thanks for your help!

:)
 

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
Assuming you need a more general solution in order to handle any arbitrary range, let's assume cell A1 contains the number (200 from your example) and cell B1 contains the percentage range (the 65%-85% from your example), then...

=A1*LEFT(B1,FIND("-",B1)-1)&"-"&A1*MID(B1,FIND("-",B1)+1,15)
 
Upvote 0
Assuming you need a more general solution in order to handle any arbitrary range, let's assume cell A1 contains the number (200 from your example) and cell B1 contains the percentage range (the 65%-85% from your example), then...

=A1*LEFT(B1,FIND("-",B1)-1)&"-"&A1*MID(B1,FIND("-",B1)+1,15)
FWIW that formula could be shortened to

=A1*LEFT(B1,FIND("-",B1)-1)&A1*MID(B1,FIND("-",B1),15)
 
Upvote 0
I really like this one!!! :beerchug:

Yes, many applications!
For example

[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #DCE6F1"][/TD]
[TD="bgcolor: #DCE6F1"]
A
[/TD]
[TD="bgcolor: #DCE6F1"]
B
[/TD]
[TD="bgcolor: #DCE6F1"]
C
[/TD]
[TD="bgcolor: #DCE6F1"]
D
[/TD]
[TD="bgcolor: #DCE6F1"]
E
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
1
[/TD]
[TD]
Track​
[/TD]
[TD]
Grade​
[/TD]
[TD][/TD]
[TD]
Value​
[/TD]
[TD]
Result​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
2
[/TD]
[TD]
1-10​
[/TD]
[TD]
D​
[/TD]
[TD][/TD]
[TD]
12​
[/TD]
[TD]
C​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
3
[/TD]
[TD]
11-20​
[/TD]
[TD]
C​
[/TD]
[TD][/TD]
[TD]
21​
[/TD]
[TD]
B​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
4
[/TD]
[TD]
21-30​
[/TD]
[TD]
B​
[/TD]
[TD][/TD]
[TD]
8​
[/TD]
[TD]
D​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #DCE6F1"]
5
[/TD]
[TD]
31-40​
[/TD]
[TD]
A​
[/TD]
[TD][/TD]
[TD]
35​
[/TD]
[TD]
A​
[/TD]
[/TR]
</tbody>[/TABLE]


Usually we need to split the first column in two columns, but now we can use...
E2 copied down
=LOOKUP(D2,IMREAL(A$2:A$5&"i"),B$2:B$5)

M.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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