Is this possible to make easier with the new "filter" formula? One formula, one cell?

Razzy

Board Regular
Joined
Jul 24, 2020
Messages
106
Office Version
  1. 365
Platform
  1. Windows
Sample.xlsx
ABCDEFGHIJKLM
1QuantityA (m)B (m)Hight (m)Typetestantallsortertsumfiltrertvektet
210,30,23,34R10,00000,533551
3150,30,12,19O120,00000,423111
440,30,153,34F30,01340,013441
550,30,83,34F40,53350,000000
610,30,43,24O250,00000,000000
710,40,73,24F60,42310,000000
810,30,63,34R70,00000,000000
940,30,23,34O380,00000,000000
10Result3
11
12Bucket15
Ark1
Cell Formulas
RangeFormula
H2:H9H2=IF(AND((B2^2+C2^2)^2>0,E2="F"),(B2^2+C2^2)^2,0)
I2:I9I2=IF(H2<>0,A2,0)
J2:J9J2=IFERROR(LARGE($H$2:$H$9,G2),"")
K2:K9K2=SUMIF($H$2:$H$9,J2,$I$2:$I$9)
L2:L9L2=IF(J2<>J1,SUMIF($H$2:$H$9,J2,$I$2:$I$9),0)
M2:M9M2=IFERROR(ROUNDUP(L2/$B$12,0),0)
M10M10=SUM(M2:M9)


Information:
- A, and B represents a square cross section.
- Hight is the hight of the column.
- Type is the type of Column ("R" for Round, "O" for oval, "F" for Square).
- Successfull/unique test is the diameter of the profile (does not matter what order A and B come in). Pytagoras.
- Neglect type R, and O?, just focus on type "F".
- See my solution.



Task:
1. How many unique profiles are there of type F? And how many are these if you count in the bucket/basket of a maximum of 15 pieces?

2. How meny unique profiles are there of type F, with the exact same length? Count in bucket.


Thanks in advance!
 
You do not need to put a formula in each cell in col F, just in F2 & it will spill down.

Maybe something wrong with mine, you can download my workbook here

Sample.xlsx
ABCDEFGH
1QuantityA (m)B (m)Hight (m)TypeKolonne1
210,30,23,34R#OVERFLYT!
3150,30,12,19O1
440,30,153,34F
550,30,83,34F
610,30,43,24O2
710,40,73,24F
810,30,63,34R
940,30,23,34O3
10
11
12Bucket10new0
Ark1
Cell Formulas
RangeFormula
F2F2=(B2:B9^2+C2:C9^2)^2
H12H12=SUM(ROUNDUP(SUMIFS(A2:A9,E2:E9,"F",Tabell1[Kolonne1],UNIQUE(FILTER((B2:B9^2+C2:C9^2)^2,(E2:E9="F"))))/B12,0))
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
That's because it's a table, you cannot use spill formulas in a table.
 
Upvote 0
That's because it's a table, you cannot use spill formulas in a table.


You're right again Fluff! Thx

I will use the evening to work on the second criteria - I must do something myself :geek:
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

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