Excel to ignore 2 blanks / Fuse Formula

Beanybala

New Member
Joined
Jan 28, 2016
Messages
31
Hi Guy

I have an array formula which calculate the difference in between several values, usually the max value in a range to take away he minimum value in another rage.

Here are my data samples:
2013 2014 2015 2016 (Expected Results)
323 232 123 234 Show difference of 323 - 123 (Max of 2013 and 204 - Min of 2015 and 2016)
233 - - 232 Show Blank Because 2015 is empty
88 34 Show difference
23 23 978 show differences
22 Show Blank BUT the actual result displayed was 22. So how change my formula so that I can ignore this when there is only 1 result?


My current formula
=IF(2015 Score="", "", MAX(2013:2014)-MIN(2015:2016)))

I understand the use of Countif range is = 1, IF(2015 Score="", "", MAX(2013:2014)-MIN(2015:2016))) .

But how do I fuse these two functions together?

So what I want is, If 2015 is blank, then don't calculate, otherwise, calculate. and IF range counted with 1 value, then Don't calculate, otherwise, calculate.
Feel free to change 2013:2014 into columns.

Please help.
Thank you
 

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,)

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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