Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Creating a complicated formula

I am trying to create the following formula:

I have two colums (A and B) with numbers.
Formula 1 checks if A=5250.001 and B<=5000 then returns CIR2
Formula 2 checks if A<=5000 then returns CIR1
Formula 3 checks if A=5250.001 and B=5000.001 then returns OOC

I can get all three formula working individually but I need them to work
together as one formula, checking all three "ifs" and returning one of the
three results.

Can anyone help me with linking the three together or advise me if there is
a better way to calculate this?

Many thanks,

Cheryl





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Creating a complicated formula

THIS ..?

=IF(AND(A1=5250.001,B1<=5000),"CIR2",IF(AND(A1=5 250.001,B1=5000.001),"OCC",IF(A1<=5000,"CIR1","") ))


"Cheryl" wrote:

I am trying to create the following formula:

I have two colums (A and B) with numbers.
Formula 1 checks if A=5250.001 and B<=5000 then returns CIR2
Formula 2 checks if A<=5000 then returns CIR1
Formula 3 checks if A=5250.001 and B=5000.001 then returns OOC

I can get all three formula working individually but I need them to work
together as one formula, checking all three "ifs" and returning one of the
three results.

Can anyone help me with linking the three together or advise me if there is
a better way to calculate this?

Many thanks,

Cheryl





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Creating a complicated formula

Here's a play off Topper's formula that will take care of TEXT values as
well.....

=IF(OR(ISTEXT(A1),ISTEXT(B1)),"Improper
value",IF(AND(A1=5250.001,B1<=5000),"CIR2",IF(AND (A1=5250.001,B1=5000.001),"OCC",IF(A1<=5000,"CIR 1",""))))

Vaya con Dios,
Chuck, CABGx3



"Cheryl" wrote:

I am trying to create the following formula:

I have two colums (A and B) with numbers.
Formula 1 checks if A=5250.001 and B<=5000 then returns CIR2
Formula 2 checks if A<=5000 then returns CIR1
Formula 3 checks if A=5250.001 and B=5000.001 then returns OOC

I can get all three formula working individually but I need them to work
together as one formula, checking all three "ifs" and returning one of the
three results.

Can anyone help me with linking the three together or advise me if there is
a better way to calculate this?

Many thanks,

Cheryl





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Creating a complicated formula

Toppers,

Excellent thanks, I think I've tried every combination of the formula
except this one! Thanks for your help,

Cheryl

"Toppers" wrote:

THIS ..?

=IF(AND(A1=5250.001,B1<=5000),"CIR2",IF(AND(A1=5 250.001,B1=5000.001),"OCC",IF(A1<=5000,"CIR1","") ))


"Cheryl" wrote:

I am trying to create the following formula:

I have two colums (A and B) with numbers.
Formula 1 checks if A=5250.001 and B<=5000 then returns CIR2
Formula 2 checks if A<=5000 then returns CIR1
Formula 3 checks if A=5250.001 and B=5000.001 then returns OOC

I can get all three formula working individually but I need them to work
together as one formula, checking all three "ifs" and returning one of the
three results.

Can anyone help me with linking the three together or advise me if there is
a better way to calculate this?

Many thanks,

Cheryl





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
Complicated formula please help asap! babiigirl Excel Worksheet Functions 8 June 14th 06 04:26 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Creating a table from a formula Fiend Excel Discussion (Misc queries) 3 January 27th 06 09:51 PM
Complicated Formula Stephen Excel Discussion (Misc queries) 12 April 17th 05 01:15 PM
Creating a specific formula booroni New Users to Excel 3 March 26th 05 10:05 AM


All times are GMT +1. The time now is 06:38 PM.

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"