#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default IF functions

I can't seem to figure out how to form an IF function that takes into account
values from more than one cell. E.g. is it possible to form an IF function
which checks if the values in cells A1 and B1 are big enough and returns the
value TRUE only if BOTH cells contain the correct value?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default IF functions

I believe this is what you are looking for
IF(And(A1x, B1x), result)

Lorne
Wilhelm wrote:
I can't seem to figure out how to form an IF function that takes into account
values from more than one cell. E.g. is it possible to form an IF function
which checks if the values in cells A1 and B1 are big enough and returns the
value TRUE only if BOTH cells contain the correct value?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 459
Default IF functions

Wilhelm wrote:
I can't seem to figure out how to form an IF function that takes into
account values from more than one cell. E.g. is it possible to form
an IF function which checks if the values in cells A1 and B1 are big
enough and returns the value TRUE only if BOTH cells contain the
correct value?



Hi Wilhelm,

without any data... Try something like this:

IF(AND(A1=5,B1=6),"True","False")


Check on line help for AND and OR functions.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
Can I get Excel to determine the line curve formula without graph. Cadelima Excel Discussion (Misc queries) 8 December 20th 05 09:57 PM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Database functions should use criteria in formula, as 1-2-3 does 123user Excel Worksheet Functions 8 September 29th 05 08:57 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM
Confused about arrays and ranges in functions Llurker Excel Worksheet Functions 0 July 7th 05 05:44 AM


All times are GMT +1. The time now is 02:19 PM.

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

About Us

"It's about Microsoft Excel"