Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default How do I nest IF statements to only return value if both true?

I have a cell, M30, in which I want to display contents copied from another
cell (D18), provided that two different conditions are met: K24=Y and M29
has some text content in it already. Otherwise, M30 is blank.
The basic IF statement I've written for M30 is =IF(k24="y",D18,""), but
that only takes care of the first condition. How do I make it test for the
second condition, that M29 has some text in it?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I nest IF statements to only return value if both true?

Hi!

Try this:

=IF(AND(K24="Y",M29<""),D18,"")

Biff

"kvnexcel" wrote in message
...
I have a cell, M30, in which I want to display contents copied from another
cell (D18), provided that two different conditions are met: K24=Y and
M29
has some text content in it already. Otherwise, M30 is blank.
The basic IF statement I've written for M30 is =IF(k24="y",D18,""), but
that only takes care of the first condition. How do I make it test for the
second condition, that M29 has some text in it?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default How do I nest IF statements to only return value if both true?

BIFF -- Worked like a charm! Thanks.

"Biff" wrote:

Hi!

Try this:

=IF(AND(K24="Y",M29<""),D18,"")

Biff

"kvnexcel" wrote in message
...
I have a cell, M30, in which I want to display contents copied from another
cell (D18), provided that two different conditions are met: K24=Y and
M29
has some text content in it already. Otherwise, M30 is blank.
The basic IF statement I've written for M30 is =IF(k24="y",D18,""), but
that only takes care of the first condition. How do I make it test for the
second condition, that M29 has some text in it?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I nest IF statements to only return value if both true?

You're welcome. Thanks for the feedback!

Biff

"kvnexcel" wrote in message
...
BIFF -- Worked like a charm! Thanks.

"Biff" wrote:

Hi!

Try this:

=IF(AND(K24="Y",M29<""),D18,"")

Biff

"kvnexcel" wrote in message
...
I have a cell, M30, in which I want to display contents copied from
another
cell (D18), provided that two different conditions are met: K24=Y and
M29
has some text content in it already. Otherwise, M30 is blank.
The basic IF statement I've written for M30 is =IF(k24="y",D18,""),
but
that only takes care of the first condition. How do I make it test for
the
second condition, that M29 has some text in it?






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
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Easy formula to return a true or false motol Excel Worksheet Functions 1 July 4th 06 03:43 AM
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
How do I return True False SimonP Excel Worksheet Functions 1 January 31st 06 04:12 PM
Macros and Toolbars Bec Excel Discussion (Misc queries) 7 January 23rd 06 02:54 PM


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