#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default If Statements

I need to embed an if/and statement that has more than two conditions.: i.e.
if h2=h3 and (K3=9,K2=7),"9-8"

In other words, I need three conditions to apply to each if statement. Is
that possible and how would I do that?


--
Motaad
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default If Statements

=IF(AND(H2=H3,K3=9,K2=7),"9-8","answer if false")
--
David Biddulph

"Motaad" wrote in message
...
I need to embed an if/and statement that has more than two conditions.:
i.e.
if h2=h3 and (K3=9,K2=7),"9-8"

In other words, I need three conditions to apply to each if statement. Is
that possible and how would I do that?


--
Motaad



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default If Statements

=IF(AND(H2=H3,K3=9,K2=7),"9-8","")

"Motaad" wrote:

I need to embed an if/and statement that has more than two conditions.: i.e.
if h2=h3 and (K3=9,K2=7),"9-8"

In other words, I need three conditions to apply to each if statement. Is
that possible and how would I do that?


--
Motaad

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
SUM and IF statements Bob Excel Worksheet Functions 5 October 29th 06 06:18 PM
MAX, IF statements? Bob Excel Worksheet Functions 9 October 26th 06 02:47 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
if statements, I think?? sbrimley Excel Discussion (Misc queries) 1 September 23rd 05 11:00 PM
IF/AND Statements case54321 Excel Worksheet Functions 1 June 14th 05 01:36 PM


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