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
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
im confused. with your write up. you can't have a value and a formula in cell S6.
 
Upvote 0
im confused. with your write up. you can't have a value and a formula in cell S6.
no Sir, there is no value there(in cells S6 to X6). Only formula. I wrote the values to make it clear as to which values should appear there in those cells.
 
Upvote 0
Let me make it more clear,
In column S7 to S14, there are blank and non blank cells.
the non blank cells are S7,S9,S11,S13,S14.

the corresponsing values for these non blank cells in columns O are
20A,32A,32A,400A,1600A.

The maximum is 1600A .
I want the formula to display that maximum in cell S6.


same with other cells too (T6 to X6)
 
Upvote 0
no Sir, there is no value there(in cells S6 to X6). Only formula. I wrote the values to make it clear as to which values should appear there in those cells.
you wrote this: "wherever there are non-blank cells in column S"
 
Upvote 0
Do you want the column maximum of the cells below row 6?
 
Upvote 0
For column T how do you calculate the 600 is the maximum?
 
Upvote 0
Are you aksing for Largest, 2nd Largest, and 3rd Largest?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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