Hi all,
I'm having issues coming up with a formula that gives an approximate match value based on multiple conditions..
My data:
- Column A = Region
- Column D = Brand
- Column F = Size
- Column J = Cost psm
So far, i have this formula that works to give the average cost psm of a project in a certain region.
- B4 contains the region, C7 contains the brand i want and C8 contains the size i want to estimate for
=IFERROR(ROUNDUP(SUMIFS(Table3[COST PSM],Table3[Region],'Formula Testing'!$B$4,Table3[Brand],'Formula Testing'!C$7,Table3[COST PSM],">0")/COUNTIFS(Table3[Region],'Formula Testing'!$B$4,Table3[Brand],'Formula Testing'!C$7,Table3[COST PSM],">0")*'Formula Testing'!C$8,-2),"")
I now need to improve the formula to give me an approximate average cost psm of a certain project in a certain region based on size.
For example,
Brand A in SEA has 10 projects, all with differing sizes - eg 0.2 sqm to 50 sqm, and if i want the average cost psm of a size 7 sqm, in the above equation, i would like for the SUMIFs portion of the equation to return the sum of costs for projects which are the closest to 7sqm.
So in this example, i only want the average cost psm of the 2 red numbers.
Would this be possible?
Any help is appreciated!
Thank you!!
Best,
Abigail
I'm having issues coming up with a formula that gives an approximate match value based on multiple conditions..
My data:
- Column A = Region
- Column D = Brand
- Column F = Size
- Column J = Cost psm
So far, i have this formula that works to give the average cost psm of a project in a certain region.
- B4 contains the region, C7 contains the brand i want and C8 contains the size i want to estimate for
=IFERROR(ROUNDUP(SUMIFS(Table3[COST PSM],Table3[Region],'Formula Testing'!$B$4,Table3[Brand],'Formula Testing'!C$7,Table3[COST PSM],">0")/COUNTIFS(Table3[Region],'Formula Testing'!$B$4,Table3[Brand],'Formula Testing'!C$7,Table3[COST PSM],">0")*'Formula Testing'!C$8,-2),"")
I now need to improve the formula to give me an approximate average cost psm of a certain project in a certain region based on size.
For example,
Brand A in SEA has 10 projects, all with differing sizes - eg 0.2 sqm to 50 sqm, and if i want the average cost psm of a size 7 sqm, in the above equation, i would like for the SUMIFs portion of the equation to return the sum of costs for projects which are the closest to 7sqm.
Would this be possible?
Any help is appreciated!
Thank you!!
Best,
Abigail