#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 328
Default Nested If's

hi

I have a drop down list starting at column S2 that contains two values


Duplicate
Master

Depending on the selection, I want a message to appear in V2

I have this formula currently in V2...

=IF(AND(U2=A2,S2="Duplicate")," Master Account Cannot be a duplicate of
itself ", " ")

However, I want to add another part to this, ie

=IF(S2="Master"," Master Account Not req ", " ")

I've tried lots of different ways to turn both formulas into one, but
cannot seem to work it out


Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Nested If's

I don't think there's an ELSE, so you have to nest:
=IF(AND(A1=A2,A3="Duplicate"),"One",IF(A3="Master" ,"Two",""))

Lisa wrote:
hi
I have a drop down list starting at column S2 that contains two values
Duplicate
Master
Depending on the selection, I want a message to appear in V2
I have this formula currently in V2...
=IF(AND(U2=A2,S2="Duplicate")," Master Account Cannot be a duplicate of
itself ", " ")
However, I want to add another part to this, ie
=IF(S2="Master"," Master Account Not req ", " ")
I've tried lots of different ways to turn both formulas into one, but
cannot seem to work it out
Thanks in advance


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
Nested If's Beverly Excel Worksheet Functions 2 October 10th 08 08:54 PM
Nested IF's Stav19 Excel Programming 4 November 7th 07 08:18 AM
Nested if's in vba Jock Excel Programming 3 May 3rd 07 11:05 AM
How many nested IF's??? malik641 Excel Discussion (Misc queries) 1 June 16th 05 09:35 PM
NESTED IF's too many saturnin02 Excel Programming 11 July 24th 03 07:26 PM


All times are GMT +1. The time now is 11:14 AM.

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"