#1   Report Post  
Posted to microsoft.public.excel.misc
Kim CB
 
Posts: n/a
Default Help with Formula

Hi, I have spreadsheet where I want to compare two columns and set up
conditions to get the answer I want. There are 4 logic tests I need done to
get the answer I need for each row.

Here is what I need to do: can someone help me with the formula??

(If the value in Cell G2 is less than or equal to 100 AND the value in Cell
I2 is equal to 1 enter 73) (If the value in Cell G2 is less than or equal
too 100 AND the value in Cell I2 is greater than 1 enter 115) (If the value
in Cell G2 is greater than 100 AND the value in Cell I2 is equal to 1 enter
130) (If the value in Cell G2 is greater than 100 AND the value in Cell I2
greater than 1 enter 150)
--
Kim
  #2   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default Help with Formula


Try this:

=if(and(G2<=100,I2=1),73,if(and(G2<=100,I21),115, if(and(G2100,I2=1),130,if(and(G2100,I21),150,"" ))))

It returns a "blnk" cell if none of your conditions are met: ie. I2<1


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=512770

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kevin Vaughn
 
Posts: n/a
Default Help with Formula

=IF(AND(G2<=100,
I2=1),73,IF(AND(G2<=100,I21),115,IF(AND(G2100,I2 =1),130,IF(AND(G2100,I21),150,0))))
Note: if none of the criteria is met, 0 is entered.
--
Kevin Vaughn


"Kim CB" wrote:

Hi, I have spreadsheet where I want to compare two columns and set up
conditions to get the answer I want. There are 4 logic tests I need done to
get the answer I need for each row.

Here is what I need to do: can someone help me with the formula??

(If the value in Cell G2 is less than or equal to 100 AND the value in Cell
I2 is equal to 1 enter 73) (If the value in Cell G2 is less than or equal
too 100 AND the value in Cell I2 is greater than 1 enter 115) (If the value
in Cell G2 is greater than 100 AND the value in Cell I2 is equal to 1 enter
130) (If the value in Cell G2 is greater than 100 AND the value in Cell I2
greater than 1 enter 150)
--
Kim

  #4   Report Post  
Posted to microsoft.public.excel.misc
Kim CB
 
Posts: n/a
Default Help with Formula

Again Awesome!! You guys save the day
--
Kim


"Kevin Vaughn" wrote:

=IF(AND(G2<=100,
I2=1),73,IF(AND(G2<=100,I21),115,IF(AND(G2100,I2 =1),130,IF(AND(G2100,I21),150,0))))
Note: if none of the criteria is met, 0 is entered.
--
Kevin Vaughn


"Kim CB" wrote:

Hi, I have spreadsheet where I want to compare two columns and set up
conditions to get the answer I want. There are 4 logic tests I need done to
get the answer I need for each row.

Here is what I need to do: can someone help me with the formula??

(If the value in Cell G2 is less than or equal to 100 AND the value in Cell
I2 is equal to 1 enter 73) (If the value in Cell G2 is less than or equal
too 100 AND the value in Cell I2 is greater than 1 enter 115) (If the value
in Cell G2 is greater than 100 AND the value in Cell I2 is equal to 1 enter
130) (If the value in Cell G2 is greater than 100 AND the value in Cell I2
greater than 1 enter 150)
--
Kim

  #5   Report Post  
Posted to microsoft.public.excel.misc
Kim CB
 
Posts: n/a
Default Help with Formula

Awesome thanks!!! it works!


"Cutter" wrote:


Try this:

=if(and(G2<=100,I2=1),73,if(and(G2<=100,I21),115, if(and(G2100,I2=1),130,if(and(G2100,I21),150,"" ))))

It returns a "blnk" cell if none of your conditions are met: ie. I2<1


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=512770




  #6   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default Help with Formula


You're welcome


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=512770

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
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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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