Return blanks instead of zeros if no data in column (MINIFS formula)

lawi227

Board Regular
Joined
Mar 17, 2016
Messages
123
I currently am using this formula:
=MINIFS(AH$71:AH$120,D$71:D$120,$D$4)

However, if there is no data in cells AH71:AH120, then it returns a zero. I want to formula to return blanks rather than a zero. How can I adjust my formula to do so?

Thanks in advance.
 
UPDATE: I cleared the cells that were supposed to be empty and it removed the zeros. So when I pasted as values, something must have carried over. The formula works again. Thanks!

HI Steve the fish,

I started to populate my table with more data in cells 71:120, and all of the sudden there are 0.00 that started populating. Any way to troubleshoot? I searched the table to see if I accidentally copy and pasted 0.00 into the table but there are none. Any help would be much appreciated!

After doing some more troubleshooting, I realized that the formula may not have actually worked. It was only showing blanks for columns where there was no data. But lets say there is data in H71:H120 but it does not meat the first criteria (where $D$4 is equal to a cell in $D$71:D$120), then it returns 0.00.
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,216,109
Messages
6,128,876
Members
449,476
Latest member
pranjal9

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