Solved

Conditional Formatting minimum value in Excel

Posted on 2014-03-27
5
283 Views
Last Modified: 2014-03-27
Hello,

I have an excel spreadsheet (attached) which has multiple rows and columns of data.

I need help with the  following :

1) Calcluate the minimum value from each "set" of data. (which I have done already with a formula).

2) Require to apply conditional formatting to the matching minimum value in the table?

3) Specify which SET the date came from.

Any help greatly welcome.
data.xlsx
0
Comment
Question by:forever7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 39959951
For the conditional formatting you can select the whole range F5:AH102 and apply this formula for the minimum "A" value

=AND(F5=$B5,F$4="A")

and exactly the same for "B" except with "B" and C5 in the formula, i.e.

=AND(F5=$C5,F$4="B")

I don't quite get 3) Specify which SET the date came from.

Do you mean data or date? which value "A" or "B" or both?

This formula in D5 copied down will give you the set with the first match for "A"

=IFERROR(INDEX(F$3:AH$3,MATCH(1,INDEX((F5:AH5=B5)*(F$4:AH$4="A"),0),0)),"-")

see attached

regards, barry
min-match.xlsx
0
 

Author Comment

by:forever7
ID: 39960118
Thanks Barry,

The conditional format is exactly what I was looking for.

With regards to (3) - it was data I mean't. I do require to specify the "SET" for both "A" and "B"

However, I have tried to create the minimum set for "B" but it returns 0 when I used it.

I tried this for "B", but did not work.  

=IFERROR(INDEX(F$3:AH$3,MATCH(1,INDEX((F5:AH5=C5)*(F$4:AH$4="A"),0),0)),"-")

Could you advise?

many thanks
0
 

Author Comment

by:forever7
ID: 39960122
sorry should have read...

I tried this for "B", but did not work.  

=IFERROR(INDEX(F$3:AH$3,MATCH(1,INDEX((F5:AH5=C5)*(F$4:AH$4="B"),0),0)),"-")

Could you advise?
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39960157
Because of the merged cells in row 3 you need this version for B to work

=IFERROR(INDEX(E$3:AH$3,MATCH(1,INDEX((F5:AH5=C5)*(F$4:AH$4="B"),0),0)),"-")

regards, barry
0
 

Author Closing Comment

by:forever7
ID: 39960323
That worked well.

Thanks again Barry.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
A WS within a WS 11 40
Excel (XLSM) on iPad 3 33
Resolving #VALUE error in spreadsheet 2 18
Excel Import/Export Named Ranges and Values 4 23
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question