View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Please help me with a formula

=IF(AND(A1="",B1=""),"ba",IF(A1<"","a","")&IF(B1< "","b",""))

--
Kind regards,

Niek Otten

"Smeeg" wrote in
message ...

Ooops, I made a mistake in my last rule! sorry...

if anything is in cell A1 AND in cell B1 then show "ab" in cell C1
if anything is in cell A1 and NOT in cell B1 then show "a" in cell C1
if nothing is in cell A1 and IS in cell B1 then show "b" in cell C1
if nothing is in either cell A1 or B1 then show "ba" in cell C1

Whats the formala I need to put in C1 to make the above rules work?

Thankinoo.

AJ


--
Smeeg
------------------------------------------------------------------------
Smeeg's Profile:
http://www.excelforum.com/member.php...o&userid=29099
View this thread: http://www.excelforum.com/showthread...hreadid=488206