find maximum value of one column for the non-blank cells in another c

Sumanmathew

Board Regular
Joined
Jan 25, 2021
Messages
65
Office Version
  1. 2021
  2. 2013
Platform
  1. Windows
please help me solve this. I want to find S6 ,T6,U6 etc.

wherever there are non-blank cells in column S, the corresponding values in column O has to be considered.

I want the maximum value to appear in S6.Here in this example 1600 in S6. In T6, the value should be 600.

i have given Data Validation in column O cells, so the values can change.

whenever nonblank cells comes in columns from S to X the max value(from column O) should be displayed in that yellow row.(S6 to X6)
please help me.


3ML_SMDB.xlsm
NOPQRSTUVWXY
5s1s2s3s4s5s6
61600600400
720A1
8600A11
932A4
10100A45422
1132A12
1263A2135
13400A231451
141600A1
15
3ML_SMDB (2)
Cells with Data Validation
CellAllowCriteria
O7:O15List=Data_Val!$A$3:$A$100
 
how about:

Mr Excel Questions 9.xlsm
NOPQRSTUVWXY
1s1s2s3s4s5s6
21600600400
320A1
4600A11
532A4
6100A45422
732A12
863A2135
9400A231451
101600A1
11
12
Sheet3
Cell Formulas
RangeFormula
S2:U2S2=MAX(IFERROR((--(ISBLANK(S3:S11)=FALSE))*(1*LEFT($O$3:$O$11,LEN($O$3:$O$11)-1)),0))
 
Upvote 0
Solution

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
you may have to must press the CNTL-SHFT-ENTER to actuate the array calculation.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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