Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Multiple If Then Statement based on ranges

I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x, then Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x then Q4.

I've tried a bunch but they don't seem to work!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multiple If Then Statement based on ranges

=IF(AND(A1=B10,A1<=C10),Q1IF(AND(A1=B11,A1<=C11) ,Q2,IF(AND(A1=B12,A1<=C12
),Q1,"")))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

<Multiple If; "Then statements" <Multiple If, Then
wrote in message
...
I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x, then

Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x then

Q4.

I've tried a bunch but they don't seem to work!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Multiple If Then Statement based on ranges

=IF(A1<100,Q1,IF(A1<200,Q2,IF(A1<300,Q3,IF(A1<400, Q4,"another number"))))

Adjust to suit


"Multiple If, Then statements" wrote:

I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x, then Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x then Q4.

I've tried a bunch but they don't seem to work!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default Multiple If Then Statement based on ranges

What if A1 is #N/A and you want it to kick back "" blank or 0?


"Teethless mama" wrote:

=IF(A1<100,Q1,IF(A1<200,Q2,IF(A1<300,Q3,IF(A1<400, Q4,"another number"))))

Adjust to suit


"Multiple If, Then statements" wrote:

I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x, then Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x then Q4.

I've tried a bunch but they don't seem to work!!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Multiple If Then Statement based on ranges

=IF(ISNA(A1),"",IF(A1<100,Q1,IF(A1<200,Q2,IF(A1<30 0,Q3,IF(A1<400,Q4,"another
number")))))
--
David Biddulph

"Julie" wrote in message
...
What if A1 is #N/A and you want it to kick back "" blank or 0?


"Teethless mama" wrote:

=IF(A1<100,Q1,IF(A1<200,Q2,IF(A1<300,Q3,IF(A1<400, Q4,"another number"))))

Adjust to suit


"Multiple If, Then statements" wrote:

I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x,
then Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x
then Q4.

I've tried a bunch but they don't seem to work!!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple If Then Statement based on ranges

Just add another IF test:

For a return of blank:

=IF(ISNA(A1),"",IF(...........

For a return of 0:

=IF(ISNA(A1),0,IF(...........

--
Biff
Microsoft Excel MVP


"Julie" wrote in message
...
What if A1 is #N/A and you want it to kick back "" blank or 0?


"Teethless mama" wrote:

=IF(A1<100,Q1,IF(A1<200,Q2,IF(A1<300,Q3,IF(A1<400, Q4,"another number"))))

Adjust to suit


"Multiple If, Then statements" wrote:

I need a formula that says:

If A1 is between $x and $x, then Q1, or if A1 is between $x and $x,
then Q2,
or if A1 is between $x and $x, then Q3, or if A1 is between $x and $x
then Q4.

I've tried a bunch but they don't seem to work!!



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
Using Multiple, Noncontiguous Ranges in COUNTIF? PBJ Excel Discussion (Misc queries) 0 October 11th 06 05:45 PM
How do I Select Multiple Non Adjacent Rows based on a cell value? avalynch Excel Worksheet Functions 2 October 1st 06 07:45 PM
Multiple Ranges in 1 Column using VBA [email protected] Excel Discussion (Misc queries) 1 August 24th 06 12:21 AM
Printing multiple ranges on one worksheet Pivot Novice Excel Discussion (Misc queries) 4 April 10th 06 11:05 PM
compare unique identifiers in multiple ranges bawilli_91125 Charts and Charting in Excel 1 November 30th 04 06:34 PM


All times are GMT +1. The time now is 06:11 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"