Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rajeevprabhuat
 
Posts: n/a
Default Excel If then Else function in Worksheet


Hi,

I am working on a worksheet and i am not able to get the correct
values in the worksheet. The formula that i have give is as follows:

SUM(IF('FIRST'!$E$8:$E$4987="PRODUCT",
IF('FIRST'!$P$8:$P$4987="ANALYSIS",1,0)))

In this Formula, "First" is a work sheet and in the that sheet we
are filtering cells under PRODUCT , and from those PRODUCT cells which
has value ANALYSIS. But the final result that we are getting is not
correct "#Value#'. Can anyone help me in solving this problem.

Regard,
Rajeev Prabhu


--
rajeevprabhuat
------------------------------------------------------------------------
rajeevprabhuat's Profile: http://www.excelforum.com/member.php...o&userid=25380
View this thread: http://www.excelforum.com/showthread...hreadid=388579

  #2   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Enter the formula as an arrayformula. i.e. after entering the formula, press
control shift enter

Mangesh



"rajeevprabhuat"
<rajeevprabhuat.1sgciq_1121836049.5538@excelforu m-nospam.com wrote in
message news:rajeevprabhuat.1sgciq_1121836049.5538@excelfo rum-nospam.com...

Hi,

I am working on a worksheet and i am not able to get the correct
values in the worksheet. The formula that i have give is as follows:

SUM(IF('FIRST'!$E$8:$E$4987="PRODUCT",
IF('FIRST'!$P$8:$P$4987="ANALYSIS",1,0)))

In this Formula, "First" is a work sheet and in the that sheet we
are filtering cells under PRODUCT , and from those PRODUCT cells which
has value ANALYSIS. But the final result that we are getting is not
correct "#Value#'. Can anyone help me in solving this problem.

Regard,
Rajeev Prabhu


--
rajeevprabhuat
------------------------------------------------------------------------
rajeevprabhuat's Profile:

http://www.excelforum.com/member.php...o&userid=25380
View this thread: http://www.excelforum.com/showthread...hreadid=388579



  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this instead:

=SUMPRODUCT(--(FIRST!$E$8:$E$4987="PRODUCT"),--(FIRST!$P$8:$P$4987="ANALYSIS"))

Even better:

A1 = Product
B1 = Analysis

=SUMPRODUCT(--(FIRST!$E$8:$E$4987=A1),--(FIRST!$P$8:$P$4987=B1))

Biff

"rajeevprabhuat"
<rajeevprabhuat.1sgciq_1121836049.5538@excelforu m-nospam.com wrote in
message news:rajeevprabhuat.1sgciq_1121836049.5538@excelfo rum-nospam.com...

Hi,

I am working on a worksheet and i am not able to get the correct
values in the worksheet. The formula that i have give is as follows:

SUM(IF('FIRST'!$E$8:$E$4987="PRODUCT",
IF('FIRST'!$P$8:$P$4987="ANALYSIS",1,0)))

In this Formula, "First" is a work sheet and in the that sheet we
are filtering cells under PRODUCT , and from those PRODUCT cells which
has value ANALYSIS. But the final result that we are getting is not
correct "#Value#'. Can anyone help me in solving this problem.

Regard,
Rajeev Prabhu


--
rajeevprabhuat
------------------------------------------------------------------------
rajeevprabhuat's Profile:
http://www.excelforum.com/member.php...o&userid=25380
View this thread: http://www.excelforum.com/showthread...hreadid=388579



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
CONVERT Function Disappered in Excel Gord Dibben Excel Discussion (Misc queries) 3 April 13th 05 07:59 PM
How can I protect an excel worksheet containing filters? JMcG Excel Discussion (Misc queries) 4 April 13th 05 03:13 PM
Excel shifts to wrong worksheet automatically Tom77 Excel Worksheet Functions 1 February 24th 05 08:10 PM
create menus in excel worksheet Anthony Excel Worksheet Functions 1 February 23rd 05 03:04 PM
Excel: Add "dBm" and "dBW" to CONVERT worksheet function Power u. Sapporo Excel Worksheet Functions 3 December 17th 04 02:33 PM


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