Auto Allocate Account from the Master Sheet

nitkot

New Member
Joined
May 2, 2023
Messages
21
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Hi,
I want to allocate the financial accounts based on the narration string in the Bank statement, I have created one sample excel workbook with two sheets.

There is a "Statement" sheet, which is the snapshot of Bank statement, I want macro or formula to read "Narration" column and pick-up the related accounts from the "Master" sheet and keep in "Account" column of "Statement" sheet.

Can anyone help in this?

Thanks in advance
Nitin Kothari
 

Attachments

  • Master.jpg
    Master.jpg
    84.3 KB · Views: 10
  • Statement.jpg
    Statement.jpg
    154.5 KB · Views: 10

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You can try the below formula :

Excel Formula:
=IFERROR(INDEX(Master!$B$3:$B$7,MATCH(1,COUNTIF(A3,"*"&Master!$A$3:$A$7&"*"),0)),"Not there in list")
 
Upvote 0
You can try the below formula :

Excel Formula:
=IFERROR(INDEX(Master!$B$3:$B$7,MATCH(1,COUNTIF(A3,"*"&Master!$A$3:$A$7&"*"),0)),"Not there in list")
Hi Sanjeev,

Thanks for your response, unfortunately this solution is not working, Check the attached image. I would clarify further that, if any word within Statement-->Narration matches Master-->Keyword, then Master-->Account should be pasted in Statement-->Account.

I am sending the expected result also herewith.

1703739988523.png


1703740106784.png


Expected Results

1703740126890.png




Thanks
Nitin
 
Upvote 0
Hello Nitin,

Can you send a sample file or sample data and then will update the formula and send. For me it is working exactly the way you want.
 
Upvote 0
Hi Sanjeev,

Thanks for your response, I am new to this blog, Can you let me know, How do I send excel sheet in this thread?
 
Upvote 0
I am sorry to drag you in installation of the xl2bb, when I have downloaded and trying to add into excel as add-in, system is giving me an error message, Any solution?

1703743645837.png
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,974
Members
449,095
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top