Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Get largest number in a Coumn where cell =?

Posted on 2013-12-12
7
Medium Priority
?
323 Views
Last Modified: 2013-12-13
Hello,

I would like to get the Largest value from column O where the cell = 1.

I have tried =LARGE(Result!'O:O = 1', 1) but it does not work??

Any help would it be great!
0
Comment
Question by:runnerjp2005
[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
7 Comments
 
LVL 11

Expert Comment

by:Angelp1ay
ID: 39714436
Surely the largest value is 1?

Could you perhaps post the Excel so I understand better?
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39714515
It looks like you might need the DMAX function.

=DMAX(Data,Header,Criteria)

Data - Data range to be assessed
Header - Header of column from which you want the result
Criteria - Header and criteria required

Criteria will be in a small range (at least 1 column and 2 rows) of its own with the same header in your case as the column from which you are checking for the number 1 and the value 1 in the cell below it.

Thanks
Rob H
0
 
LVL 81

Accepted Solution

by:
byundt earned 2000 total points
ID: 39715712
I'm guessing that what you want to do is search say column B for cells containing 1. On those rows, look for the largest value in column O. If so, consider an array formula like:
=MAX(IF(B2:B1000=1,O2:O1000,""))

To array-enter the formula:
1.  Click in the formula bar
2.  Hold the Control and Shift keys down
3.  Hit the Enter key, then release all three keys
Excel should respond by putting curly braces { } surrounding the formula. If not (or if you see #VALUE! error value), then repeat steps 1-3.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:runnerjp2005
ID: 39716069
I have tried the above and I still get the #Value! error.... I repeated it a few time so i attached the sheet on here to check i did it right
J.P.B.S.xlsx
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39716077
NO POINTS FOR THIS.

Follow byundt's instructions. In my words

Select the cell
Press F2
Press Shift-Ctrl-Enter
0
 

Author Closing Comment

by:runnerjp2005
ID: 39716274
It worked thank!!!
0
 
LVL 11

Expert Comment

by:Angelp1ay
ID: 39716556
Another excellent learning thread! Also thanks, never knew about array formulas before this :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

604 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