Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Compare A to B to get C ??

Anybody know how I can do the following logic within Excel:

IF A1="CS" and B1=1
THEN C1="X"
ELSE C1=" " (remains blank)

| A | B | C | D |
-----------------------------
|1| CS | 1 | X | |
-----------------------------
|2| CS | 6 | | |
-----------------------------
|3| CS | 1 | X | |
-----------------------------
|4| EA | 1 | | |

Any help is much appreciated !

~ Ralph
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Compare A to B to get C ??

Answered your other post. Please don't post the same question to multiple
groups. In particular, this group has to do with VBA programming; your
question has to do with worksheet formulas.

On Sun, 17 Oct 2004 19:21:10 -0700, R Haney mcse
wrote:

Anybody know how I can do the following logic within Excel:

IF A1="CS" and B1=1
THEN C1="X"
ELSE C1=" " (remains blank)

| A | B | C | D |
-----------------------------
|1| CS | 1 | X | |
-----------------------------
|2| CS | 6 | | |
-----------------------------
|3| CS | 1 | X | |
-----------------------------
|4| EA | 1 | | |

Any help is much appreciated !

~ Ralph


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Compare A to B to get C ??

Thanks a ton. I wasn't sure if this might require some VBA to work...


"Myrna Larson" wrote:

Answered your other post. Please don't post the same question to multiple
groups. In particular, this group has to do with VBA programming; your
question has to do with worksheet formulas.

On Sun, 17 Oct 2004 19:21:10 -0700, R Haney mcse
wrote:

Anybody know how I can do the following logic within Excel:

IF A1="CS" and B1=1
THEN C1="X"
ELSE C1=" " (remains blank)

| A | B | C | D |
-----------------------------
|1| CS | 1 | X | |
-----------------------------
|2| CS | 6 | | |
-----------------------------
|3| CS | 1 | X | |
-----------------------------
|4| EA | 1 | | |

Any help is much appreciated !

~ Ralph



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
Compare and sum LiAD Excel Worksheet Functions 1 September 29th 09 02:34 PM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
Compare.xla Bill Le May Excel Programming 7 August 9th 04 06:41 PM
compare data from one column with another and compare result to yet another Matt Williamson[_3_] Excel Programming 1 September 25th 03 08:54 PM


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