Blank cells with a max formula

NikkiMc204

New Member
Joined
May 24, 2021
Messages
23
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Hi all,

Once again i'm asking for your help

I have this formula to work out the value difference. =MAX(E4-D4,0)

Column D ActualsColumn E Target Target Not MetTarget Overachieved
1411​
1475​
64​
0​
1790​
1475​
0​
315​
1744​
1475​
0​
269​

My problem is when i have blank data in column d - i get target not met as 1475 - which i don't want as i'm trying to make an excel chart.

How can i get =MAX(E4-D4,0) to ignore blank cells or return a zero figure?

Any advice greatly received.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about
Excel Formula:
=IF(D4="",0,MAX(E4-D4,0))
 
Upvote 0
Solution
that works (y)

Thank you so much, i've been going down all kinds of deadends and i hate to concede with formulas. I knew there's be a simple solution.

Thank you.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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