Quartile with if statement

Muhammad Hussaan

New Member
Joined
Dec 13, 2017
Messages
49
Office Version
  1. 2013
Platform
  1. Windows
If i have a column A with data 1, 2, 3....12 (multiple reading of 1, 2, 3 ...12; represents months) and column B having sales volume data in number from 1 to x. I want to find QUARTILE of Column B with condition of Column A. How i can do this? Please help me..
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What do you mean by condition of column A. What is your condition?
 
Upvote 0
Condition means conditional for example if i want to find Quartile of data in column B with conditional 1 in column A.
 
Upvote 0
Something like this perhaps:

=QUARTILE(IF(A1:A12=1,B1:B12),1)

Confirm with CTRL-SHIFT-ENTER rather than just Enter.
 
Upvote 0
=QUARTILE(IF(A1:A12=1,IF(B1:B12<>0,B1:B12)),1)

Confirm with CTRL-SHIFT-ENTER
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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