Array issue

ddotson

Board Regular
Joined
Nov 9, 2004
Messages
57
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!
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,138
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
Joined
Nov 9, 2004
Messages
57
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...
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,138
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.
 

Forum statistics

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

Some videos you may like

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...
Top