Thread: If Question...
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default If Question...

=SUMPRODUCT(--(D1:D10=1.5),--(E1:E100="M"),F1:F100)
For more details on SUMPRODUCT
Bob Phillips
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
J.E McGimpsey
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"JeremyH1982" wrote in message
...
hey everyone,

I'm in need of a formula, I'm thinking an IF formula...

In Column D i have sizes, such as 1; 1.5; 2; 2.5 etc... in Column E, I
have
Width, N; M; W; XW, and in Column F I have a #, basically quantity sold...

Now it's sorted by Style Name, then by Color, Then by Width, and the Size
is
automatically put together based on #.

What i want to know, How many 1.5 M were sold or how many 2 M or 2 W for
any
given style, which the styles are listed by Name not by Number...

For Example, Rows 1-5 have the Style listed as Alexis, for all 5 rows,
Column D is 1 (correlating that size 1 was sold to 5 customers, 1 row per
customer) in Column E the width is M (again, 5 customers bought size 1 M
style Alexis)

Then in Column F is the pairs they bought. I want that answer to be in 1
column or in 1 place rather than 5 rows...

Is there a better way than the IF statement, and if so, what would the
answer be??

--
Jeremy Himmelreich
Computer IT Manager
http://home.comcast.net/~jeremy1982
http://www.willitshoe.com