Normalizing a Worksheet Output

Thomas Scott

New Member
Joined
Nov 7, 2021
Messages
15
Office Version
  1. 2021
Platform
  1. Windows
I am trying to use my formula for normalizing a worksheet (via Min-Max method) such that the user does nothing but fill in a worksheet and the results are in another worksheet. The method is to create 3 worksheets, say A,. B, and C. with the primary data in A, a randomly filled dummy dataset n B, and the formulas copied into all matching cells in C but pointing to B. The user would then simply copy their rows and columns into B, delete the excess rows and columns and see their results in C.

I have successfully used the ranging formula for years BUT I always had the min and max as specific values for each column rather than dynamically in a formula.

The result is obviously wrong in the Sample but if I split the formula into numerator and denominator into separate cells the values are perfect for division to get the right answer. The range is 2 with min of 1 and max of 3 and that does not match the normalized values that should range from 0 to 1 and I cannot see how I could get 2.5.

I do not know enough Excel to see where my mistake is and welcome clarity. Thanks.

Sample.xlsx
AB
1ValuesOutput
2Value13
3Value21
4Value31
5Value43
6Value51
7Value63
8Value72
9Value82
Prime


Sample.xlsx
AB
1ValuesOutputRanged
2Value12.5
3Value20.5
4Value30.5
5Value42.5
6Value50.5
7Value62.5
8Value71.5
9Value81.5
Analysis
Cell Formulas
RangeFormula
B2:B9B2=(Prime!B2-(MIN(Prime!B:B))/(MAX(Prime!B:B)-MIN(Prime!B:B)))
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
You have an extra parenthesis before the first MIN().

Excel Formula:
=(Prime!B2-MIN(Prime!B:B))/(MAX(Prime!B:B)-MIN(Prime!B:B))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,177
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