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

Without Using MID Formula

Madhu

New Member
My problem is this that, my first column contains PAN No's of my Vendors, the second column contains the bill amount. Now I want to deduct TDS @1% in the case of persons(evidenced by the fourth letter of the PAN, which will show "P") and TDS @ 2% for the rest. The obvious option is to use the MID formula and extract the fourth letter of the PAN and then apply IF formula.

But is there a more simpler and neater way?

Just curious....

I've uploaded the file and my way of dealing with it for your reference
 

Attachments

Madhu

Firstly, Welcome to the Chandoo.org Forums

E2: =C2*0.02-(MID(B2,4,1)="p")*C2*0.01
Copy down
does the same in a single pass
Doesn't require Column D
 
Back
Top