Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > General Software


Commercial message

General Software Find places where to download the most recent software or post in the General Software Forum when you have problems installing Windows or Linux, or your favorite software doesn't work ? Then post here ! For all software troubles !



Reply
 
Thread Tools
Old 31-10-2002   #1 (permalink)
CDFreaks Resident
 
Upp3rd0G's Avatar
 
Join Date: Oct 2001
Location: NL
Posts: 2,108
if-then-else construction in Excel formula

if (a1 = 1 && b1 = 2)
{
c1 = 1;
}
elsif (a1 =2 && b1 = 3)
{
c1 = 2:
}

I tried to get the above in an Excel formula for field C1:

=IF((A1=1)*AND(B1=2);1;*OR(IF((A1=2)*AND(B1=3);2;999)))

It doesn't work. Somebody any idea?
__________________
Upp3rd0G is offline   Reply With Quote
Old 31-10-2002   #2 (permalink)
CDFreaks Resident
 
Upp3rd0G's Avatar
 
Join Date: Oct 2001
Location: NL
Posts: 2,108
Problem solved.

=IF(AND(A1=1;B1=2);"1";IF(AND(A1=2;B1=3);"2";IF(AND(A1=3;B1=4);"3";IF(AND(A1=4;B1=5);"4")) ))

Case closed.
__________________
Upp3rd0G is offline   Reply With Quote
Old 31-10-2002   #3 (permalink)
New on Forum
 
Join Date: Oct 2002
Posts: 10
Possible solution

=ALS(EN(A1=1;B1=1);1;ALS(EN(A1=2;B1=3);2))
With English version of Excel:
als = if
en =and


[edit]
This is an English forum, no Dutch allowed!
Edited it for you this time.
[/edit]

Last edited by Da_Taxman; 31-10-2002 at 18:27.
solskjaer is offline   Reply With Quote
Old 31-10-2002   #4 (permalink)
Retired Moderator
 
Join Date: Jun 2002
Location: Deadwood
Posts: 11,449
those parenthesis will get you every time
rdgrimes is offline   Reply With Quote
Old 1 Week Ago   #5 (permalink)
New on Forum
 
Join Date: Jun 2008
Posts: 1
Re: if-then-else construction in Excel formula

i want to construct a formula.

CALCULATE THE TAX BASED ON 0.85% OF CURRENT SALARY IF CURRENT SALARY MORE THAN 25000.

how to construst above formula using IF.
can anyone help me?
zoey90 is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Construction Destruction kalas Copy Protection List 5 23-11-2007 07:30
Stupid construction Bloodstar007 CD Freaks Living Room 1 19-11-2004 10:24
Lite-On -- flimsy construction? BlueWinterWaves LiteOn / PLDS/ Sony Burner 29 05-08-2002 23:08
Serial/Crack ScreenSaver Construction Set aub... Administr8or Dutch: De Woonkamer 4 05-06-2000 18:01


All times are GMT +2. The time now is 21:15.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0