Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How do I create a cell formula to achieve this?

How do I create the following to determine the value of Cell C?

IF Cell A = blank then Cell C = "ZZZ"
IF Cell A = non-blank and Cell B = non-blank, then Cell C = Cell B
IF Cell A = non-blank and Cell B = blank, then Cell C = "ZZZ"

Thanks,
Don
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I create a cell formula to achieve this?

On Oct 16, 4:01*am, Don wrote:
How do I create the following to determine the value of Cell C?

* * * *IF Cell A = blank then Cell C = "ZZZ"
* * * *IF Cell A = non-blank and Cell B = non-blank, then Cell C = Cell B
* * * *IF Cell A = non-blank and Cell B = blank, then Cell C = "ZZZ"

Thanks,
Don


Try using this formula given below...paste it in cell C...

For the sake of simplicity, I have used A1,B1,C1....

=IF(ISBLANK(A1),"ZZZ",IF(ISBLANK(B1),"ZZZ",B1))
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default How do I create a cell formula to achieve this?

Hi Don
Try this
=IF(AND(A9="",B9=""),"ZZZ",IF(AND(A90,B90),B9,IF (AND(A90,B9=""),"ZZZ")))
You can change the range to your choice.
HTH
John
"Don" wrote in message
...
How do I create the following to determine the value of Cell C?

IF Cell A = blank then Cell C = "ZZZ"
IF Cell A = non-blank and Cell B = non-blank, then Cell C = Cell B
IF Cell A = non-blank and Cell B = blank, then Cell C = "ZZZ"

Thanks,
Don


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How do I create a cell formula to achieve this?

Thanks much! That worked just great!
--Don


On Thu, 15 Oct 2009 16:41:39 -0700 (PDT), " wrote:

On Oct 16, 4:01*am, Don wrote:
How do I create the following to determine the value of Cell C?

* * * *IF Cell A = blank then Cell C = "ZZZ"
* * * *IF Cell A = non-blank and Cell B = non-blank, then Cell C = Cell B
* * * *IF Cell A = non-blank and Cell B = blank, then Cell C = "ZZZ"

Thanks,
Don


Try using this formula given below...paste it in cell C...

For the sake of simplicity, I have used A1,B1,C1....

=IF(ISBLANK(A1),"ZZZ",IF(ISBLANK(B1),"ZZZ",B1))


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How do I create a cell formula to achieve this?

Thanks, John!
--Don


On Thu, 15 Oct 2009 19:45:15 -0400, "John" wrote:

Hi Don
Try this
=IF(AND(A9="",B9=""),"ZZZ",IF(AND(A90,B90),B9,IF (AND(A90,B9=""),"ZZZ")))
You can change the range to your choice.
HTH
John
"Don" wrote in message
.. .
How do I create the following to determine the value of Cell C?

IF Cell A = blank then Cell C = "ZZZ"
IF Cell A = non-blank and Cell B = non-blank, then Cell C = Cell B
IF Cell A = non-blank and Cell B = blank, then Cell C = "ZZZ"

Thanks,
Don




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How do I create a cell formula to achieve this?

=IF(OR(A1="",B1=""),"ZZZ","whatever your other answer is")
or
=IF(AND(A1<"",B1<""),"whatever your other answer is","ZZZ")
--
David Biddulph

Don wrote:
How do I create the following to determine the value of Cell C?

IF Cell A = blank then Cell C = "ZZZ"
IF Cell A = non-blank and Cell B = non-blank, then Cell C =
Cell B IF Cell A = non-blank and Cell B = blank, then Cell C =
"ZZZ"

Thanks,
Don



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
Increase amount to achieve target pkeegs Excel Worksheet Functions 3 November 6th 07 10:47 PM
How to distribute coins to achieve minimum difference? Eric Excel Discussion (Misc queries) 0 August 29th 07 05:32 AM
need help to achieve this calculation TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 February 23rd 07 01:03 PM
Using a formula across several columns to achieve a list of result G Bonham Excel Discussion (Misc queries) 0 January 11th 07 06:52 PM
Trying to achieve defined format with any Excel Striker475 New Users to Excel 1 November 11th 05 10:57 AM


All times are GMT +1. The time now is 05:15 PM.

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"