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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,091
Messages
6,123,062
Members
449,090
Latest member
fragment

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