Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 205
Default Putting two formulars together in excel

I need to put two formulars together in a cell in my excel's worksheet. For
example, =IF(A1=0, B1*2,1) and =IF(A1:F1=0,0,1). I need to put these two
formulars together in a cell. What is the exact way I should put them? I
have tried =IF(A1=0,B1*2,1,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Putting two formulars together in excel

hi,
=IF(A1=0,B1*2,IF(A1:F1=0,0,1))

works in xp
regards
FSt1

"Linda" wrote:

I need to put two formulars together in a cell in my excel's worksheet. For
example, =IF(A1=0, B1*2,1) and =IF(A1:F1=0,0,1). I need to put these two
formulars together in a cell. What is the exact way I should put them? I
have tried =IF(A1=0,B1*2,1,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Putting two formulars together in excel

=IF(A1=0, B1*2,IF(A1:F1=0,0,1))

although it is not clear (to me) what the second is doing. Is it just
counting any with a value, if so I would use

=IF(A1=0, B1*2,--(COUNTA(A1:F1)0)


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Linda" wrote in message
...
I need to put two formulars together in a cell in my excel's worksheet.
For
example, =IF(A1=0, B1*2,1) and =IF(A1:F1=0,0,1). I need to put these two
formulars together in a cell. What is the exact way I should put them? I
have tried =IF(A1=0,B1*2,1,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Putting two formulars together in excel

Can describe what you want to do?
The second formula test 6 cells. Do you want to know if ALL of them =0?
How do you want the two formulas to interact?

--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)





"Linda" wrote in message
...
I need to put two formulars together in a cell in my excel's worksheet.
For
example, =IF(A1=0, B1*2,1) and =IF(A1:F1=0,0,1). I need to put these two
formulars together in a cell. What is the exact way I should put them? I
have tried =IF(A1=0,B1*2,1,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda



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
How do I use formulars from another worksheet Excel101 Excel Worksheet Functions 3 December 6th 07 02:15 AM
Need help calculating formulars tmac Excel Worksheet Functions 3 April 27th 06 07:06 PM
formulars jnf Excel Worksheet Functions 3 March 21st 06 11:27 AM
need help with formulars greenfrog Excel Discussion (Misc queries) 2 January 19th 06 07:56 PM
Formulars med211 Excel Worksheet Functions 1 January 25th 05 02:34 PM


All times are GMT +1. The time now is 03:59 PM.

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"