• 590K Members
• 5,094 Online
• 716K Conversations

## Excel formula help

Highlighted
Occasional Visitor

# Excel formula help

I want to multiply a cell by a different number depending on the size of the number in the cell, how do I write the formula for this?

If the cell number is less than or equal to 20, if the cell is less than 55 but more than 20, if the cell is greater than or equal to 55.

Can someone help me out? I thought the "IF" statement would work but I can't get it to work.

Highlighted

# Re: Excel formula help

If the multipliers are 1, 2, and 3, respectively, use LOOKUP instead of IF like this:
=LOOKUP(A2,
{1,21,55},
{1,2,3})*A2
Related Conversations
Sourcing array from cell
mryno in Excel on
1 Replies
SUMMING
dumby58 in Excel on
1 Replies
how to set 2E02 into escel
Daryl20 in Excel on
5 Replies
Trouble with formulas MIN/MAX within IF statements
BDB1973 in Excel on
6 Replies
Openen en opslaan WORD en EXCEL
Turke100 in Excel on
0 Replies
historical stock data
onassis78 in Excel on
0 Replies