Restrict spill result from if formula in 365

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
348
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
hi,

I'm getting spill results on multiple columns from the below formula.

=IF(R2:V2>0,"",O2)

but I don't want spill results, I want results in a single column.

This gave me a #value error.

=IF(@R2:V2>0,"",O2)

How can I sort it out?

SPILL.JPG
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
What exactly are you trying to do?
 
Upvote 0
Hi @Fluff & @JEC I Just want the result in column W, no need result in X, Y, Z & AA column.

X-AA should be blank as a general cell.
 
Upvote 0
I realise that, but what exactly are you trying to do with the formula?
 
Upvote 0
@JEC sorry, it's not giving me the correct result.

@Fluff if range r2:v2 is having a value greater than 0, then w2 should be blank otherwise w2 will have the value of cell o2. That's what I want.
 
Upvote 0
That tells us nothing, Are you trying to find if any cell in the range is > 0, all of them are >0, the sum of them is >0, or something else?
 
Upvote 0
That tells us nothing, Are you trying to find if any cell in the range is > 0, all of them are >0, the sum of them is >0, or something else?
I am trying to find if any cell in the range is >0
 
Upvote 0
In that case you can use Max, as suggested by JEC
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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