Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I return different values in single cell?

This is the general idea of what I need to do;

A1 = "A" if B1 0
BUT
A1 = "B" if B1 0, AND B2 = "YES"

Any help please!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default How do I return different values in single cell?

=IF(AND(B10,B2="YES"),"B",IF(B10,"A",""))

If B1 is always 0 then

=IF(AND(B10,B2="YES"),"B,"A")

"Zild" wrote:

This is the general idea of what I need to do;

A1 = "A" if B1 0
BUT
A1 = "B" if B1 0, AND B2 = "YES"

Any help please!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How do I return different values in single cell?

=IF(B10,IF(B2="YES","B","A"),"answer undefined")
--
David Biddulph

"Zild" wrote in message
...
This is the general idea of what I need to do;

A1 = "A" if B1 0
BUT
A1 = "B" if B1 0, AND B2 = "YES"

Any help please!!!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I return different values in single cell?

Thank you very much for your help Toppers, that worked just fine!


"Toppers" wrote:

=IF(AND(B10,B2="YES"),"B",IF(B10,"A",""))

If B1 is always 0 then

=IF(AND(B10,B2="YES"),"B,"A")

"Zild" wrote:

This is the general idea of what I need to do;

A1 = "A" if B1 0
BUT
A1 = "B" if B1 0, AND B2 = "YES"

Any help please!!!

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
Return Unique Consecutive Duplicate Values across Single Row Sam via OfficeKB.com Excel Worksheet Functions 22 February 6th 07 11:44 AM
Return Unique Duplicate Numeric Values across Single Row Sam via OfficeKB.com Excel Worksheet Functions 7 January 21st 07 02:51 AM
Return Numeric Labels that have Values =4 across Single Row Sam via OfficeKB.com Excel Worksheet Functions 3 January 2nd 07 06:12 PM
Search multiple values to return single values JANA Excel Worksheet Functions 8 October 27th 05 04:26 PM
Return Single Instance of Numeric Values from a Column Sam via OfficeKB.com Excel Worksheet Functions 4 August 26th 05 03:10 AM


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