Using the "IF" Statement

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hello,

I've been driving myself just a bit nuts trying to resolve the
following
excel problem:

If the numeric value in a given cell falls within a predefined range
(500 to 1000), I want the value to be multiplied by a constant
value (0.05). If the criteria is not met, I want the cell identified
as
the recipient of this multiplication to reflect a value of 0.00.

Could someone please show me what this formula should look like?
Certainly
would appreciate it.
 
Hi Dave!

Is this what you need?

=IF(AND(A1>=500,A1<=1000),A1*0.05,0)

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
Dave,

Here's a solution without IF

=AND(A1>=500,A1<=1000)*A1*0.5

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Just another way:

=(ABS(A1-750)<=250)*A1*0.05

Bob Phillips said:
Dave,

Here's a solution without IF

=AND(A1>=500,A1<=1000)*A1*0.5

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top