• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Bank Statement Formula

sajjjid

Member
I have attached the file.
in sheet1 i have the data.
in sheet2 i just need column B,E,F & G only.
from column E i dont want whatever start with DECS DR/
from column F & G instead of 0.00 it should be blank.
Thanks.
 

Attachments

  • Ques.xlsx
    13.5 KB · Views: 7
Your question clearly says "i dont want whatever start with DECS DR/"?

So change for example
A2: =IF(COUNTIF(Sheet1!$E$1:$E$100,"<>"&"DECS DR/"&"*") < ROWS(D$2:$E2),"",INDEX(Sheet1!$B$1:$B$100,SMALL(IF(LEFT(Sheet1!$E$1:$E$100,8) <>"DECS DR/",ROW( Sheet2!$A$1:$A$100)),ROW(A2))))

to:
=IF(COUNTIF(Sheet1!$E$1:$E$100,"<>"&"DECS"&"*") < ROWS(D$2:$E2),"",INDEX(Sheet1!$B$1:$B$100,SMALL(IF(LEFT(Sheet1!$E$1:$E$100,4) <>"DECS",ROW( Sheet2!$A$1:$A$100)),ROW(A2))))

This is array entered with Ctrl+Shift+Enter
Then copy down

Similar for the other columns
 
Back
Top