Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
parkmac
 
Posts: n/a
Default How do I have a IF AND formula read 2 different cells to be true

I want to create a conditinal function that references 2 cells to be true -
this is what I have used for the formula but it is not referencing the C29
value to be true before doing the rest.

for example:
=IF(AND(C29="X",G29<L29),1,G29/L29)

Thanks for your help
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

What do you want to happen if C29<"X"?


In article ,
"parkmac" wrote:

I want to create a conditinal function that references 2 cells to be true -
this is what I have used for the formula but it is not referencing the C29
value to be true before doing the rest.

for example:
=IF(AND(C29="X",G29<L29),1,G29/L29)

Thanks for your help

  #3   Report Post  
Tim C
 
Posts: n/a
Default

I think this is what you are trying to do:

=IF(C29="X",IF(G29L29,1,G29/L29),"")

Which could also be done this way:

=IF(C29="X",MIN(G29/L29,1)),"")

Tim C

"parkmac" wrote in message
...
I want to create a conditinal function that references 2 cells to be true -
this is what I have used for the formula but it is not referencing the C29
value to be true before doing the rest.

for example:
=IF(AND(C29="X",G29<L29),1,G29/L29)

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
Again-revealing the contents of formula srinivasan Excel Worksheet Functions 0 July 5th 05 06:25 AM
How would this formula read Frantic Excel-er Excel Discussion (Misc queries) 5 May 24th 05 05:55 PM
Formula or not? Alan Excel Worksheet Functions 2 February 20th 05 03:26 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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