# Array issue

#### ddotson

##### Board Regular
Hello everyone - here is my situation. I have one tab, which is a data dump, a second tab that has static information, as well as a vlookup to the data dump tab, and a third tab I am using for the summary...

I am trying to count the number of time something has been reviewed, which will show up as a date within the vlookup formula, but the cells can not be pasted as values - needs to keep the formula. With that said, I am having trouble counting, as there is always a value in the cell...

Here is my array formula:

=COUNT(IF(A3='NOI Data'!\$B\$6:\$B\$3670,IF('NOI Data'!\$H\$6:\$H\$3670="GNW Direct Serviced Loan",IF('NOI Data'!\$U\$6:\$U\$3670>0,(COUNT('NOI Data'!\$U\$6:\$U\$3670))))))

The Problem is that the U column is the product of the VLOOKUP...any suggestions would be very helpful.

Thanks!

##### MrExcel MVP
Avoid using (non-working) formulas for describing a problem though...

Guessing...

Control+shift+enter, not just enter:
Code:
``````=SUM(
IF('NOI Data'!\$B\$6:\$B\$3670=A3,
IF('NOI Data'!\$H\$6:\$H\$3670="GNW Direct Serviced Loan",
IF(1-ISNA('NOI Data'!\$U\$6:\$U\$3670),
1))))``````
Is this close?

#### ddotson

##### Board Regular
No sir - but thank you....

##### MrExcel MVP
No sir - but thank you....
Care to elaborate? If possible, try to post a tiny sample along with the desired count...

#### ddotson

##### Board Regular
The result of the formula was zero, and I know the result should be 32...

I am sorry - stupid my way - not sure how to paste the page information...

##### MrExcel MVP
The result of the formula was zero, and I know the result should be 32...

I am sorry - stupid my way - not sure how to paste the page information...
Code:
``````=SUM(
IF('NOI Data'!\$B\$6:\$B\$3670=A3,
IF('NOI Data'!\$H\$6:\$H\$3670="GNW Direct Serviced Loan",
IF(1-ISNA('NOI Data'!\$U\$6:\$U\$3670),
1))))``````
The above formulas says:

If a B-cell is equal to A3, and if a H-cell houses a string like GNW Direct Serviced Loan, and if a U-cell does not house any #N/A, count the B/H/U record in, otherwise don't.

1,081,523
Messages
5,359,263
Members
400,523
Latest member
ExcelNewbie98

### This Week's Hot Topics

• VBA (Userform)
Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
• List box that changes fill color
Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
• Remove duplicates and retain one. Cross-linked cases
Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
• VBA Copy and Paste With Duplicates
Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
• Macro
is it possible for a macro to run if the active cell value is different to the value above it
• IF DATE and TIME
I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...