#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default combining formulas

Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y Sheet'!M34:M42),

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default combining formulas

Try this:

=IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wo rksheet!N355=TRUE,OR(Worksheet!N376={TRUE,FALSE})) ,SUM('Summary
Sheet'!M34:M42),"NO Data")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default combining formulas

Hi,

Maybe:

=IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wo rksheet!N355=TRUE,OR(Worksheet!N376=TRUE,Worksheet !N376=FALSE)),SUM('Summary Sheet'!M34:M42),0)

HTH
Jean-Guy

"egarcia" wrote:

Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y Sheet'!M34:M42),

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default combining formulas

Try it like this:

=IF(AND(N358=TRUE,N360=TRUE,N355=TRUE,N376<"",OR( N376={TRUE,FALSE})),SUM(M34:M42),"")

Biff

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default combining formulas

Try this:

=IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wo rksheet!
N355=TRUE),SUM('Summary Sheet'!M34:M42),"not specified")

It doesn't seem to matter what the value of Worksheet!N376 is. Also,
you have not specified what to do if the AND( ) function returns
FALSE.

Hope this helps.

Pete


On Feb 6, 7:21 pm, egarcia wrote:
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Workshee*t!N376=TRUE),SUM('Summar y Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Workshee*t!N376=FALSE),SUM('Summa ry Sheet'!M34:M42),





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default combining formulas

If N376 is empty it will evaluate to FALSE.

Biff

"T. Valko" wrote in message
...
Try it like this:

=IF(AND(N358=TRUE,N360=TRUE,N355=TRUE,N376<"",OR( N376={TRUE,FALSE})),SUM(M34:M42),"")

Biff

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default combining formulas

hello again Valko,
FOR ME, you are sensitively right.
--
*****
birds of the same feather flock together..



"T. Valko" wrote:

If N376 is empty it will evaluate to FALSE.

Biff

"T. Valko" wrote in message
...
Try it like this:

=IF(AND(N358=TRUE,N360=TRUE,N355=TRUE,N376<"",OR( N376={TRUE,FALSE})),SUM(M34:M42),"")

Biff

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default combining formulas

That's why I included: N376<""

and, at the same time, if N376 = 0 (number)

OR(N376={TRUE,FALSE})

Still evaluates to FALSE,FALSE

In this case the number 0 < FALSE

but an empty cell which evaluates to 0 = FALSE

Biff

"driller" wrote in message
...
hello again Valko,
FOR ME, you are sensitively right.
--
*****
birds of the same feather flock together..



"T. Valko" wrote:

If N376 is empty it will evaluate to FALSE.

Biff

"T. Valko" wrote in message
...
Try it like this:

=IF(AND(N358=TRUE,N360=TRUE,N355=TRUE,N376<"",OR( N376={TRUE,FALSE})),SUM(M34:M42),"")

Biff

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),








  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default combining formulas


surely we cannot disregard the blank cells in this case...
--
*****
birds of the same feather flock together..



"T. Valko" wrote:

That's why I included: N376<""

and, at the same time, if N376 = 0 (number)

OR(N376={TRUE,FALSE})

Still evaluates to FALSE,FALSE

In this case the number 0 < FALSE

but an empty cell which evaluates to 0 = FALSE

Biff

"driller" wrote in message
...
hello again Valko,
FOR ME, you are sensitively right.
--
*****
birds of the same feather flock together..



"T. Valko" wrote:

If N376 is empty it will evaluate to FALSE.

Biff

"T. Valko" wrote in message
...
Try it like this:

=IF(AND(N358=TRUE,N360=TRUE,N355=TRUE,N376<"",OR( N376={TRUE,FALSE})),SUM(M34:M42),"")

Biff

"egarcia" wrote in message
...
Is there a way to combine both these formulas into one.

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=TRUE),SUM('Summary
Sheet'!M34:M42),

IF(AND(Worksheet!N358=TRUE,Worksheet!N360=TRUE,Wor ksheet!N355=TRUE,Worksheet!N376=FALSE),SUM('Summar y
Sheet'!M34:M42),









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
Combining formulas Krista Excel Discussion (Misc queries) 11 June 27th 06 03:13 AM
how can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM
combining countif formulas Liz G Excel Worksheet Functions 3 November 1st 04 09:34 PM


All times are GMT +1. The time now is 09:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"