LARGE value if more then one cell have value

Thomas Martin

New Member
Joined
Mar 2, 2018
Messages
14
I have this formula that I need help to modify
=LARGE(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3),1)
I want modify the formula to only function with a result if there more than one value to calculate. If there is only one value the result would be 0 or blank
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Try it like this:

Code:
=IF(SUMPRODUCT(--(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3)<>0))>1,LARGE(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3),1),0)

or

Code:
=IF(SUMPRODUCT(--(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3)<>0))>1,LARGE(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3),1),"")

WBD
 
Upvote 0
Thank you for the response!~ I tried both formulas and they both provided a value even if there was only one cell of the 5 that was populated with a value.
Any additional ideas?
 
Upvote 0
What are the contents of the cells that don't have values? Mine are blank here:


Book1
YZAAABACADAEAFAGAHAIAJAKAL
3512345
402
5663
Sheet1
Cell Formulas
RangeFormula
Y3=IF(SUMPRODUCT(--(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3)<>0))>1,LARGE(CHOOSE({1,2,3,4,5},Z3,AC3,AF3,AI3,AL3),1),0)


WBD
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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