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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
How about this.

Code:
=A1*0.65&"-"&A1*0.85
 
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)
 
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!!! (y)

Yes, many applications!
For example

A
B
C
D
E
1
Track​
Grade​
Value​
Result​
2
1-10​
D​
12​
C​
3
11-20​
C​
21​
B​
4
21-30​
B​
8​
D​
5
31-40​
A​
35​
A​

<tbody>
</tbody>


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,214,875
Messages
6,122,042
Members
449,063
Latest member
ak94

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