Formula working wrong, I can't identify why.

rajeshn_in

New member
Joined
Apr 6, 2016
Messages
5
Reaction score
0
Points
0
Hi friends,

I have below excel file, in this file I have USD statement of account table. But cumming all details. Please check and advice me formula changes.

Please check Row 24, 25. I want 24 only, I mention it in formula, but 25th row comming

Thank you friends,
View attachment Book2.xlsx
 
Could you please explain what goes wrong? What are the expected results?
 
Hi friends,


Main thing is If H OR I columns have any values then cell value come, other wise no need. Have some date (B) and company name(C) conditions.

IFERROR(INDEX($A$5:$N$7, SMALL(IF(AND(OR(($I$5:$I$7)<>0, ($H$5:$H$7)<>0), ($B$5:$B$7>=$G$15), ($B$5:$B$7<=$G$16), ($C$5:$C$7=$A$15)), ROW($A$5:$A$7)-ROW($A$5)+1, ROW($A$5:$A$7)-ROW($A$5)+1), ROWS($A$23:$A24)), MATCH(D$19, $A$2:$N$2, 0)), "")
 
Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
 
Please check Row 24, 25. I want 24 only, I mention it in formula, but 25th row comming


I think I spotted the problem. Your formula is extracting the record dated 2/1/2017 from the top table because Cell $I$6 is not blank. It doesn't contain anything you can see, but ISBLANK($I$6)=FALSE? returns TRUE.
If you clear contents for I6 the unwanted row disappears from the bottom table.
 
Back
Top