#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default conditional if -ajit

I have entered 2 formulae with if function in cell a2 and a3. I want excel to
execute formula in a2 if condition 1 satisfies else execute formula in a1.
can I do so? how?
thanx
ajit
--
Knowldege is Power
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default conditional if -ajit

In A1: =IF(B1=1,"B1 is 1","")
In A2, =IF(B1=2,"B1 is 2","")
best I can do with the limited info you gave
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Ajit Munj" wrote in message
...
I have entered 2 formulae with if function in cell a2 and a3. I want excel
to
execute formula in a2 if condition 1 satisfies else execute formula in a1.
can I do so? how?
thanx
ajit
--
Knowldege is Power



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default conditional if -ajit

sorry, I donot understand.
In cell b2, I have to enter M for male and F for Female
In cell b3, I have entered formula with IF function for income tax
calculation for Male and In cell b4, I have entered formula with IF function
for income tax calculation for Female. Now in cell b5, I want to execute
formula in b3 for male or b4 for female. How can I achieve this? (In b5
=if(b2=M, execute b3 else b4)
--
Knowldege is Power


"Bernard Liengme" wrote:

In A1: =IF(B1=1,"B1 is 1","")
In A2, =IF(B1=2,"B1 is 2","")
best I can do with the limited info you gave
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Ajit Munj" wrote in message
...
I have entered 2 formulae with if function in cell a2 and a3. I want excel
to
execute formula in a2 if condition 1 satisfies else execute formula in a1.
can I do so? how?
thanx
ajit
--
Knowldege is Power




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default conditional if -ajit

Hi Ajit

instead of having your 3 cells with formulas, you could put them in 1:

in B3: =if(B2="M", "yourcalcM", "yourcalcF")

where yourcalcM is your formula in cell b3 now and
yourcalcF is your formula in cell b4.

or else, if you want to keep your B3 and B4, you could do this
in B5: =if(B2="M",B3,B4)

hth Carlo

PS: Your signature has a typo!
it's "Knowledge" not "Knowldege"

On Dec 5, 3:57 pm, Ajit Munj wrote:
sorry, I donot understand.
In cell b2, I have to enter M for male and F for Female
In cell b3, I have entered formula with IF function for income tax
calculation for Male and In cell b4, I have entered formula with IF function
for income tax calculation for Female. Now in cell b5, I want to execute
formula in b3 for male or b4 for female. How can I achieve this? (In b5
=if(b2=M, execute b3 else b4)
--
Knowldege is Power



"Bernard Liengme" wrote:
In A1: =IF(B1=1,"B1 is 1","")
In A2, =IF(B1=2,"B1 is 2","")
best I can do with the limited info you gave
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email


"Ajit Munj" wrote in message
...
I have entered 2 formulae with if function in cell a2 and a3. I want excel
to
execute formula in a2 if condition 1 satisfies else execute formula in a1.
can I do so? how?
thanx
ajit
--
Knowldege is Power- Hide quoted text -


- Show quoted text -


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
2 Conditional formats and insert comment - ajit Ajit Munj Excel Discussion (Misc queries) 7 June 4th 05 05:39 AM
scrolling up & down - ajit Ajit Munj Excel Discussion (Misc queries) 1 June 2nd 05 02:27 PM
count conditional days - ajit Ajit Munj Excel Discussion (Misc queries) 6 March 16th 05 09:09 AM
conditional sum - Ajit Ajit Munj Excel Discussion (Misc queries) 1 March 4th 05 08:19 AM
Calendar - Ajit Ajit Munj Excel Discussion (Misc queries) 2 February 23rd 05 07:17 AM


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