#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Combining Functions

Is there a way to combine the "IF" function and the "AND" function in one
formula?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Combining Functions

=if(and(a1=5,b1="yes"),"both are true","at least one is not true")


MikeM wrote:

Is there a way to combine the "IF" function and the "AND" function in one
formula?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Combining Functions

The following conditions is IF A1 = 12 and B10 = 15 and C2 = 0 then condition
is met, otherwise it's not met.

=IF(AND(A1=12,B10=15,C22=0),"Condition Met", "Condition Not Met")
--
Kevin Backmann


"MikeM" wrote:

Is there a way to combine the "IF" function and the "AND" function in one
formula?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Combining Functions

I want to return a value from another cell as opposed to a "true" or "false",
is this possible?
MikeM

"Dave Peterson" wrote:

=if(and(a1=5,b1="yes"),"both are true","at least one is not true")


MikeM wrote:

Is there a way to combine the "IF" function and the "AND" function in one
formula?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Combining Functions

Just replace the text values with the cell you want referenced:

=IF(AND(A1=12,B10=15,C22=0),Z10, X11)

--
Kevin Backmann


"MikeM" wrote:

I want to return a value from another cell as opposed to a "true" or "false",
is this possible?
MikeM

"Dave Peterson" wrote:

=if(and(a1=5,b1="yes"),"both are true","at least one is not true")


MikeM wrote:

Is there a way to combine the "IF" function and the "AND" function in one
formula?


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Combining Functions

Thanks for your help!

"MikeM" wrote:

I want to return a value from another cell as opposed to a "true" or "false",
is this possible?
MikeM

"Dave Peterson" wrote:

=if(and(a1=5,b1="yes"),"both are true","at least one is not true")


MikeM wrote:

Is there a way to combine the "IF" function and the "AND" function in one
formula?


--

Dave Peterson

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
Combining IF & AND functions Khoshravan Excel Discussion (Misc queries) 5 October 3rd 07 12:12 AM
Combining functions AND and OR Jan Buckley Excel Worksheet Functions 3 November 14th 06 05:21 PM
Combining IF and OR Functions ConfusedNHouston Excel Discussion (Misc queries) 2 October 4th 06 12:38 AM
Combining IF OR and AND functions andyp161 Excel Worksheet Functions 3 April 20th 06 06:05 PM
Combining functions Steve Excel Worksheet Functions 2 March 31st 06 05:49 PM


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