countifs reading the formula rather than the outcome of the formula

ifu06416

Board Regular
Joined
Sep 5, 2011
Messages
56
Office Version
  1. 365
Hi there,

I have a countifs function in sheet 1 of a workbook.

This countifs function looks up column AH on sheet 2.

Column AH is an if function which returns the name of the person who is working the case reference outlined in col A of sheet 1. If there is no reference in column A of sheet 1 the IF function returns a blank (ie if(A2="","").

The issue i am having is that I need the countif function to count the "" cells in col AH as blank but it reads the formula in the cell and assess it as being not empty.

is there a way around this?

Regards,

John
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Please post your current COUNTIFS function.
 
Upvote 0
use an array formula...

Code:
{=SUM((Sheet2!AH:AH<>"")*([COLOR=#0000ff]another test condition[/COLOR]))}
Ctrl+Shift+Enter will add the {}

edit the columns to include the exact rows to make it more efficient
 
Last edited:
Upvote 0
There are usually simpler/more efficient ways if you were to post your formula as requested. ;)
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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