A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional text display



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 06:11 PM posted to microsoft.public.excel.misc
kumar kumar
external usenet poster
 
Posts: 1
Default Conditional text display

I need some help doing this. Am using office 2000. I want to display a text based on two conditions.
If A1 = 1 then display B2=(1 - 50) or if A1=2 then display B2=(50 - 100).

Thanks.

EggHeadCafe - Software Developer Portal of Choice
PABZipCode COM Component and Database
http://www.eggheadcafe.com/tutorials...component.aspx
  #2  
Old November 17th, 2009, 06:17 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default Conditional text display

Kind of confusing!

My best guess...

Select cell B2
Enter this formula:

=IF(A1=1,"1 - 50",IF(A1=2,"50 - 100",""))

--
Biff
Microsoft Excel MVP


kumar kumar wrote in message ...
I need some help doing this. Am using office 2000. I want to display a text
based on two conditions.
If A1 = 1 then display B2=(1 - 50) or if A1=2 then display B2=(50 - 100).

Thanks.

EggHeadCafe - Software Developer Portal of Choice
PABZipCode COM Component and Database
http://www.eggheadcafe.com/tutorials...component.aspx



  #3  
Old November 17th, 2009, 06:21 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Conditional text display

=IF(A1=1,"B2=(1-50)",IF(A1=2,"B2=(50-100)","whatever you want to display if
A1 is neither 1 nor 2"))
--
David Biddulph

kumar kumar wrote in message ...
I need some help doing this. Am using office 2000. I want to display a text
based on two conditions.
If A1 = 1 then display B2=(1 - 50) or if A1=2 then display B2=(50 - 100).

Thanks.

EggHeadCafe - Software Developer Portal of Choice
PABZipCode COM Component and Database
http://www.eggheadcafe.com/tutorials...component.aspx



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.