Thread: If Question...
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default If Question...

First idea would be to use a PivotTable (Data-PivotTable)
Set it up to display "Styles", "Sizes", and Widths as your rows, (or
columns, arrange to your preference) and quantity as your data.

If you really want a formula, you'll need to tinker with the SUMPRODUCT
formula, e.g.,
=SUMPRODUCT((A1:A100="Alexis")*(E1:E100="N")*(D1:D 100=1.5)*(F1:F100))
Gives you qty of Alexis that is width N and size 1.5
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"JeremyH1982" wrote:

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