Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Smock
 
Posts: n/a
Default Formula should return a result but doesn't

When I bring up the formula box for the following formula (attempting to sum
up numbers in a different sheet given various conditions) --

=SUM(IF(Sheet1!F2:F1900='1340 - 001'!B8,IF(Sheet1!D2:D1900='1340 -
001'!C8,IF(Sheet1!C2:C1900='1340 - 001'!F8,IF(Sheet1!G2:G1900='1340 -
001'!G6,Sheet1!J2:J1900,0),0),0),0))

it shows 'Formula Result'=69, which is correct, that's what it should be.
But in the cell itself, it will only show 0. I have this problem with most
complex formulas. In a related note, complicated formulas in old
spreadsheets work but if I go in there and say, erase a number and then put
it back, it has the same problem as above. Help!!
  #2   Report Post  
Morrigan
 
Posts: n/a
Default


I think the function that you want is SUMIF(), read up on it.


Smock Wrote:
When I bring up the formula box for the following formula (attempting to
sum
up numbers in a different sheet given various conditions) --

=SUM(IF(Sheet1!F2:F1900='1340 - 001'!B8,IF(Sheet1!D2:D1900='1340 -
001'!C8,IF(Sheet1!C2:C1900='1340 - 001'!F8,IF(Sheet1!G2:G1900='1340 -
001'!G6,Sheet1!J2:J1900,0),0),0),0))

it shows 'Formula Result'=69, which is correct, that's what it should
be.
But in the cell itself, it will only show 0. I have this problem with
most
complex formulas. In a related note, complicated formulas in old
spreadsheets work but if I go in there and say, erase a number and then
put
it back, it has the same problem as above. Help!!



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=469906

  #3   Report Post  
Smock
 
Posts: n/a
Default

With all the conditions that I have set up in this formula, setting it up
this way gives me needed flexibility. This formula would work in an older
version of Excel but not in Excel '03. What is it about Excel '03 that is
giving me these problems?

"Morrigan" wrote:


I think the function that you want is SUMIF(), read up on it.


Smock Wrote:
When I bring up the formula box for the following formula (attempting to
sum
up numbers in a different sheet given various conditions) --

=SUM(IF(Sheet1!F2:F1900='1340 - 001'!B8,IF(Sheet1!D2:D1900='1340 -
001'!C8,IF(Sheet1!C2:C1900='1340 - 001'!F8,IF(Sheet1!G2:G1900='1340 -
001'!G6,Sheet1!J2:J1900,0),0),0),0))

it shows 'Formula Result'=69, which is correct, that's what it should
be.
But in the cell itself, it will only show 0. I have this problem with
most
complex formulas. In a related note, complicated formulas in old
spreadsheets work but if I go in there and say, erase a number and then
put
it back, it has the same problem as above. Help!!



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=469906


  #4   Report Post  
Morrigan
 
Posts: n/a
Default


Is this what you want:

=SUMPRODUCT(--(Sheet1!F2:F1900='1340 -
001'!B8),--(Sheet1!D2:D1900='1340 - 001'!C8),--(Sheet1!C2:C1900='1340 -
001'!F8),--(Sheet1!G2:G1900='1340 - 001'!G6),Sheet1!J2:J1900)


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=469906

  #5   Report Post  
Smock
 
Posts: n/a
Default

Morrigan, thanks for your help, that's exactly what I wanted. Appreciate it.

Smock

"Morrigan" wrote:


Is this what you want:

=SUMPRODUCT(--(Sheet1!F2:F1900='1340 -
001'!B8),--(Sheet1!D2:D1900='1340 - 001'!C8),--(Sheet1!C2:C1900='1340 -
001'!F8),--(Sheet1!G2:G1900='1340 - 001'!G6),Sheet1!J2:J1900)


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=469906


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 to .. sbgvp Excel Discussion (Misc queries) 8 October 4th 05 09:16 PM
excel melissa Excel Worksheet Functions 2 August 19th 05 09:46 PM
Copy Paste of Formula Produces Incorrect Result JLa Excel Discussion (Misc queries) 1 May 17th 05 06:56 PM
Cell shows formula and not the result of the formula. stumpy Excel Worksheet Functions 2 January 14th 05 04:44 PM
Amount or Numbers in Words ron New Users to Excel 6 December 24th 04 07:32 PM


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