Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jan
 
Posts: n/a
Default Formual help needed

I'm using Excel 2003.

How would I write a formula to accomplish the following:

If column A = "Me" and
column B does not equal "grapes", "oranges", "apples", "green bean" or
"corn" then
Sum column D.

  #2   Report Post  
dominicb
 
Posts: n/a
Default


Good evening Jan

Hope you're ready for this one! First of all, in testing the formula I
only used the range from row 6 to 12 using column B for the value of
"me" and using column C for the assorted fruit and veg and D for the
values, so you will have to alter your ranges accordingly. Secondly,
this is an array formula, which means you do not press enter to commit
the formula, but ctrl + shift + enter. This will put the formula into
a set of curly braces which are not shown here.

=SUM(IF($B$6:$B$12="me",IF($C$6:$C$12<"apples",IF ($C$6:$C$12<"corn",IF($C$6:$C$12<"grapes",IF($C$ 6:$C$12<"green
bean",IF($C$6:$C$12<"oranges",$D$6:$D$12,0),0),0) ,0),0),0))

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=379860

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
formula needed Darrell New Users to Excel 6 May 5th 05 10:25 PM
MVP...Formula expert needed!!! tkacoo Excel Worksheet Functions 4 April 19th 05 06:44 PM
Major help needed mike_vr Excel Discussion (Misc queries) 6 April 19th 05 12:31 PM
Multipart formula needed Barb Excel Worksheet Functions 2 February 24th 05 01:03 PM
Urgent help needed: IF function Terence Excel Worksheet Functions 3 November 16th 04 02:29 AM


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