IFS returning wrong result

cknnugget

New Member
Joined
Jun 29, 2020
Messages
44
Office Version
  1. 365
Platform
  1. Windows
I have tried both of the following formulas with keeps returning the wrong result. The formula tests column 8 thru 14 against value in C1. If one of the values is > C1 it should return C1 value. If all 7 values are less than C1, then Column 14 value should be returned, else "" leave the cell blank.
When there are no values in columns 8 through 14, it should return a blank cell however the formula returns C1.
Why does it return C1 instead of a blank?
How is it fixed?
=IFS([@8]>$C$1,$C$1,[@9]>$C$1,$C$1,[@10]>$C$1,$C$1,[@11]>$C$1,$C$1,[@12]>$C$1,$C$1,[@13]>$C$1,$C$1,[@14]>$C$1,$C$1,[@14]<$C$1,[@14],[@14]="","")

=IF(OR([@8]>$C$1,[@9]>$C$1,[@10]>$C$1,[@11]>$C$1,[@12]>$C$1,[@13]>$C$1,[@14]>$C$1),$C$1,IF([@14]<$C$1,[@14],""))
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
See if this works
Excel Formula:
=IF(COUNT([[@8]:[@14]])=0,"",IF(COUNTIF([[@8]:[@14]],">"&C1),C1,[@14]))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,095
Messages
6,123,072
Members
449,093
Latest member
ripvw

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