 • 540K Members
• 3,476 Online
• 644K Conversations

Highlighted

# Need help with an Excel Formula

I need to input a formula into cell B2 that will take the value from A2 and divide it by a set figure if it is less than, equal to or great than a set parameter...

example: if the value is in B2 is <10, then /.7, if it is >10 but <30 then /.72, >30 but <60 then /.75, >61 then /.8

3 Replies
Highlighted

# Re: Need help with an Excel Formula

I suggest making a two column lookup table for your divisors. The first column will be the bottom of each bracket, while the second is the corresponding divisor. My lookup table was in cells G2:H5, so I was able to use a VLOOKUP formula in cell B2 like:

`=A2/VLOOKUP(A2,G2:H5,2)` Highlighted

# Re: Need help with an Excel Formula

@wunderj You may use below formula in cell B2

=IF(A2<10,A2/0.7,IF(A2<30,A2/0.72,IF(A2<60,A2/0.75,A2/0.8))) Highlighted

# Re: Need help with an Excel Formula

Usual question is what it shall be if B2 is equal to 10, or 30, or 60, or 61

Related Conversations
IF statements and conditional formatting
clare1981 in Excel on
1 Replies
Reverse numbers and characters in worksheet
David_Gerrior in Excel on
1 Replies
Sumifs
Jsbluemoon82 in Excel on
3 Replies
Excel formula similiar to texjoin
Carlo74 in Excel on
0 Replies
everything is black and white in excel
Gold4trees in Excel on
1 Replies
Deleting unwanted rows and columns
chipg900 in Excel on
4 Replies