Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default How to create a formula with multiple (IF) conditions

HEllo,

Could you please help me creating a formula with multiple conditions?

IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9");
IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9");

Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to create a formula with multiple (IF) conditions

Jimmy

Since the results are all same..there is no need of conditions...

If this post helps click Yes
---------------
Jacob Skaria


"jimmy" wrote:

HEllo,

Could you please help me creating a formula with multiple conditions?

IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9");
IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9");

Thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to create a formula with multiple (IF) conditions


jimmy,

The *then ("A3"*"A5"-"A9")* is the same for all 4 lines.

Try:
=IF(AND(A3100,A3<=300),(A3*A5)-A9,"not in range")


Have a great day,
Stan


--
stanleydgromjr
------------------------------------------------------------------------
stanleydgromjr's Profile: http://www.thecodecage.com/forumz/member.php?userid=503
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=115770

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to create a formula with multiple (IF) conditions

Just one IF will do...

=IF(AND(A3100,A3<=300),A3*(A5-A9),"")

OR

=IF(AND(A3100,A3<=300),(A3*A5)-A9,"")

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Jimmy

Since the results are all same..there is no need of conditions...

If this post helps click Yes
---------------
Jacob Skaria


"jimmy" wrote:

HEllo,

Could you please help me creating a formula with multiple conditions?

IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9");
IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9");

Thanks for your help

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default How to create a formula with multiple (IF) conditions

Just to note
assume a3 = 5
assume a5 = 4
assume a9 = 2
=A3*(A5-A9) = 5*(4-2) = 5*2 = 10
=(A3*A5)-A9 = (5*4)-2 = 20-2= 18
I'm assuming that you know this already

--

Wag more, bark less


"Jacob Skaria" wrote:

Just one IF will do...

=IF(AND(A3100,A3<=300),A3*(A5-A9),"")

OR

=IF(AND(A3100,A3<=300),(A3*A5)-A9,"")

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Jimmy

Since the results are all same..there is no need of conditions...

If this post helps click Yes
---------------
Jacob Skaria


"jimmy" wrote:

HEllo,

Could you please help me creating a formula with multiple conditions?

IF "A3" greater than 100 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 150, then ("A3"*"A5"-"A9");
IF "A3" greater than 151 and less or equal than 200, then ("A3"*"A5"-"A9");
IF "A3" greater than 201 and less or equal than 300, then ("A3"*"A5"-"A9");

Thanks for your help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a formula with conditions JP Excel Worksheet Functions 6 October 28th 07 03:38 AM
How to create a formula that meets 2 different conditions... Jennifer Excel Discussion (Misc queries) 2 April 25th 07 11:54 PM
How do I create a formula that has circular conditions? R Levin Excel Discussion (Misc queries) 1 November 9th 06 04:37 PM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
Create a total based on multiple conditions is not giving correct. Jacob Excel Worksheet Functions 2 November 4th 04 04:07 AM


All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"