If 6 purple shirts are for men, how many are medium?

themil

New Member
Joined
Mar 23, 2015
Messages
2
I can't seem to put this question into terms that give me a result on Google; seems like an old common question from primary school!
I'm getting results online that get me half way but I don't know the correct terminology to get me either further or the answer. I've tried AND and OR statements and just get errors on my end.


I have a sheet full of data for t-shirts. Columns are split into 5 for colours, then 1 for gender, and 1 for size eg: purple, blue, green, orange, pink, gender, size.


How can I get a value from this question,


If I have 9 purple shirts: =sum(B2:B28)


6 are for men: =SUMIF(G2:G28,"M",B2:B28)


How many are Medium? How many are Large? Small, etc. etc.


Am I splitting everything correctly for the data? Anything wrong?

Only reason for doing this is because each time I order it's going to double each time and soon will get out of hand.
Screenshot attached.

Screen_Shot_2015_03_24_at_12_10_50_am.png


My brain is mush trying to answer this. Beyond my expertise!

Thank you in advanced.
Michael.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The SUMIFS formula should do the trick.

Purple shirts, Male, Medium would be:

=sumifs(B2:B11,G2:G11,"M",H2:H11, "M")
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top